/* ===========================
   Google Font
=========================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');


/* ===========================
   Root Variables
=========================== */

:root {

    --bg: #f5f7fb;

    --surface: #ffffff;

    --primary: #2563eb;

    --primary-hover: #1d4ed8;

    --text: #111827;

    --muted: #6b7280;

    --border: #e5e7eb;

    --shadow: 0 8px 30px rgba(0,0,0,0.06);

    --radius: 16px;

}


/* ===========================
   Reset
=========================== */

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}


body{

    font-family:'Inter',sans-serif;

    background:var(--bg);

    color:var(--text);

    line-height:1.6;

}



/* ===========================
   Container
=========================== */

.container{

    width:min(1100px,92%);

    margin:auto;

    padding:40px 0;

}



/* ===========================
   Navigation
=========================== */

.navbar{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:22px 5%;

    background:var(--surface);

    border-bottom:1px solid var(--border);

    position:sticky;

    top:0;

    z-index:100;

}


.logo{

    display:flex;

    align-items:center;

    gap:10px;

    font-size:22px;

    font-weight:700;

}


nav{

    display:flex;

    gap:30px;

}


nav a{

    text-decoration:none;

    color:var(--muted);

    font-weight:600;

    transition:.25s;

}


nav a:hover{

    color:var(--primary);

}


nav a.active{

    color:var(--primary);

}



/* ===========================
   Hero
=========================== */

.hero{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:35px;

}


.hero h1{

    font-size:2.2rem;

    margin-bottom:10px;

}


.hero p{

    color:var(--muted);

}


.today{

    text-align:right;

}


.today p{

    color:var(--muted);

    margin-bottom:4px;

}



/* ===========================
   Cards
=========================== */

.card{

    background:var(--surface);

    border-radius:var(--radius);

    padding:24px;

    box-shadow:var(--shadow);

}


.card h3{

    margin-bottom:12px;

    color:var(--muted);

    font-size:.95rem;

}


.card h1{

    font-size:2.3rem;

    margin-bottom:8px;

}


.card h2{

    margin-bottom:18px;

}



/* ===========================
   Summary Grid
=========================== */

.summary-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:20px;

    margin-bottom:30px;

}



/* ===========================
   Two Columns
=========================== */

.two-column{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:20px;

    margin-bottom:30px;

}


.two-column ul{

    list-style:none;

}


.two-column li{

    padding:12px 0;

    border-bottom:1px solid var(--border);

}



/* ===========================
   Section Title
=========================== */

.section-title{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:25px;

}


.section-title a{

    color:var(--primary);

    text-decoration:none;

}



/* ===========================
   Empty State
=========================== */

.empty-state{

    text-align:center;

    padding:50px 20px;

}


.empty-state .icon{

    font-size:60px;

    margin-bottom:15px;

}


.empty-state h3{

    margin-bottom:10px;

}


.empty-state p{

    color:var(--muted);

    margin-bottom:25px;

}



/* ===========================
   Button
=========================== */

.button{

    display:inline-block;

    background:var(--primary);

    color:white;

    padding:12px 24px;

    border-radius:10px;

    text-decoration:none;

    font-weight:600;

    transition:.25s;

}


.button:hover{

    background:var(--primary-hover);

}



/* ===========================
   Quick Actions
=========================== */

.quick-actions{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));

    gap:20px;

    margin-top:30px;

}


.action-card{

    background:var(--surface);

    border-radius:var(--radius);

    padding:24px;

    text-decoration:none;

    color:inherit;

    box-shadow:var(--shadow);

    transition:.25s;

}


.action-card:hover{

    transform:translateY(-4px);

}


.action-card h3{

    margin:12px 0;

}


.action-card p{

    color:var(--muted);

}


.emoji{

    font-size:36px;

}


.disabled{

    opacity:.55;

    pointer-events:none;

}



/* ===========================
   Footer
=========================== */

footer{

    text-align:center;

    padding:30px;

    color:var(--muted);

}



/* ===========================
   Responsive
=========================== */

@media(max-width:900px){

    .hero{

        flex-direction:column;

        align-items:flex-start;

        gap:25px;

    }

    .today{

        text-align:left;

    }

    .two-column{

        grid-template-columns:1fr;

    }

}


@media(max-width:700px){

    .navbar{

        flex-direction:column;

        gap:18px;

    }

    nav{

        gap:18px;

        flex-wrap:wrap;

        justify-content:center;

    }

    .hero h1{

        font-size:1.8rem;

    }

}


/* ==========================================================
   Forms
========================================================== */

.form-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

    gap: 24px;

    margin-top: 24px;

}

.form-group {

    display: flex;

    flex-direction: column;

}

.form-group label {

    margin-bottom: 8px;

    font-size: 0.95rem;

    font-weight: 600;

    color: var(--text);

}

.form-group input,
.form-group select,
.form-group textarea {

    width: 100%;

    padding: 14px 16px;

    font-size: 0.95rem;

    font-family: inherit;

    border: 1px solid var(--border);

    border-radius: 10px;

    background: white;

    color: var(--text);

    transition: all .25s ease;

    outline: none;

}

.form-group textarea {

    resize: vertical;

    min-height: 140px;

}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {

    border-color: var(--primary);

    box-shadow: 0 0 0 4px rgba(37,99,235,.10);

}

.form-group input[readonly] {

    background: #f8fafc;

    color: var(--muted);

    font-weight: 600;

}


/* ==========================================================
   Save Button Section
========================================================== */

.save-section {

    margin-top: 32px;

    display: flex;

    justify-content: center;

}

.save-section .button {

    min-width: 220px;

    font-size: 1rem;

}


/* ==========================================================
   Table
========================================================== */

table {

    width: 100%;

    border-collapse: collapse;

    margin-top: 20px;

}

thead {

    background: #f8fafc;

}

th {

    text-align: left;

    padding: 16px;

    font-size: .9rem;

    color: var(--muted);

    border-bottom: 1px solid var(--border);

}

td {

    padding: 16px;

    border-bottom: 1px solid var(--border);

}

tbody tr {

    transition: background .2s;

}

tbody tr:hover {

    background: #f9fafb;

}


/* ==========================================================
   Utilities
========================================================== */

.text-center {

    text-align: center;

}

.mt-1 {

    margin-top: 10px;

}

.mt-2 {

    margin-top: 20px;

}

.mt-3 {

    margin-top: 30px;

}

.mb-1 {

    margin-bottom: 10px;

}

.mb-2 {

    margin-bottom: 20px;

}

.mb-3 {

    margin-bottom: 30px;

}


/* ==========================================================
   Responsive Improvements
========================================================== */

@media (max-width: 768px) {

    .form-grid {

        grid-template-columns: 1fr;

    }

    .save-section .button {

        width: 100%;

    }

}

