
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f2f6fc;
    color: #263445;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.topbar {
    background: linear-gradient(120deg, #123b70, #1769aa);
    color: white;
    padding: 18px 7%;
    box-shadow: 0 3px 12px rgba(0,0,0,0.12);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: white;
    padding: 4px;
    border-radius: 8px;
}

.brand h2 {
    font-size: 21px;
}

.brand small {
    color: #d7e9ff;
    font-size: 12px;
}

.main-container {
    width: 92%;
    max-width: 1100px;
    margin: 45px auto;
    flex: 1;
}

.card {
    background: white;
    max-width: 520px;
    margin: 25px auto;
    padding: 35px;
    border-radius: 14px;
    box-shadow: 0 5px 25px rgba(30, 60, 100, 0.08);
}

.dashboard-card {
    max-width: 850px;
}

h1 {
    color: #123b70;
    font-size: 27px;
    margin-bottom: 10px;
}

.subtitle {
    color: #718096;
    margin-bottom: 25px;
    line-height: 1.5;
}

label {
    display: block;
    font-weight: 600;
    margin: 18px 0 8px;
    color: #34445a;
}

input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d7e0eb;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    background: #fbfdff;
}

input:focus {
    border-color: #1769aa;
    box-shadow: 0 0 0 3px rgba(23,105,170,0.10);
}

input[type="file"] {
    background: #f7faff;
}

.btn {
    display: inline-block;
    border: none;
    padding: 13px 22px;
    border-radius: 8px;
    background: #1769aa;
    color: white;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    margin-top: 22px;
    transition: 0.2s;
}

.btn:hover {
    background: #104d83;
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
}

.btn-green {
    background: #159568;
}

.btn-green:hover {
    background: #107650;
}

.btn-red {
    background: #dc4b50;
}

.btn-red:hover {
    background: #b93238;
}

.info-box {
    background: #eef6ff;
    border-left: 4px solid #1769aa;
    padding: 18px;
    border-radius: 7px;
    margin-top: 20px;
    line-height: 1.8;
}

.info-box strong {
    color: #123b70;
}

.action-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.alert {
    background: #fff3cd;
    color: #775600;
    border: 1px solid #ffe69c;
    padding: 13px 16px;
    border-radius: 8px;
    margin-bottom: 18px;
}

.footer {
    text-align: center;
    padding: 20px;
    color: #8492a6;
    font-size: 13px;
}

@media (max-width: 600px) {
    .topbar {
        padding: 15px 5%;
    }

    .main-container {
        margin: 25px auto;
    }

    .card {
        padding: 25px 20px;
    }

    h1 {
        font-size: 23px;
    }

    .action-links {
        flex-direction: column;
    }

    .action-links .btn {
        text-align: center;
        margin-top: 5px;
    }
}


/* Important Documents */

.document-list {
    margin-top: 20px;
}

.document-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid #e1e8f0;
    border-radius: 9px;
    margin-bottom: 12px;
    background: #fbfdff;
}

.document-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.document-info strong {
    display: block;
    overflow-wrap: anywhere;
}

.document-info small {
    display: block;
    color: #8492a6;
    margin-top: 5px;
}

.pdf-icon {
    background: #fff0f0;
    color: #d83c3c;
    font-weight: bold;
    padding: 10px;
    border-radius: 7px;
}

.document-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.document-actions .btn {
    margin-top: 0;
    padding: 9px 13px;
    font-size: 13px;
}

.btn-view {
    background: #e8f2ff;
    color: #1769aa;
}

.btn-view:hover {
    background: #d4e7ff;
}

@media (max-width: 600px) {
    .document-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .document-actions {
        width: 100%;
    }

    .document-actions .btn {
        flex: 1;
        text-align: center;
    }
}
