/* =====================================================
   YAQEEN NATURALS
   ADMIN PANEL - COMPLETE CSS
===================================================== */


/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f6f8;
    color: #222;
}


/* =====================================================
   ADMIN HEADER
===================================================== */

.admin-header {
    width: 100%;

    min-height: 75px;

    background: #222;

    color: #fff;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 15px 5%;

    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.12);
}

.admin-logo {
    font-size: 25px;

    font-weight: bold;

    white-space: nowrap;
}

.admin-title {
    font-size: 18px;

    font-weight: 600;
}


/* =====================================================
   MAIN CONTAINER
===================================================== */

.admin-container {
    width: 100%;

    max-width: 1400px;

    margin: 0 auto;

    padding: 35px 5%;
}


/* =====================================================
   DASHBOARD TOP
===================================================== */

.dashboard-top {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    margin-bottom: 30px;
}

.dashboard-top h1 {
    font-size: 32px;

    margin-bottom: 6px;
}

.dashboard-top p {
    color: #777;

    font-size: 15px;
}

.admin-command-buttons {
    display: flex;

    gap: 8px;

    margin-left: auto;
}


/* =====================================================
   REFRESH BUTTON
===================================================== */

.refresh-button {
    border: none;

    background: #222;

    color: white;

    padding: 11px 18px;

    border-radius: 5px;

    font-size: 14px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;
}

.refresh-button:hover {
    background: #444;
}


/* =====================================================
   STATISTICS
===================================================== */

.stats-container {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;

    margin-bottom: 30px;
}

.stat-card {
    background: white;

    border: 1px solid #e5e5e5;

    border-radius: 8px;

    padding: 22px;

    display: flex;

    align-items: center;

    gap: 15px;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.04);

    transition: 0.3s;
}

.stat-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 7px 18px rgba(0, 0, 0, 0.08);
}

.stat-icon {
    width: 52px;

    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #f0f0f0;

    border-radius: 50%;

    font-size: 24px;
}

.stat-card h3 {
    font-size: 14px;

    color: #777;

    margin-bottom: 6px;
}

.stat-card strong {
    display: block;

    font-size: 24px;

    color: #222;
}


/* =====================================================
   ORDERS SECTION
===================================================== */

.orders-section {
    background: white;

    border: 1px solid #e5e5e5;

    border-radius: 8px;

    overflow: hidden;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.05);
}


/* =====================================================
   ORDERS HEADER
===================================================== */

.orders-header {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    padding: 22px;

    border-bottom: 1px solid #eeeeee;
}

.orders-header h2 {
    font-size: 22px;

    margin-bottom: 5px;
}

.orders-header p {
    color: #777;

    font-size: 14px;
}


/* =====================================================
   CLEAR ORDERS
===================================================== */

.clear-orders-button {
    border: none;

    background: #c62828;

    color: white;

    padding: 11px 16px;

    border-radius: 5px;

    font-size: 14px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;
}

.clear-orders-button:hover {
    background: #a91f1f;
}


/* =====================================================
   SEARCH
===================================================== */

.admin-search {
    padding: 20px;

    border-bottom: 1px solid #eeeeee;
}

.admin-search input {
    width: 100%;

    max-width: 550px;

    padding: 12px 14px;

    border: 1px solid #ccc;

    border-radius: 5px;

    outline: none;

    font-size: 14px;
}

.admin-search input:focus {
    border-color: #222;
}


/* =====================================================
   TABLE WRAPPER
===================================================== */

.table-wrapper {
    width: 100%;

    overflow-x: auto;
}


/* =====================================================
   ORDER TABLE
===================================================== */

.orders-table {
    width: 100%;

    min-width: 950px;

    border-collapse: collapse;
}

.orders-table th {
    background: #f6f6f6;

    color: #444;

    padding: 14px 12px;

    text-align: left;

    font-size: 13px;

    border-bottom: 1px solid #ddd;

    white-space: nowrap;
}

.orders-table td {
    padding: 14px 12px;

    border-bottom: 1px solid #eeeeee;

    font-size: 13px;

    vertical-align: middle;
}

.orders-table tbody tr {
    transition: 0.2s;
}

.orders-table tbody tr:hover {
    background: #fafafa;
}


/* =====================================================
   ORDER ID
===================================================== */

.order-id {
    font-weight: bold;

    color: #333;

    white-space: nowrap;
}


/* =====================================================
   CUSTOMER
===================================================== */

.customer-name {
    font-weight: bold;

    color: #222;
}

.customer-phone {
    color: #555;

    white-space: nowrap;
}


/* =====================================================
   STATUS
===================================================== */

.status-select {
    padding: 7px 9px;

    border: 1px solid #ccc;

    border-radius: 5px;

    outline: none;

    background: white;

    cursor: pointer;

    font-size: 12px;
}

.status-select.pending {
    background: #fff8e1;

    color: #946200;

    border-color: #f0cc72;
}

.status-select.confirmed {
    background: #e8f5e9;

    color: #2e7d32;

    border-color: #9ccc9c;
}

.status-select.delivered {
    background: #e3f2fd;

    color: #1565c0;

    border-color: #90caf9;
}

.status-select.cancelled {
    background: #ffebee;

    color: #c62828;

    border-color: #ef9a9a;
}


/* =====================================================
   ACTION BUTTONS
===================================================== */

.action-buttons {
    display: flex;

    align-items: center;

    gap: 7px;
}

.view-order,
.delete-order,
.invoice-button {
    border: none;

    padding: 7px 10px;

    border-radius: 4px;

    cursor: pointer;

    font-size: 12px;

    font-weight: bold;
}

.view-order {
    background: #222;

    color: white;
}

.view-order:hover {
    background: #444;
}

.delete-order {
    background: #eeeeee;

    color: #c62828;
}

.delete-order:hover {
    background: #dddddd;
}


/* =====================================================
   NO ORDERS
===================================================== */

.no-orders {
    text-align: center !important;

    padding: 60px 20px !important;

    color: #777;
}

.no-orders > div {
    font-size: 45px;

    margin-bottom: 10px;
}

.no-orders strong {
    display: block;

    font-size: 18px;

    color: #444;

    margin-bottom: 7px;
}

.no-orders p {
    color: #888;
}


/* =====================================================
   ORDER MODAL
===================================================== */

.order-modal {
    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.65);

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 20px;

    z-index: 5000;

    opacity: 0;

    visibility: hidden;

    transition: 0.3s;
}

.order-modal.active {
    opacity: 1;

    visibility: visible;
}


/* =====================================================
   ORDER MODAL BOX
===================================================== */

.order-modal-box {
    position: relative;

    width: 600px;

    max-width: 100%;

    max-height: 90vh;

    overflow-y: auto;

    background: white;

    border-radius: 8px;

    padding: 30px;

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.25);
}

.order-modal-box h2 {
    font-size: 24px;

    margin-bottom: 20px;
}


/* =====================================================
   MODAL CLOSE
===================================================== */

.order-modal-close {
    position: absolute;

    top: 12px;

    right: 15px;

    width: 35px;

    height: 35px;

    border: none;

    border-radius: 50%;

    background: #eeeeee;

    font-size: 24px;

    cursor: pointer;
}

.order-modal-close:hover {
    background: #dddddd;
}


/* =====================================================
   ORDER DETAILS
===================================================== */

.order-details-box {
    background: #f7f7f7;

    border-radius: 6px;

    padding: 18px;
}

.order-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
    gap: 10px;
    flex-wrap: wrap;
}

.invoice-button,
.tracking-save-button,
.copy-link-button {
    border: none;
    padding: 10px 16px;
    font-size: 13px;
    border-radius: 5px;
    cursor: pointer;
}

.invoice-button {
    background: #1b5e20;
    color: #fff;
}

.invoice-button:hover {
    background: #144d1b;
}

.tracking-save-button {
    background: #0d6efd;
    color: #fff;
}

.tracking-save-button:hover {
    background: #0b5ed7;
}

.copy-link-button {
    background: #f3f3f3;
    color: #111;
    border: 1px solid #ddd;
}

.copy-link-button:hover {
    background: #eaeaea;
}

.invoice-preview {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.invoice-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #111;
    padding-bottom: 12px;
    margin-bottom: 18px;
    gap: 18px;
}

.invoice-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.invoice-logo-img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

.invoice-logo-text {
    line-height: 1.4;
}

.invoice-preview-brand {
    font-size: 26px;
    font-weight: 700;
}

.tracking-input-row {
    display: flex;
    gap: 8px;
    margin-top: 18px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.tracking-input-row input {
    flex: 1;
    min-width: 180px;
    padding: 10px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 14px;
}

.invoice-preview-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.invoice-preview-table th,
.invoice-preview-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
    font-size: 13px;
}

.invoice-preview-table th {
    background: #f5f5f5;
}

.invoice-preview-totals {
    margin-top: 20px;
    width: 270px;
    margin-left: auto;
}

.invoice-preview-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.invoice-preview-row.total {
    font-size: 18px;
    font-weight: 700;
    border-bottom: none;
}

.invoice-print-button {
    margin-top: 18px;
    background: #111;
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 5px;
    cursor: pointer;
}

.order-details-row {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding: 9px 0;

    border-bottom: 1px solid #e5e5e5;

    font-size: 14px;
}

.order-details-row:last-child {
    border-bottom: none;
}

.order-details-label {
    font-weight: bold;

    color: #444;
}


/* =====================================================
   ORDER PRODUCTS
===================================================== */

.order-products {
    margin-top: 18px;
}

.order-products h3 {
    font-size: 17px;

    margin-bottom: 12px;
}

.order-product {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 10px 0;

    border-bottom: 1px solid #e5e5e5;
}

.order-product:last-child {
    border-bottom: none;
}

.order-product-image {
    width: 55px;

    height: 55px;

    border-radius: 5px;

    overflow: hidden;

    background: #eeeeee;

    flex-shrink: 0;
}

.order-product-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;
}

.order-product-info {
    flex: 1;
}

.order-product-info h4 {
    font-size: 14px;

    margin-bottom: 4px;
}

.order-product-info p {
    color: #666;

    font-size: 12px;
}

.order-product-price {
    font-weight: bold;

    font-size: 14px;

    white-space: nowrap;
}


/* =====================================================
   GRAND TOTAL
===================================================== */

.order-grand-total {
    margin-top: 15px;

    padding-top: 15px;

    border-top: 2px solid #ddd;

    display: flex;

    justify-content: space-between;

    font-size: 18px;

    font-weight: bold;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {

    .admin-container {
        padding: 30px 4%;
    }

    .stats-container {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .report-stats {
        grid-template-columns: repeat(3, 1fr);
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .admin-header {
        padding: 15px 20px;

        flex-wrap: wrap;

        gap: 8px;
    }

    .admin-logo {
        font-size: 21px;
    }

    .admin-title {
        font-size: 15px;
    }


    .dashboard-top {
        flex-direction: column;

        align-items: flex-start;
    }

    .dashboard-top h1 {
        font-size: 27px;
    }


    .refresh-button {
        width: 100%;
    }

    .admin-command-buttons {
        width: 100%;

        margin-left: 0;

        flex-direction: column;
    }

    .admin-command-buttons button {
        width: 100%;
    }


    .stats-container {
        grid-template-columns: 1fr;
    }


    .orders-header {
        flex-direction: column;

        align-items: flex-start;
    }


    .clear-orders-button {
        width: 100%;
    }

    .inventory-header,
    .report-header {
        align-items: flex-start;

        flex-direction: column;
    }

    .inventory-save-button,
    .report-controls {
        width: 100%;
    }

    .report-controls select,
    .report-export-button {
        flex: 1;
    }

    .inventory-stats,
    .report-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .money-holder-summary {
        grid-template-columns: 1fr;
    }

    .cash-inputs,
    .payment-input-row,
    .expense-entry-form {
        align-items: stretch;

        flex-direction: column;
    }

    .cash-inputs label,
    .payment-input-row input,
    .payment-input-row select,
    .payment-save-button,
    .expense-entry-form label,
    .expense-entry-form button {
        width: 100%;
    }

    .cash-inputs p {
        margin-left: 0;
    }


    .admin-search input {
        max-width: 100%;
    }


    .order-modal-box {
        padding: 22px;

        max-height: 92vh;
    }


    .order-details-row {
        flex-direction: column;

        gap: 4px;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 450px) {

    .admin-container {
        padding: 25px 15px;
    }

    .stat-card {
        padding: 18px;
    }

    .stat-card strong {
        font-size: 21px;
    }

    .admin-logo {
        font-size: 19px;
    }

    .admin-title {
        font-size: 13px;
    }

}
/* =====================================================
   ADMIN LOGIN
===================================================== */

.admin-login-overlay {
    position: fixed;

    inset: 0;

    background: #f5f6f8;

    z-index: 99999;

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 20px;
}


.admin-login-box {
    width: 400px;

    max-width: 100%;

    background: white;

    padding: 35px;

    border-radius: 10px;

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.15);

    text-align: center;
}


.admin-login-logo {
    font-size: 24px;

    font-weight: bold;

    margin-bottom: 20px;

    color: #222;
}


.admin-login-box h2 {
    font-size: 26px;

    margin-bottom: 8px;
}


.admin-login-box > p {
    color: #777;

    font-size: 14px;

    margin-bottom: 25px;
}


.login-group {
    text-align: left;

    margin-bottom: 17px;
}


.login-group label {
    display: block;

    margin-bottom: 7px;

    font-size: 14px;

    font-weight: bold;
}


.login-group input {
    width: 100%;

    padding: 12px;

    border: 1px solid #ccc;

    outline: none;

    font-size: 14px;

    border-radius: 5px;
}


.login-group input:focus {
    border-color: #222;
}


.admin-login-button {
    width: 100%;

    padding: 13px;

    border: none;

    border-radius: 5px;

    background: #222;

    color: white;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;
}


.admin-login-button:hover {
    background: #444;
}


.login-error {
    min-height: 18px;

    color: #c62828 !important;

    font-size: 13px !important;

    margin: 5px 0 12px !important;
}

.admin-logout-button {
    padding: 9px 15px;

    border: 1px solid rgba(255, 255, 255, 0.45);

    border-radius: 6px;

    background: transparent;

    color: white;

    cursor: pointer;

    font-size: 13px;
}

.admin-logout-button:hover {
    background: rgba(255, 255, 255, 0.12);
}


/* =====================================================
   INVENTORY SUMMARY
===================================================== */

.inventory-section {
    margin-bottom: 30px;

    background: #fff;

    border: 1px solid #e5e5e5;

    border-radius: 8px;

    overflow: hidden;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.inventory-section.inventory-hidden .inventory-stats,
.inventory-section.inventory-hidden .cash-inputs,
.inventory-section.inventory-hidden .inventory-table-wrapper {
    display: none;
}

.inventory-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 22px;

    border-bottom: 1px solid #eee;
}

.inventory-header h2 {
    margin-bottom: 5px;

    font-size: 22px;
}

.inventory-header p {
    color: #777;

    font-size: 14px;
}

.inventory-save-button {
    border: none;

    border-radius: 5px;

    padding: 11px 16px;

    background: #2e7d32;

    color: #fff;

    font-size: 13px;

    font-weight: bold;

    cursor: pointer;
}

.inventory-save-button:hover {
    background: #256528;
}

.inventory-stats {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 14px;

    padding: 20px 22px 0;
}

.inventory-stat {
    padding: 16px;

    border: 1px solid #eee;

    border-radius: 6px;

    background: #fafafa;
}

.inventory-stat span {
    display: block;

    margin-bottom: 8px;

    color: #777;

    font-size: 12px;
}

.inventory-stat strong {
    color: #222;

    font-size: 20px;
}

.cash-inputs {
    display: flex;

    align-items: end;

    gap: 14px;

    padding: 20px 22px;
}

.cash-inputs label {
    display: flex;

    flex-direction: column;

    gap: 7px;

    min-width: 180px;

    color: #555;

    font-size: 12px;

    font-weight: bold;
}

.cash-inputs input,
.inventory-table input {
    width: 100%;

    padding: 9px 10px;

    border: 1px solid #ccc;

    border-radius: 4px;

    outline: none;

    font-size: 13px;
}

.cash-inputs input:focus,
.inventory-table input:focus {
    border-color: #2e7d32;
}

.cash-inputs p {
    margin-left: auto;

    color: #777;

    font-size: 12px;
    
    line-height: 1.5;
}

.inventory-table-wrapper {
    width: 100%;

    overflow-x: auto;
}

.inventory-table {
    width: 100%;

    min-width: 900px;

    border-collapse: collapse;
}

.inventory-table th {
    padding: 12px;

    background: #f6f6f6;

    color: #444;

    font-size: 12px;

    text-align: left;

    white-space: nowrap;
}

.inventory-table td {
    padding: 9px 12px;

    border-top: 1px solid #eee;

    color: #444;

    font-size: 13px;
}

.inventory-table td:first-child {
    min-width: 190px;

    color: #222;

    font-weight: bold;
}

.inventory-table input {
    width: 110px;
}

.inventory-row-profit {
    color: #2e7d32 !important;

    font-weight: bold;
}


/* =====================================================
   FINANCIAL REPORT
===================================================== */

.financial-report-section {
    margin-bottom: 30px;

    background: #fff;

    border: 1px solid #e5e5e5;

    border-radius: 8px;

    overflow: hidden;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.section-hidden {
    display: none !important;
}

.report-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 22px;

    border-bottom: 1px solid #eee;
}

.report-header h2 {
    margin-bottom: 5px;

    font-size: 22px;
}

.report-header p {
    color: #777;

    font-size: 14px;
}

.report-controls {
    display: flex;

    align-items: center;

    gap: 10px;
}

.report-controls select,
.report-export-button {
    padding: 10px 12px;

    border: 1px solid #ccc;

    border-radius: 5px;

    background: #fff;

    color: #222;

    font-size: 13px;

    cursor: pointer;
}

.report-export-button {
    border-color: #222;

    background: #222;

    color: #fff;

    font-weight: bold;
}

.report-export-button:hover {
    background: #444;
}

.report-toggle-button,
.show-orders-button {
    padding: 10px 13px;

    border: 1px solid #222;

    border-radius: 5px;

    background: #fff;

    color: #222;

    font-size: 12px;

    font-weight: bold;

    cursor: pointer;
}

.report-toggle-button:hover,
.show-orders-button:hover {
    background: #f1f1f1;
}

.report-stats {
    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 14px;

    padding: 20px 22px;
}

.report-stat {
    padding: 15px;

    border: 1px solid #eee;

    border-radius: 6px;

    background: #fafafa;
}

.report-stat span {
    display: block;

    margin-bottom: 8px;

    color: #777;

    font-size: 12px;
}

.report-stat strong {
    color: #222;

    font-size: 19px;
}

.report-table-wrapper {
    width: 100%;

    overflow-x: auto;
}

.report-table {
    width: 100%;

    min-width: 760px;

    border-collapse: collapse;
}

.report-table th,
.report-table td {
    padding: 12px;

    border-top: 1px solid #eee;

    text-align: left;

    font-size: 13px;
}

.report-table th {
    background: #f6f6f6;

    color: #444;

    font-size: 12px;

    white-space: nowrap;
}

.report-empty {
    color: #777;

    text-align: center !important;
}

.payment-input-row {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 14px;
}

.payment-input-row select,
.payment-input-row input {
    padding: 10px;

    border: 1px solid #ccc;

    border-radius: 5px;

    font-size: 13px;
}

.payment-input-row input {
    width: 145px;
}

.payment-save-button {
    padding: 10px 13px;

    border: none;

    border-radius: 5px;

    background: #2e7d32;

    color: #fff;

    font-size: 12px;

    font-weight: bold;

    cursor: pointer;
}

.payment-save-button:hover {
    background: #256528;
}

.money-holders-section {
    margin-bottom: 30px;

    background: #fff;

    border: 1px solid #e5e5e5;

    border-radius: 8px;

    overflow: hidden;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.money-holder-summary {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 14px;

    padding: 20px 22px;
}

.money-holders-table-wrapper {
    padding: 0 22px 22px;

    overflow-x: auto;
}

.money-holders-table {
    width: 100%;

    max-width: 700px;

    border-collapse: collapse;
}

.money-holders-table th,
.money-holders-table td {
    padding: 10px 12px;

    border-top: 1px solid #eee;

    text-align: left;

    font-size: 13px;
}

.money-holders-table th {
    background: #f6f6f6;

    color: #444;

    font-size: 12px;
}

.money-holders-table select,
.money-holder-amount {
    width: 100%;

    min-width: 180px;

    padding: 9px 10px;

    border: 1px solid #ccc;

    border-radius: 4px;

    background: #fff;

    font-size: 13px;
}

.money-holder-amount {
    min-width: 130px;
}

.daily-expenses-section {
    margin-bottom: 30px;

    background: #fff;

    border: 1px solid #e5e5e5;

    border-radius: 8px;

    overflow: hidden;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.daily-expenses-section.expenses-hidden .expense-entry-form,
.daily-expenses-section.expenses-hidden .expense-table-wrapper {
    display: none;
}

.section-toggle-button {
    padding: 9px 13px;

    border: 1px solid #777;

    border-radius: 5px;

    background: #fff;

    color: #333;

    font-size: 12px;

    font-weight: bold;

    cursor: pointer;
}

.section-toggle-button:hover {
    background: #f1f1f1;
}

.daily-expense-total {
    color: #c62828;

    font-size: 20px;
}

.expense-entry-form {
    display: flex;

    align-items: end;

    gap: 12px;

    padding: 20px 22px;
}

.expense-entry-form label {
    display: flex;

    flex-direction: column;

    gap: 7px;

    min-width: 160px;

    color: #555;

    font-size: 12px;

    font-weight: bold;
}

.expense-entry-form input,
.expense-entry-form select {
    padding: 10px;

    border: 1px solid #ccc;

    border-radius: 4px;

    font-size: 13px;
}

.expense-recipient-select {
    min-width: 170px;

    padding: 7px 8px;

    border: 1px solid #ccc;

    border-radius: 4px;

    background: #fff;

    font-size: 12px;
}

.expense-note-field {
    flex: 1;
}

.expense-table-wrapper {
    padding: 0 22px 22px;

    overflow-x: auto;
}

.expense-table {
    width: 100%;

    border-collapse: collapse;
}

.expense-table th,
.expense-table td {
    padding: 11px 12px;

    border-top: 1px solid #eee;

    text-align: left;

    font-size: 13px;
}

.expense-table th {
    background: #f6f6f6;

    color: #444;

    font-size: 12px;
}

.expense-payment-status-select {
    padding: 7px 9px;

    border: 1px solid #ccc;

    border-radius: 5px;

    background: #fff;

    font-size: 12px;

    font-weight: bold;

    cursor: pointer;
}

.expense-payment-status-select:focus {
    border-color: #2e7d32;
}

.expense-payment-status-select option[value="Paid"] {
    background: #e8f5e9;

    color: #2e7d32;
}

.expense-payment-status-select option[value="Non Paid"] {
    background: #fff8e1;

    color: #946200;
}

.expense-delete-button {
    padding: 6px 9px;

    border: none;

    border-radius: 4px;

    background: #ffebee;

    color: #c62828;

    cursor: pointer;

    font-size: 12px;
}