* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #f4f7fb;

    color: #1f2937;
}


/* ==================================================
   LOGIN
================================================== */

.login-page {

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;
}


.login-card {

    width: 100%;

    max-width: 420px;

    background: white;

    padding: 40px;

    border-radius: 18px;

    box-shadow:
        0 15px 40px
        rgba(0, 0, 0, 0.08);

    text-align: center;
}


.login-logo {

    font-size: 55px;

    margin-bottom: 15px;
}


.login-card h1 {

    font-size: 27px;

    margin-bottom: 10px;
}


.login-subtitle {

    color: #6b7280;

    font-size: 14px;

    line-height: 1.6;

    margin-bottom: 30px;
}


/* ==================================================
   FORM
================================================== */

.form-group {

    text-align: left;

    margin-bottom: 20px;
}


.form-group label {

    display: block;

    margin-bottom: 8px;

    font-weight: 600;

    font-size: 14px;
}


.form-group input {

    width: 100%;

    padding: 13px 14px;

    border: 1px solid #d1d5db;

    border-radius: 9px;

    font-size: 15px;

    outline: none;

    transition: 0.2s;
}


.form-group input:focus {

    border-color: #2563eb;

    box-shadow:
        0 0 0 3px
        rgba(37, 99, 235, 0.1);
}


/* ==================================================
   BUTTON
================================================== */

.btn-primary {

    width: 100%;

    border: none;

    background: #2563eb;

    color: white;

    padding: 14px;

    border-radius: 9px;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.2s;
}


.btn-primary:hover {

    background: #1d4ed8;
}


/* ==================================================
   ALERT
================================================== */

.alert {

    background: #fee2e2;

    color: #991b1b;

    border: 1px solid #fecaca;

    padding: 12px;

    border-radius: 8px;

    margin-bottom: 20px;

    font-size: 14px;

    text-align: left;
}


/* ==================================================
   NAVBAR
================================================== */

.navbar {

    background: white;

    border-bottom: 1px solid #e5e7eb;

    padding: 16px 40px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.brand {

    font-size: 20px;

    font-weight: bold;
}


.user-area {

    display: flex;

    align-items: center;

    gap: 20px;
}


.user-name {

    text-align: right;

    font-weight: 600;
}


.user-name small {

    display: block;

    font-size: 11px;

    color: #6b7280;

    margin-top: 3px;
}


.logout {

    text-decoration: none;

    color: #dc2626;

    font-size: 14px;

    font-weight: bold;
}


/* ==================================================
   CONTAINER
================================================== */

.container {

    max-width: 1100px;

    margin: auto;

    padding: 50px 25px;
}


/* ==================================================
   WELCOME
================================================== */

.welcome {

    margin-bottom: 35px;
}


.welcome h1 {

    font-size: 30px;

    margin-bottom: 10px;
}


.welcome p {

    color: #6b7280;
}


/* ==================================================
   DOCUMENT
================================================== */

.document-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}


.document-card {

    background: white;

    padding: 35px 25px;

    border-radius: 16px;

    text-align: center;

    box-shadow:
        0 8px 25px
        rgba(0, 0, 0, 0.05);

    transition:
        transform 0.2s,
        box-shadow 0.2s;
}


.document-card:hover {

    transform: translateY(-4px);

    box-shadow:
        0 15px 30px
        rgba(0, 0, 0, 0.08);
}


.document-icon {

    font-size: 55px;

    margin-bottom: 18px;
}


.document-card h2 {

    font-size: 20px;

    margin-bottom: 10px;
}


.document-card p {

    color: #6b7280;

    font-size: 14px;

    margin-bottom: 25px;
}


.btn-download {

    display: inline-block;

    text-decoration: none;

    background: #16a34a;

    color: white;

    padding: 11px 20px;

    border-radius: 8px;

    font-size: 14px;

    font-weight: bold;

    transition: 0.2s;
}


.btn-download:hover {

    background: #15803d;
}


.btn-disabled {

    border: none;

    background: #e5e7eb;

    color: #9ca3af;

    padding: 11px 20px;

    border-radius: 8px;

    font-size: 14px;
}

/* ==================================================
   FOOTER
================================================== */

.footer {
    margin-top: 50px;
    padding: 25px 20px;
    text-align: center;
    background: white;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 13px;
}

.footer p {
    margin: 0;
}


/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 800px) {

    .document-grid {

        grid-template-columns: 1fr;

    }

}


@media (max-width: 600px) {

    .navbar {

        padding: 15px 20px;

        flex-direction: column;

        gap: 15px;

    }


    .user-area {

        width: 100%;

        justify-content: space-between;

    }


    .user-name {

        text-align: left;

    }


    .container {

        padding: 30px 15px;

    }


    .welcome h1 {

        font-size: 24px;

    }


    .login-card {

        padding: 30px 22px;

    }

}