body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #8faadc, #bcd0ec);
    font-family: 'Segoe UI', Tahoma, sans-serif;
    color: #111827;
}

/* ---------- common ---------- */
.text-center {
    text-align: center;
}

.alert {
    color: #d11a2a;
    margin-bottom: 12px;
    text-align: center;
    font-size: 14px;
}

.success-msg {
    color: green;
    margin-bottom: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

/* ---------- login page ---------- */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 360px;
    background: #fff;
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.header-box {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    height: 60px;
    margin-bottom: 10px;
}

.panel-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #0d1b3d;
}

.login-text {
    font-size: 15px;
    color: #666;
    margin: 0 0 20px 0;
}

.input-group {
    margin-bottom: 18px;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #111;
}

.login-card input {
    width: 100%;
    height: 46px;
    border-radius: 12px;
    border: 1px solid #cfd8e3;
    padding: 10px 14px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
}

.login-card input:focus {
    border-color: #9dc94d;
    box-shadow: 0 0 0 3px rgba(167, 227, 79, 0.18);
}

.login-card button {
    width: 100%;
    height: 46px;
    background: #a7e34f;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s ease;
}

.login-card button:hover {
    background: #96d63e;
}

.footer-text {
    margin-top: 18px;
    font-size: 13px;
    color: #6b7b93;
    font-weight: 600;
    text-align: left;
}

/* ---------- dashboard ---------- */
.dashboard-page {
    min-height: 100vh;
    padding: 40px 20px;
    background: linear-gradient(135deg, #8faadc, #bcd0ec);
}

.dashboard-card {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.dashboard-logo {
    height: 55px;
    margin-bottom: 10px;
}

.dashboard-title {
    margin: 0;
    font-size: 28px;
    color: #0d1b3d;
    font-weight: 700;
}

.dashboard-subtitle {
    margin-top: 6px;
    color: #6b7280;
    font-size: 15px;
}

.logout-btn {
    display: inline-block;
    text-decoration: none;
    background: #ff5c5c;
    color: #fff;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.2s ease;
}

.logout-btn:hover {
    background: #e24a4a;
}

.dashboard-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.dashboard-box {
    display: block;
    text-decoration: none;
    background: #f8fbff;
    border: 1px solid #dbe5f1;
    border-radius: 18px;
    padding: 25px;
    transition: 0.3s ease;
    color: #111827;
}

.dashboard-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.dashboard-box h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #0d1b3d;
    font-size: 20px;
}

.dashboard-box p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

/* ---------- common data page ---------- */
.data-page {
    min-height: 100vh;
    padding: 40px 20px;
    background: linear-gradient(135deg, #8faadc, #bcd0ec);
}

.data-card {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.page-title {
    margin: 0 0 20px 0;
    font-size: 28px;
    color: #0d1b3d;
    font-weight: 700;
}

.filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
    align-items: end;
}

.filter-form input,
.filter-form select {
    width: 100%;
    height: 46px;
    border-radius: 12px;
    border: 1px solid #cfd8e3;
    padding: 10px 14px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
}

.filter-form input:focus,
.filter-form select:focus {
    border-color: #9dc94d;
    box-shadow: 0 0 0 3px rgba(167, 227, 79, 0.18);
}

.filter-btn {
    height: 46px;
    background: #a7e34f;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s ease;
}

.filter-btn:hover {
    background: #96d63e;
}

.table-wrap {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    min-width: 700px;
}

.data-table th {
    background: #eef4fb;
    color: #0d1b3d;
    font-weight: 700;
    text-align: left;
    padding: 14px;
    border-bottom: 1px solid #dbe5f1;
}

.data-table td {
    padding: 14px;
    border-bottom: 1px solid #edf2f7;
    color: #374151;
    font-size: 14px;
}

.data-table tr:hover {
    background: #f9fbfd;
}

/* ---------- upload page ---------- */
.upload-page {
    min-height: 100vh;
    padding: 40px 20px;
    background: linear-gradient(135deg, #8faadc, #bcd0ec);
}

.upload-card {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.upload-card h2 {
    margin: 0 0 20px 0;
    font-size: 28px;
    color: #0d1b3d;
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.upload-form input[type="file"],
.upload-form input[type="date"] {
    width: 100%;
    height: 46px;
    padding: 10px 14px;
    border: 1px solid #cfd8e3;
    border-radius: 12px;
    background: #f8fbff;
    box-sizing: border-box;
}

.upload-form button {
    height: 46px;
    background: #a7e34f;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s ease;
}

.upload-form button:hover {
    background: #96d63e;
}

.back-btn {
    display: inline-block;
    text-decoration: none;
    background: #0d1b3d;
    color: #fff;
    padding: 11px 18px;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.2s ease;
}

.back-btn:hover {
    background: #162a59;
}

/* =========================
   MNC USER VIEW STYLE
========================= */

.mnc-page {
    min-height: 100vh;
    padding: 32px 20px 50px;
    background: linear-gradient(135deg, #8faadc, #bcd0ec);
}

.mnc-topbar {
    max-width: 1280px;
    margin: 0 auto 24px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 22px 28px;
    box-shadow: 0 14px 35px rgba(13, 27, 61, 0.10);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.mnc-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.mnc-brand > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mnc-logo {
    height: 56px;
    width: auto;
    display: block;
}

.mnc-title {
    margin: 0;
    font-size: 30px;
    line-height: 1.15;
    color: #0d1b3d;
    font-weight: 700;
}

.mnc-subtitle {
    margin: 4px 0 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.4;
}

.mnc-top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.mnc-card {
    max-width: 1280px;
    margin: 0 auto 24px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 14px 35px rgba(13, 27, 61, 0.10);
}

.table-card {
    padding-top: 22px;
}

.mnc-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.section-title {
    margin: 0;
    font-size: 24px;
    color: #0d1b3d;
    font-weight: 700;
}

.section-subtitle {
    margin: 6px 0 0;
    color: #667085;
    font-size: 14px;
}

.mnc-filter-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 16px;
    align-items: end;
}

.mnc-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mnc-field label {
    font-size: 14px;
    font-weight: 600;
    color: #344054;
}

.mnc-field input,
.mnc-field select {
    width: 100%;
    height: 48px;
    border: 1px solid #d8e0eb;
    border-radius: 14px;
    background: #fff;
    padding: 0 14px;
    font-size: 14px;
    color: #101828;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.mnc-field input:focus,
.mnc-field select:focus {
    border-color: #0d1b3d;
    box-shadow: 0 0 0 3px rgba(13, 27, 61, 0.08);
}

.mnc-filter-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.mnc-primary-btn,
.mnc-secondary-btn,
.mnc-outline-btn {
    height: 48px;
    padding: 0 22px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: all 0.2s ease;
    cursor: pointer;
}

.mnc-primary-btn {
    border: none;
    background: #0d1b3d;
    color: #fff;
    min-width: 120px;
}

.mnc-primary-btn:hover {
    background: #162a59;
}

.mnc-secondary-btn {
    border: 1px solid #d0d7e2;
    background: #f8fbff;
    color: #0d1b3d;
    min-width: 120px;
}

.mnc-secondary-btn:hover {
    background: #eef4fb;
}

.mnc-outline-btn {
    border: 1px solid #d0d7e2;
    background: #fff;
    color: #0d1b3d;
    min-width: 100px;
}

.mnc-outline-btn:hover {
    background: #f8fbff;
}

.mnc-table-wrap {
    overflow-x: auto;
    border: 1px solid #e4eaf2;
    border-radius: 16px;
}

.mnc-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    background: #fff;
}

.mnc-table thead th {
    background: #eef4fb;
    color: #0d1b3d;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    padding: 16px 18px;
    border-bottom: 1px solid #dce5ef;
    white-space: nowrap;
}

.mnc-table tbody td {
    padding: 16px 18px;
    font-size: 14px;
    color: #344054;
    border-bottom: 1px solid #edf2f7;
    vertical-align: top;
}

.mnc-table tbody tr:nth-child(even) {
    background: #fbfdff;
}

.mnc-table tbody tr:hover {
    background: #f3f8ff;
}

.mnc-empty {
    text-align: center;
    padding: 34px 16px;
}

.mnc-empty-icon {
    font-size: 30px;
    margin-bottom: 8px;
}

.mnc-empty-title {
    font-size: 18px;
    font-weight: 700;
    color: #0d1b3d;
    margin-bottom: 6px;
}

.mnc-empty-text {
    font-size: 14px;
    color: #667085;
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
    .mnc-filter-form {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .login-card,
    .dashboard-card,
    .data-card,
    .upload-card {
        padding: 22px;
        border-radius: 18px;
    }

    .dashboard-title,
    .page-title,
    .upload-card h2 {
        font-size: 24px;
    }

    .panel-title {
        font-size: 18px;
    }

    .mnc-page {
        padding: 20px 14px 36px;
    }

    .mnc-topbar,
    .mnc-card {
        padding: 20px;
        border-radius: 16px;
    }

    .mnc-topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .mnc-brand {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .mnc-brand > div {
        align-items: center;
    }

    .mnc-logo {
        height: 48px;
    }

    .mnc-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 20px;
    }

    .mnc-top-actions {
        width: 100%;
        justify-content: center;
    }

    .mnc-outline-btn {
        width: 100%;
    }

    .mnc-filter-form {
        grid-template-columns: 1fr;
    }

    .mnc-filter-actions {
        width: 100%;
        flex-direction: column;
    }

    .mnc-primary-btn,
    .mnc-secondary-btn {
        width: 100%;
    }
}/* =========================
   MNC ADMIN DASHBOARD STYLE
========================= */

.logout-outline {
    border: 1px solid #ffd2d2;
    color: #c62828;
    background: #fff6f6;
}

.logout-outline:hover {
    background: #ffe9e9;
}

/* summary cards */
.admin-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    gap: 18px;
}

.admin-summary-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dbe5f1;
    border-radius: 18px;
    padding: 22px;
    display: flex;
    gap: 16px;
    transition: 0.25s ease;
}

.admin-summary-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(13, 27, 61, 0.08);
}

.summary-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #eef4fb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.summary-content h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #0d1b3d;
}

.summary-content p {
    margin: 0 0 16px;
    color: #667085;
    font-size: 14px;
    line-height: 1.6;
}

.summary-btn {
    min-width: 140px;
}

/* action cards */
.dashboard-action-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 18px;
}

.dashboard-action-card {
    display: block;
    text-decoration: none;
    background: #f8fbff;
    border: 1px solid #dbe5f1;
    border-radius: 18px;
    padding: 22px;
    transition: 0.25s ease;
    color: #111827;
}

.dashboard-action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(13, 27, 61, 0.08);
    background: #ffffff;
}

.dashboard-action-title {
    font-size: 18px;
    font-weight: 700;
    color: #0d1b3d;
    margin-bottom: 10px;
}

.dashboard-action-text {
    color: #667085;
    font-size: 14px;
    line-height: 1.6;
}

/* logout card highlight */
.danger-card {
    border-color: #ffd7d7;
    background: #fff8f8;
}

.danger-card .dashboard-action-title {
    color: #c62828;
}

/* responsive */
@media (max-width: 1100px) {
    .admin-summary-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-action-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .admin-summary-card {
        flex-direction: column;
    }

    .summary-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .dashboard-action-grid {
        grid-template-columns: 1fr;
    }

    .summary-btn {
        width: 100%;
    }
}