body{
    font-family: ui-sans-serif, system-ui;
    background: white;
    color: black;
    margin: 0px;

}


/* ------------------ */
/* Navbar part */
/* ------------------ */
.navbar{
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    border-bottom: 1px solid rgba(196, 190, 190, 0.442);
}

.nav-left{
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-right{
    display: flex;
    align-items: center;
    gap: 18px;
}

.logo{
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 20px;
    color: #fff;
    background: #2563eb; 
}

.brand{
    font-size: 20px;
    font-weight: 700;
}

/* Nav center links */
.nav-center{
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link{
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.nav-link:hover{
    color: #111827;
    background: #f1f5f9;
}

.nav-active{
    color: #111827;
    background: #f1f5f9;
    font-weight: 600;
}

/* Nav user info */
.nav-user{
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-avatar{
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e0e7ff;
    color: #3730a3;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 14px;
}

.nav-user-info{
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-user-name{
    font-size: 13px;
    font-weight: 600;
    color: #111827;
}

.nav-user-role{
    font-size: 11px;
    color: #64748b;
}

.Mbtn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 20px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.5s ease;
}

.Mbtn-white{
    background: white;   
    color: #111827;
}

.Mbtn-white:hover{
    background: #e5e7eb;
}


.Mbtn-black{
    background: #0f172a;
    color: white;
}

.Mbtn-black:hover{
    background: #1e293b;
}

.Mbtn-blue{
    background:white;
    border: 2px solid #1a5cff;
    color:#1a5cff;
    transition: border 0.5s ease;
}

.Mbtn-blue:hover{
    background: #e5e7eb;
}

/* ------------------ */
/* Footer part */
/* ------------------ */
.footer{
    background: #0b1a2e;
    color: white;
    padding: 70px 0 30px;
    margin-top: 100px;
}

.footer-container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid{
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-logo{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-desc{
    max-width: 260px;
    line-height: 1.6;
    font-size: 15px;
}


/* Footer Columns */
.footer-col h4{
    color: white;
    margin-bottom: 16px;
    font-size: 16px;
}

.footer-col a{
    display: block;
    margin-bottom: 12px;
    color: #cbd5e1;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col a:hover{
    color: white;
}

/* Copyright */
.footer-copyright{
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid rgb(255, 255, 255);
    text-align: center;
    font-size: 14px;
    color: #94a3b8;
}

/* Navbar Mobile */
@media (max-width: 768px) {
    .navbar {
        height: auto;
        flex-wrap: wrap;
        padding: 12px 16px;
        gap: 8px;
    }

    .nav-center {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 4px;
    }

    .nav-right {
        gap: 10px;
    }

    .nav-link {
        font-size: 13px;
        padding: 6px 12px;
    }

    .nav-user-info {
        display: none;
    }

    .Mbtn {
        height: 36px;
        padding: 0 14px;
        font-size: 13px;
        border-radius: 10px;
    }
}

@media (max-width: 600px) {
    .footer{
        padding: 50px 0 24px;
        margin-top: 60px;
    }

    .footer-container{
        padding: 0 16px;
    }

    .footer-grid{
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-desc{
        max-width: 100%;
        font-size: 14px;
    }

    .footer-col h4{
        margin-bottom: 12px;
        font-size: 15px;
    }

    .footer-col a{
        margin-bottom: 10px;
        font-size: 14px;
    }

    .footer-copyright{
        margin-top: 36px;
        padding-top: 18px;
        font-size: 13px;
    }
}