﻿:root {
    --green: #0753A6;
    --emerald: #18A9E0;
    --blue: #0753A6;
    --gold: #E5A900;
    --background: #f3f7fc;
    --text: #24364b;
    --muted: #718096;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--background);
    color: var(--text);
}

.header {
    background: var(--green);
    color: white;
    padding: 17px 24px;
}

.header-content {
    max-width: 1050px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.brand-icon {
    width: 43px;
    height: 43px;
    border: 2px solid var(--gold);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: bold;
    color: var(--gold);
}

.brand strong,
.brand span {
    display: block;
}

.brand span {
    font-size: 11px;
    margin-top: 4px;
    opacity: .8;
}

.header-label {
    font-size: 11px;
    letter-spacing: 1px;
}

.container {
    max-width: 850px;
    margin: 35px auto;
    padding: 0 18px;
}

.hero {
    background: linear-gradient(135deg, #0753A6 0%, #1685D1 55%, #18A9E0 100%);
    color: white;
    border-radius: 18px;
    padding: 36px;
    margin-bottom: 24px;
    box-shadow: 0 12px 30px rgba(7,83,166,.15);
}

.hero-tag {
    color: #f8d66d;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1.4px;
}

.hero h1 {
    font-size: 32px;
    margin: 15px 0 8px;
}

.hero p {
    line-height: 1.6;
    margin: 0;
}

.hero-line {
    width: 65px;
    height: 4px;
    background: var(--gold);
    margin: 22px 0;
    border-radius: 10px;
}

.hero-description {
    max-width: 570px;
    opacity: .9;
    font-size: 14px;
}

.card {
    background: white;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,.045);
}

.section-heading {
    display: flex;
    gap: 13px;
    align-items: center;
    margin-bottom: 24px;
}

.step {
    background: #e6f3eb;
    color: var(--green);
    border-radius: 10px;
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    font-weight: bold;
}

.section-heading h2 {
    margin: 0 0 5px;
    font-size: 19px;
}

.section-heading p {
    color: var(--muted);
    font-size: 13px;
    margin: 0;
}

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

.form-group label,
.amount-input > label {
    display: block;
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 9px;
}

.input-row {
    display: flex;
    gap: 10px;
}

input[type="text"],
input[type="number"] {
    width: 100%;
    min-width: 0;
    border: 1px solid #dce5df;
    border-radius: 9px;
    padding: 13px;
    font-size: 15px;
    outline: none;
}

input:focus {
    border-color: var(--emerald);
    box-shadow: 0 0 0 3px rgba(21,148,71,.1);
}

button {
    cursor: pointer;
    border: 0;
    border-radius: 9px;
    font-weight: bold;
}

#searchBtn {
    background: var(--green);
    color: white;
    padding: 0 25px;
}

.form-group small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-top: 9px;
}

.employee-result {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border-radius: 12px;
    background: #eff8f2;
    border: 1px solid #cce8d4;
}

.employee-avatar {
    font-size: 25px;
    background: white;
    padding: 12px;
    border-radius: 50%;
}

.employee-result h3 {
    margin: 6px 0;
    font-size: 17px;
}

.employee-result p {
    font-size: 12px;
    color: #65766b;
    margin: 4px 0;
}

.result-label {
    font-size: 10px;
    color: var(--green);
    font-weight: bold;
    letter-spacing: 1px;
}

.verified {
    margin-left: auto;
    color: var(--emerald);
    font-size: 11px;
    font-weight: bold;
}

.message {
    padding: 12px;
    margin-top: 12px;
    border-radius: 8px;
    font-size: 13px;
}

.message.error {
    color: #a12c2c;
    background: #fff0f0;
}

.message.success {
    color: var(--green);
    background: #eaf7ee;
}

.hidden {
    display: none !important;
}

.divider {
    height: 1px;
    background: #edf0ed;
    margin: 27px 0;
}

.saving-option {
    border: 1px solid #e1eae4;
    padding: 20px;
    border-radius: 13px;
    margin-bottom: 16px;
}

.option-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 17px;
}

.option-icon {
    width: 42px;
    height: 42px;
    background: #edf7f0;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-size: 20px;
}

.option-title h3 {
    margin: 0 0 5px;
    font-size: 15px;
}

.option-title p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.switch-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
}

.switch-label input,
.source-list input,
.consent-label input {
    accent-color: var(--green);
    width: 17px;
    height: 17px;
}

.amount-input {
    margin-top: 19px;
}

.amount-input input[type="number"] {
    margin-top: 8px;
}

.source-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 12px 0 20px;
}

.source-list label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.summary {
    background: #f0f7f2;
    padding: 19px;
    border-radius: 12px;
    text-align: center;
    margin-top: 20px;
}

.summary span,
.summary strong,
.summary small {
    display: block;
}

.summary span {
    font-size: 12px;
    color: var(--muted);
}

.summary strong {
    font-size: 25px;
    color: var(--green);
    margin: 9px;
}

.summary small {
    font-size: 11px;
    color: var(--muted);
}

.policy-button {
    width: 100%;
    padding: 14px;
    background: #eef4fa;
    color: var(--blue);
    margin-bottom: 15px;
    text-align: left;
}

.consent-box {
    padding: 17px;
    background: #fffbec;
    border: 1px solid #f1e5b7;
    border-radius: 11px;
}

.consent-label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 12px;
    line-height: 1.8;
    cursor: pointer;
}

.consent-label input {
    flex-shrink: 0;
    margin-top: 4px;
}

.notice {
    margin: 18px 0;
    background: #eef4fa;
    padding: 15px;
    border-left: 4px solid var(--blue);
    font-size: 12px;
    line-height: 1.7;
}

.submit-button {
    width: 100%;
    padding: 16px;
    color: white;
    background: var(--green);
    font-size: 14px;
}

.submit-button:disabled {
    background: #aab9b0;
    cursor: not-allowed;
}

.footer-note {
    text-align: center;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

footer {
    text-align: center;
    padding: 35px 10px;
    color: var(--green);
}

footer p {
    font-size: 12px;
    margin: 5px;
}

footer small {
    color: var(--muted);
    font-size: 11px;
}

@media(max-width:600px) {
    .header {
        padding: 14px;
    }

    .header-label {
        font-size: 9px;
    }

    .container {
        margin: 20px auto;
        padding: 0 12px;
    }

    .hero {
        padding: 26px 22px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .card {
        padding: 21px 17px;
    }

    .verified {
        display: none;
    }

    .source-list {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   HALAMAN KEBIJAKAN PROGRAM TABUNGAN
========================================= */

.policy-page {
    margin-bottom: 25px;
}

.policy-intro {
    background: linear-gradient(135deg, #eaf4ff, #f5faff);
    border-left: 4px solid #0753A6;
    padding: 18px;
    border-radius: 10px;
    line-height: 1.7;
    margin-bottom: 22px;
    color: #294563;
}

.policy-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.policy-item {
    display: flex;
    gap: 15px;
    padding: 17px;
    border: 1px solid #e1eaf4;
    border-radius: 12px;
    background: #ffffff;
    transition: border-color .2s, box-shadow .2s;
}

.policy-item:hover {
    border-color: #9bc9ee;
    box-shadow: 0 5px 16px rgba(7, 83, 166, .07);
}

.policy-number {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #0753A6, #18A9E0);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.policy-item h3 {
    margin: 3px 0 7px;
    color: #0753A6;
    font-size: 15px;
}

.policy-item p {
    margin: 0 0 7px;
    color: #526477;
    font-size: 13px;
    line-height: 1.7;
}

.policy-item p:last-child {
    margin-bottom: 0;
}

.policy-item ul {
    margin: 7px 0;
    padding-left: 20px;
    color: #526477;
    font-size: 13px;
    line-height: 1.8;
}

.policy-warning {
    margin-top: 22px;
    padding: 17px;
    border-radius: 10px;
    border: 1px solid #f0d58a;
    background: #fff9e9;
    color: #765719;
    font-size: 13px;
    line-height: 1.7;
}

.policy-consent {
    margin-top: 20px;
    padding: 19px;
    border: 1px solid #b9d9f3;
    border-radius: 12px;
    background: #f2f8ff;
}

.policy-consent .consent-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    color: #294563;
    font-size: 14px;
    line-height: 1.7;
}

.policy-consent input {
    flex-shrink: 0;
    width: 19px;
    height: 19px;
    margin-top: 2px;
    accent-color: #0753A6;
}

.submit-button:disabled {
    opacity: .48;
    cursor: not-allowed;
    box-shadow: none;
}

#registrationSection {
    scroll-margin-top: 20px;
}

#continueBtn {
    margin-top: 17px;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .policy-item {
        padding: 14px;
        gap: 11px;
    }

    .policy-number {
        width: 30px;
        height: 30px;
        font-size: 11px;
    }

    .policy-item h3 {
        font-size: 14px;
    }

    .policy-item p,
    .policy-item ul {
        font-size: 12px;
    }

    .policy-intro {
        padding: 15px;
        font-size: 13px;
    }

    .policy-consent {
        padding: 15px;
    }
}


/* AUTHENTICATION */
.auth-card {
    max-width: 560px;
    margin: 25px auto;
}

.auth-card input {
    width: 100%;
    box-sizing: border-box;
}

.logout-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 15px 0;
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid #dce7f3;
    border-radius: 12px;
}

.logout-bar button {
    border: 0;
    border-radius: 8px;
    padding: 9px 16px;
    background: #0753A6;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
}


/* SUPER ADMIN DASHBOARD */
.admin-dashboard {
    padding: 28px;
}

.dashboard-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.dashboard-eyebrow {
    display: inline-block;
    color: #1685D1;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.dashboard-heading h2 {
    margin: 0 0 7px;
    color: #073B78;
    font-size: 25px;
}

.dashboard-heading p {
    margin: 0;
    color: #718096;
}

.logout-button,
.refresh-button {
    border: 0;
    border-radius: 9px;
    padding: 11px 17px;
    font-weight: 700;
    cursor: pointer;
}

.logout-button {
    background: #0753A6;
    color: white;
}

.refresh-button {
    background: #e8f3fc;
    color: #0753A6;
}

.dashboard-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 28px 0 15px;
}

.dashboard-section-title h3 {
    margin: 0;
    color: #24364b;
    font-size: 17px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

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

.dashboard-card {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
    padding: 21px;
    background: #ffffff;
    border: 1px solid #dce7f3;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(7, 83, 166, 0.05);
}

.dashboard-icon {
    font-size: 23px;
}

.dashboard-label {
    color: #718096;
    font-size: 13px;
    font-weight: 600;
}

.dashboard-card strong {
    color: #0753A6;
    font-size: 25px;
    overflow-wrap: anywhere;
}

.dashboard-card small {
    color: #8a98a9;
    font-size: 11px;
    line-height: 1.5;
}

.dashboard-card-primary {
    background: linear-gradient(135deg, #0753A6, #18A9E0);
}

.dashboard-card-primary .dashboard-label,
.dashboard-card-primary strong,
.dashboard-card-primary small {
    color: #ffffff;
}

.dashboard-card-warning {
    background: #fffaf0;
    border-color: #f5dfaa;
}

.dashboard-card-warning strong {
    color: #b7791f;
}

.dashboard-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #e5edf5;
    color: #718096;
    font-size: 12px;
}

.dashboard-footer strong {
    color: #0753A6;
}

@media (max-width: 800px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .admin-dashboard {
        padding: 17px;
    }

    .dashboard-heading {
        align-items: flex-start;
    }

    .dashboard-heading h2 {
        font-size: 21px;
    }

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

    .dashboard-footer {
        flex-direction: column;
    }
}


/* =========================================
   MANAJEMEN PENGGUNA
========================================= */

.user-management-section {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 2px solid #e7eef7;
}

.user-form-card,
.user-list-card,
.temporary-password-box {
    background: #ffffff;
    border: 1px solid #e1eaf5;
    border-radius: 14px;
    padding: 22px;
    margin-top: 20px;
    box-shadow: 0 5px 18px rgba(7, 59, 120, 0.05);
}

.user-form-card h4,
.user-list-card h4,
.temporary-password-box h4 {
    margin: 0 0 8px;
    color: #073B78;
}

.user-form-card p,
.user-list-heading p {
    color: #718096;
    font-size: 13px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 20px 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 13px;
    color: #24364b;
}

.form-group input,
.form-group select,
.user-list-heading input,
.user-role-select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #d5e0ed;
    border-radius: 8px;
    background: #fff;
    color: #24364b;
}

.primary-button {
    border: 0;
    border-radius: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #0753A6, #18A9E0);
    color: white;
    font-weight: 700;
    cursor: pointer;
}

.primary-button:disabled,
.small-action:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.user-list-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
}

.user-list-heading input {
    max-width: 280px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.user-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 950px;
}

.user-table th,
.user-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e8eef5;
    text-align: left;
    vertical-align: middle;
}

.user-table th {
    background: #f1f6fc;
    color: #073B78;
    font-weight: 700;
    white-space: nowrap;
}

.user-role-select {
    min-width: 125px;
    padding: 7px;
    font-size: 12px;
}

.small-action {
    border: 0;
    border-radius: 6px;
    padding: 7px 10px;
    margin: 3px;
    background: #0753A6;
    color: white;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

.user-action-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 110px;
}

.status-badge {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.status-active {
    color: #087443;
    background: #dcfce9;
}

.status-inactive {
    color: #a12b2b;
    background: #fee2e2;
}

.temporary-password-box {
    border: 1px solid #e5a900;
    background: #fffdf5;
}

.temporary-password-value {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.temporary-password-value code {
    padding: 12px;
    background: #f1f5f9;
    border: 1px dashed #94a3b8;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 2px;
    overflow-wrap: anywhere;
}

.temporary-password-box small {
    display: block;
    color: #718096;
    line-height: 1.6;
    margin-bottom: 15px;
}

@media (max-width: 650px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .user-list-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .user-list-heading input {
        max-width: none;
    }

    .temporary-password-value {
        align-items: stretch;
        flex-direction: column;
    }
}


/* ==================================================
   SUPER ADMIN - BUTTON & TRANSACTION UI REFINEMENT
   ================================================== */

.admin-dashboard button {
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    border-radius: 9px;
    transition: all .2s ease;
}

.admin-dashboard button:not(:disabled) {
    cursor: pointer;
}

.admin-dashboard button:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: brightness(.96);
    box-shadow: 0 4px 12px rgba(7, 83, 166, .16);
}

.admin-dashboard button:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.admin-dashboard .primary-button,
.admin-dashboard #saveTransactionBtn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 42px;
    padding: 11px 22px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg, #0753A6, #18A9E0);
    color: #fff;
    font-weight: 700;
}

.admin-dashboard .refresh-button {
    min-height: 38px;
    padding: 9px 16px;
    background: #e8f3fc;
    color: #0753A6;
    border: 1px solid #d5e8f8;
}

.admin-dashboard .logout-button {
    min-height: 40px;
    padding: 10px 20px;
    background: #0753A6;
    color: #fff;
}

.admin-dashboard .small-action {
    min-height: 32px;
    padding: 7px 12px;
    margin: 3px 2px;
    border-radius: 7px;
    background: #0753A6;
    color: #fff;
    font-size: 12px;
}

.admin-dashboard #transactionForm {
    display: grid;
    gap: 14px;
}

.admin-dashboard #transactionForm .form-group {
    margin-bottom: 0;
}

.admin-dashboard #transactionForm #saveTransactionBtn {
    justify-self: start;
    min-width: 170px;
    margin-top: 4px;
}

.admin-dashboard .table-responsive {
    border: 1px solid #e5edf6;
    border-radius: 10px;
    background: #fff;
}

.admin-dashboard .user-table {
    border-collapse: separate;
    border-spacing: 0;
}

.admin-dashboard .user-table th {
    background: #edf4fb;
    color: #073B78;
    padding: 13px 12px;
}

.admin-dashboard .user-table td {
    padding: 12px;
}

.admin-dashboard .user-table tbody tr:hover {
    background: #f7fbff;
}

.admin-dashboard input:focus,
.admin-dashboard select:focus,
.admin-dashboard textarea:focus {
    outline: none;
    border-color: #18A9E0;
    box-shadow: 0 0 0 3px rgba(24, 169, 224, .12);
}

@media (max-width: 600px) {
    .admin-dashboard #transactionForm #saveTransactionBtn {
        width: 100%;
    }

    .admin-dashboard .dashboard-heading {
        align-items: flex-start;
        flex-wrap: wrap;
    }
}

/* =========================================
   ADMIN TRANSACTION TABLE - PROFESSIONAL UI
   ========================================= */

.admin-dashboard .table-responsive {
    width: 100%;
    overflow-x: auto;
    margin-top: 12px;
    border: 1px solid #e3ebf5;
    border-radius: 13px;
    background: #ffffff;
    box-shadow: 0 5px 18px rgba(20, 60, 100, .045);
}

.admin-dashboard .admin-data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
    color: #34445a;
}

.admin-dashboard .admin-data-table th {
    padding: 15px 13px;
    background: #edf4fb;
    color: #0753A6;
    text-align: left;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    border-bottom: 1px solid #dce7f3;
}

.admin-dashboard .admin-data-table td {
    padding: 14px 13px;
    border-bottom: 1px solid #edf1f6;
    vertical-align: middle;
    line-height: 1.5;
}

.admin-dashboard .admin-data-table tbody tr:last-child td {
    border-bottom: 0;
}

.admin-dashboard .admin-data-table tbody tr:hover {
    background: #f7fbff;
}

.admin-dashboard .participant-table {
    min-width: 760px;
}

.admin-dashboard .participant-table td:nth-child(2) {
    font-weight: 700;
    color: #0753A6;
    white-space: nowrap;
}

.admin-dashboard .participant-table td:nth-child(3) {
    min-width: 180px;
    font-weight: 600;
}

.admin-dashboard .participant-table td:last-child {
    color: #087b50;
    font-weight: 800;
    white-space: nowrap;
}

.admin-dashboard .history-table {
    min-width: 1050px;
}

.admin-dashboard .transaction-number {
    min-width: 230px;
    white-space: nowrap;
    color: #0753A6;
    font-size: 12px;
    font-weight: 700;
}

.admin-dashboard .transaction-date {
    white-space: nowrap;
}

.admin-dashboard .status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .3px;
    white-space: nowrap;
}

.admin-dashboard .status-active,
.admin-dashboard .status-confirmed {
    background: #e4f7ed;
    color: #087b50;
}

.admin-dashboard .status-pending {
    background: #fff4dc;
    color: #a96800;
}

.admin-dashboard .status-inactive,
.admin-dashboard .status-void {
    background: #fdeaea;
    color: #bb3030;
}

.admin-dashboard .transaction-type {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.admin-dashboard .type-deposit {
    background: #e5f5ed;
    color: #087b50;
}

.admin-dashboard .type-withdrawal {
    background: #fff0e8;
    color: #c05b24;
}

.admin-dashboard .confirm-transaction-btn {
    min-width: 105px;
    padding: 9px 12px;
    background: linear-gradient(135deg, #0753A6, #18A9E0);
    color: white;
    border: 0;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 800;
}

.admin-dashboard .transaction-history-title {
    margin: 30px 0 14px;
    padding-bottom: 12px;
    color: #173f70;
    font-size: 17px;
    border-bottom: 1px solid #e6edf5;
}

@media (max-width: 600px) {
    .admin-dashboard .admin-data-table th,
    .admin-dashboard .admin-data-table td {
        padding: 11px 10px;
    }

    .admin-dashboard .table-responsive {
        border-radius: 9px;
    }
}


/* PENYEMPURNAAN RIWAYAT TRANSAKSI */
.admin-dashboard .history-table {
    min-width: 1100px;
    table-layout: auto;
}

.admin-dashboard .history-table th,
.admin-dashboard .history-table td {
    white-space: nowrap;
}

.admin-dashboard .history-table th:first-child,
.admin-dashboard .history-table td:first-child {
    width: 55px;
    text-align: center;
}

.admin-dashboard .history-table th:nth-child(2),
.admin-dashboard .history-table td:nth-child(2) {
    min-width: 240px;
}

.admin-dashboard .history-table .transaction-number {
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
}

.admin-dashboard .history-table th:last-child,
.admin-dashboard .history-table td:last-child {
    min-width: 120px;
    text-align: center;
}

.admin-dashboard .table-responsive {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #aab7c7 #edf2f7;
}


/* LOGO RESMI PG POERWODADIE */
.brand-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 50%;
    background: #ffffff;
    padding: 2px;
}

@media(max-width:600px) {
    .brand-logo {
        width: 48px;
        height: 48px;
    }
}



/* =====================================================
   MODERN CORPORATE ADMIN DASHBOARD
   PG POERWODADIE - SGN
   ===================================================== */

.admin-dashboard {
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    color: #26374a;
    line-height: 1.55;
    font-size: 14px;
}

/* Heading */
.admin-dashboard .dashboard-heading h2 {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.6px;
    color: #073B78;
}

.admin-dashboard .dashboard-heading p {
    font-size: 13px;
    line-height: 1.7;
    color: #718096;
}

.admin-dashboard .dashboard-section-title h3,
.admin-dashboard .transaction-history-title {
    font-size: 16px;
    font-weight: 750;
    letter-spacing: -0.2px;
    color: #173f70;
}

/* Dashboard cards */
.admin-dashboard .dashboard-card {
    padding: 22px;
    border: 1px solid #e4ebf3;
    border-radius: 15px;
    box-shadow: 0 3px 12px rgba(30, 64, 100, .045);
    transition: transform .2s ease, box-shadow .2s ease;
}

.admin-dashboard .dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(30, 64, 100, .09);
}

.admin-dashboard .dashboard-label {
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .15px;
}

.admin-dashboard .dashboard-card strong {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.5px;
    line-height: 1.3;
}

.admin-dashboard .dashboard-card small {
    font-size: 11px;
    line-height: 1.6;
}

/* Section cards and forms */
.admin-dashboard .user-form-card,
.admin-dashboard .user-list-card,
.admin-dashboard .temporary-password-box {
    border: 1px solid #e5ebf2;
    border-radius: 14px;
    padding: 23px;
    box-shadow: 0 3px 14px rgba(30, 64, 100, .035);
}

.admin-dashboard .user-form-card h4,
.admin-dashboard .user-list-card h4,
.admin-dashboard .temporary-password-box h4 {
    font-size: 15px;
    font-weight: 750;
    color: #173f70;
}

.admin-dashboard .user-form-card p,
.admin-dashboard .user-list-heading p {
    font-size: 12px;
    line-height: 1.65;
}

.admin-dashboard .form-group label {
    font-size: 12px;
    font-weight: 700;
    color: #40536a;
}

.admin-dashboard .form-group input,
.admin-dashboard .form-group select,
.admin-dashboard .user-list-heading input,
.admin-dashboard .user-role-select,
.admin-dashboard textarea {
    min-height: 40px;
    border: 1px solid #dce5ef;
    border-radius: 9px;
    font-family: inherit;
    font-size: 13px;
    transition: border-color .2s, box-shadow .2s;
}

.admin-dashboard input:focus,
.admin-dashboard select:focus,
.admin-dashboard textarea:focus {
    border-color: #18A9E0;
    box-shadow: 0 0 0 3px rgba(24, 169, 224, .12);
}

/* Tables */
.admin-dashboard .table-responsive {
    border: 1px solid #e3eaf2;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(30, 64, 100, .035);
    overflow-x: auto;
    background: #fff;
}

.admin-dashboard .user-table,
.admin-dashboard .admin-data-table {
    font-family: inherit;
    font-size: 12.5px;
    color: #35465a;
}

.admin-dashboard .user-table th,
.admin-dashboard .admin-data-table th {
    padding: 14px 13px;
    background: #edf4fb;
    color: #174b80;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .35px;
    text-transform: uppercase;
    border-bottom: 1px solid #dce7f2;
}

.admin-dashboard .user-table td,
.admin-dashboard .admin-data-table td {
    padding: 13px;
    font-size: 12.5px;
    line-height: 1.6;
    border-bottom: 1px solid #edf1f5;
}

.admin-dashboard .user-table tbody tr:nth-child(even),
.admin-dashboard .admin-data-table tbody tr:nth-child(even) {
    background: #fafcff;
}

.admin-dashboard .user-table tbody tr:hover,
.admin-dashboard .admin-data-table tbody tr:hover {
    background: #f0f7fd;
}

.admin-dashboard .user-table tbody tr:last-child td,
.admin-dashboard .admin-data-table tbody tr:last-child td {
    border-bottom: 0;
}

/* Transaction text */
.admin-dashboard .transaction-number {
    font-size: 11.5px;
    font-weight: 700;
    color: #0753A6;
}

.admin-dashboard .transaction-date {
    font-size: 12px;
    color: #64748b;
}

.admin-dashboard .participant-table td:nth-child(2) {
    font-weight: 700;
    color: #174b80;
}

/* Badges */
.admin-dashboard .status-pill,
.admin-dashboard .status-badge {
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2px;
    border-radius: 20px;
}

/* Buttons */
.admin-dashboard button {
    font-family: inherit;
    letter-spacing: .1px;
}

.admin-dashboard .primary-button,
.admin-dashboard .confirm-transaction-btn {
    box-shadow: 0 3px 8px rgba(7, 83, 166, .12);
}

.admin-dashboard .small-action {
    font-size: 11px;
    font-weight: 700;
}

/* Footer */
.admin-dashboard .dashboard-footer {
    font-size: 11.5px;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 600px) {
    .admin-dashboard {
        font-size: 13px;
    }

    .admin-dashboard .dashboard-heading h2 {
        font-size: 21px;
    }

    .admin-dashboard .dashboard-card {
        padding: 17px;
    }

    .admin-dashboard .dashboard-card strong {
        font-size: 23px;
    }

    .admin-dashboard .user-form-card,
    .admin-dashboard .user-list-card,
    .admin-dashboard .temporary-password-box {
        padding: 16px;
    }

    .admin-dashboard .user-table th,
    .admin-dashboard .admin-data-table th {
        padding: 11px 10px;
        font-size: 10px;
    }

    .admin-dashboard .user-table td,
    .admin-dashboard .admin-data-table td {
        padding: 11px 10px;
        font-size: 12px;
    }
}

/* =====================================================
   HERO BANNER - CORPORATE PREMIUM PG POERWODADIE
   ===================================================== */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 18%, rgba(24,169,224,.38), transparent 32%),
        radial-gradient(circle at 72% 110%, rgba(21,148,71,.20), transparent 35%),
        linear-gradient(120deg, #063F83 0%, #0753A6 48%, #087DBB 100%);
    color: #ffffff;
    border-radius: 24px;
    padding: 54px 50px;
    margin-bottom: 30px;
    box-shadow:
        0 20px 45px rgba(7,83,166,.19),
        0 5px 15px rgba(7,83,166,.08);
}

.hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 390px;
    height: 390px;
    right: -105px;
    top: -165px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    box-shadow:
        0 0 0 35px rgba(255,255,255,.035),
        0 0 0 75px rgba(255,255,255,.025),
        0 0 0 120px rgba(255,255,255,.018);
}

.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 180px;
    height: 180px;
    right: 85px;
    bottom: -115px;
    border: 2px solid rgba(229,169,0,.45);
    border-radius: 50%;
    box-shadow: 0 0 0 18px rgba(229,169,0,.07);
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero h1 {
    max-width: 720px;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.12;
    letter-spacing: -.8px;
    font-weight: 800;
    margin: 0 0 15px;
    text-shadow: 0 3px 15px rgba(0,0,0,.12);
}

.hero p {
    max-width: 850px;
    font-size: 17px;
    line-height: 1.75;
    margin: 0;
    color: rgba(255,255,255,.94);
}

.hero-line {
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, #F5C542, #E5A900);
    margin: 25px 0;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(229,169,0,.3);
}

.hero .hero-description {
    max-width: 650px;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,.86);
}

@media (max-width: 600px) {
    .hero {
        padding: 35px 25px;
        border-radius: 19px;
        margin-bottom: 22px;
    }

    .hero h1 {
        font-size: 32px;
        letter-spacing: -.5px;
    }

    .hero p {
        font-size: 15px;
        line-height: 1.65;
    }

    .hero-line {
        margin: 20px 0;
    }

    .hero .hero-description {
        font-size: 13px;
    }

    .hero::before {
        width: 250px;
        height: 250px;
        right: -130px;
        top: -100px;
    }
}


