/* General Body */
body {
    padding: 10px;
    margin: 0;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}


[class*="fa-"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    vertical-align: middle;

    width: 28px;
    height: 28px;

    margin: 0 3px;

    padding: 0;

    border: 1px solid rgba(148, 163, 184, .25);
    border-radius: 7px;

    /* background: #c9cbc7; */

    box-shadow: 0 1px 4px rgba(15, 23, 42, .05);

    box-sizing: border-box;

    line-height: 1 !important;

    transition: all .2s ease;
}

[class*="fa-"]::before {
    display: block;
    margin: 0 !important;
    line-height: 1 !important;
    
}




/* Content and Main Area */
.content, .main-content {
    margin-left: 250px;
    transition: margin 0.3s ease;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
    .content, .main-content {
        margin-left: 0;
        padding: 5px;
    }

    
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    font-size: 14px;
    word-wrap: break-word;
}

/* Table Headers and Cells */
th, td {
    border: 1px solid #000;
    padding: 8px;
    text-align: left;
}

thead {
    background-color: #007bff; /* Bootstrap blue */
    color: #fff;
}

/* Input & Select Fields */
input[required],
select[required] {
    border-left: 5px solid red;
    padding: 6px;
    font-size: 14px;
}

/* Action Buttons Container */
.action-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 5px;
}

/* Responsive Buttons */
@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
}

.pagination li a,
.pagination li span {
    color: #dc3545; /* red text */
    border: 1px solid #dee2e6;
    padding: 6px 12px;
    margin: 3px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease-in-out;
    background-color: #fff;
}

.pagination li a:hover {
    background-color: #dc3545;
    color: #fff;
    border-color: #dc3545;
}

.pagination li.active a,
.pagination li.active span {
    background-color: #dc3545;
    color: #fff;
    border-color: #dc3545;
    font-weight: bold;
}

.pagination li.disabled span {
    color: #aaa;
    background-color: #f8f9fa;
    border-color: #dee2e6;
    pointer-events: none;
}

/* Mobile Table Cards */
.desktop-table {
    display: table;
}

.mobile-cards {
    display: none;
}

@media (max-width: 768px) {
    .desktop-table { display: none; }
    .mobile-cards { display: block; }

    /* Mobile card style */
    .mobile-cards .card {
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 10px;
        margin-bottom: 10px;
        background-color: #fff;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    .mobile-cards .card p {
        margin: 5px 0;
        font-size: 14px;
    }
}

/* Make table scrollable on very small screens */
@media (max-width: 480px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    th, td {
        padding: 6px;
        font-size: 12px;
    }





/* =========================================================
   MONEY RECEIPT PAGE
========================================================= */

.moneyreceipt-page {
    padding: 10px 5px 40px;
}


/* =========================================================
   PAGE HEADER
========================================================= */

.moneyreceipt-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 22px;
    padding: 22px 25px;

    border: 1px solid #e2e8f0;
    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8fafc 65%,
            #eff6ff 100%
        );

    box-shadow:
        0 5px 20px rgba(15, 23, 42, .06);
}

.moneyreceipt-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.moneyreceipt-title-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 13px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #4f46e5
        );

    box-shadow:
        0 8px 18px rgba(37, 99, 235, .22);

    font-size: 1.1rem;
}

.moneyreceipt-title h1 {
    margin: 0;

    color: #0f172a;

    font-size: 1.35rem;
    font-weight: 800;
}

.moneyreceipt-title p {
    margin: 4px 0 0;

    color: #64748b;

    font-size: .78rem;
}


/* =========================================================
   MAIN CARD
========================================================= */

.moneyreceipt-card {
    overflow: hidden;

    border: 1px solid #e2e8f0;
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 8px 30px rgba(15, 23, 42, .07);
}


/* =========================================================
   CARD HEADER
========================================================= */

.moneyreceipt-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 18px 22px;

    border-bottom: 1px solid #e5e7eb;

    background: #f8fafc;
}

.moneyreceipt-card-header h3 {
    margin: 0;

    color: #1e293b;

    font-size: .95rem;
    font-weight: 800;
}

.moneyreceipt-card-header p {
    margin: 4px 0 0;

    color: #64748b;

    font-size: .7rem;
}


/* =========================================================
   FORM BODY
========================================================= */

.moneyreceipt-card-body {
    padding: 25px;
}


/* =========================================================
   FORM GROUP
========================================================= */

.mr-form-group {
    margin-bottom: 20px;
}

.mr-form-label {
    display: flex;
    align-items: center;
    gap: 6px;

    margin-bottom: 7px;

    color: #334155;

    font-size: .74rem;
    font-weight: 700;
}

.mr-form-label i {
    color: #2563eb;
    font-size: .7rem;
}

.mr-required {
    color: #dc2626;
}


/* =========================================================
   FORM CONTROL
========================================================= */

.moneyreceipt-card .form-control,
.moneyreceipt-card .form-select {
    min-height: 42px;

    border: 1px solid #dbe2ea;
    border-radius: 9px;

    color: #334155;

    background-color: #ffffff;

    font-size: .78rem;

    box-shadow: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.moneyreceipt-card textarea.form-control {
    min-height: 82px;
    resize: vertical;
}

.moneyreceipt-card .form-control:focus,
.moneyreceipt-card .form-select:focus {
    border-color: #60a5fa;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, .10);
}

.moneyreceipt-card .form-control[readonly] {
    color: #475569;
    background: #f8fafc;
    cursor: not-allowed;
}


/* =========================================================
   NARRATION
========================================================= */

.narration-box {
    margin-top: 2px;
}


/* =========================================================
   VOUCHER TABLE WRAPPER
========================================================= */

.receipt-table-wrapper {
    margin-top: 10px;

    overflow-x: auto;

    border: 1px solid #e2e8f0;
    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 3px 12px rgba(15, 23, 42, .04);
}


/* =========================================================
   VOUCHER TABLE
========================================================= */

.receipt-table {
    width: 100%;
    min-width: 900px;

    margin: 0;

    border-collapse: separate;
    border-spacing: 0;
}

.receipt-table thead th {
    padding: 13px 10px;

    border: 0;
    border-bottom: 1px solid #dbe2ea;

    color: #475569;

    background: #f8fafc;

    font-size: .68rem;
    font-weight: 800;

    text-align: center;

    white-space: nowrap;

    text-transform: uppercase;
    letter-spacing: .25px;
}

.receipt-table thead th:first-child {
    border-top-left-radius: 13px;
}

.receipt-table thead th:last-child {
    border-top-right-radius: 13px;
}

.receipt-table tbody td {
    padding: 10px 8px;

    border-bottom: 1px solid #edf1f5;

    vertical-align: middle;

    background: #ffffff;
}

.receipt-table tbody tr {
    transition: background .2s ease;
}

.receipt-table tbody tr:hover td {
    background: #f8fbff;
}

.receipt-table tbody tr:last-child td {
    border-bottom: 0;
}


/* =========================================================
   TABLE INPUTS
========================================================= */

.receipt-table .form-control,
.receipt-table .form-select {
    min-height: 38px;

    padding: 7px 9px;

    border-radius: 8px;

    font-size: .72rem;
}

.receipt-table .dr,
.receipt-table .cr {
    min-width: 100px;

    text-align: right;

    font-weight: 700;
}


/* =========================================================
   CHECKBOX
========================================================= */

.row-checkbox {
    width: 17px;
    height: 17px;

    cursor: pointer;

    accent-color: #2563eb;
}


/* =========================================================
   TOTAL SECTION
========================================================= */

.receipt-total-wrapper {
    margin-top: 18px;

    padding: 18px;

    border: 1px solid #dbeafe;
    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #f8fbff,
            #eff6ff
        );
}

.receipt-total-grid {
    display: grid;

    grid-template-columns:
        minmax(260px, 1fr)
        130px
        130px;

    gap: 15px;

    align-items: center;
}

.total-word-label {
    display: block;

    margin-bottom: 7px;

    color: #475569;

    font-size: .68rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .3px;
}

.total-word-label i {
    color: #64748b;

    text-transform: none;
}

.total-word-input {
    width: 100% !important;

    min-height: 42px;

    border: 1px solid #cbd5e1;
    border-radius: 9px;

    padding: 8px 11px;

    color: #334155;

    background: #ffffff;

    font-size: .76rem;
    font-weight: 600;
}

.total-box label {
    display: block;

    margin-bottom: 7px;

    color: #475569;

    font-size: .67rem;
    font-weight: 800;

    text-transform: uppercase;
}

.total-box .form-control {
    width: 100% !important;

    min-height: 42px;

    color: #0f172a;

    background: #ffffff;

    font-size: .8rem;
    font-weight: 800;

    text-align: right;
}


/* =========================================================
   FORM FOOTER
========================================================= */

.moneyreceipt-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 10px;

    padding: 18px 25px;

    border-top: 1px solid #e5e7eb;

    background: #f8fafc;
}


/* =========================================================
   BUTTONS
========================================================= */

.mr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    min-height: 40px;

    padding: 8px 18px;

    border: 0;
    border-radius: 9px;

    font-size: .74rem;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.mr-btn:hover {
    transform: translateY(-2px);
}

.mr-btn-primary {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #4f46e5
        );

    box-shadow:
        0 6px 15px rgba(37, 99, 235, .20);
}

.mr-btn-primary:hover {
    color: #ffffff;

    box-shadow:
        0 9px 20px rgba(37, 99, 235, .28);
}

.mr-btn-secondary {
    color: #475569;

    background: #ffffff;

    border: 1px solid #dbe2ea;
}

.mr-btn-secondary:hover {
    color: #1e293b;

    background: #f1f5f9;
}


/* =========================================================
   SMALL BADGE
========================================================= */

.mr-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    padding: 5px 9px;

    border-radius: 7px;

    color: #1d4ed8;

    background: #dbeafe;

    font-size: .62rem;
    font-weight: 700;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .receipt-total-grid {
        grid-template-columns: 1fr 1fr;
    }

    .total-word {
        grid-column: 1 / -1;
    }

}


@media (max-width: 767px) {

    .moneyreceipt-page {
        padding: 5px 0 30px;
    }

    .moneyreceipt-header {
        padding: 18px;

        align-items: flex-start;
    }

    .moneyreceipt-title-icon {
        width: 42px;
        height: 42px;
    }

    .moneyreceipt-title h1 {
        font-size: 1.1rem;
    }

    .moneyreceipt-card-body {
        padding: 18px;
    }

    .moneyreceipt-card-header {
        padding: 15px 18px;
    }

    .receipt-total-grid {
        grid-template-columns: 1fr;
    }

    .total-word {
        grid-column: auto;
    }

    .moneyreceipt-footer {
        padding: 15px 18px;

        justify-content: stretch;
    }

    .moneyreceipt-footer .mr-btn {
        flex: 1;
    }

}


@media (max-width: 480px) {

    .moneyreceipt-header {
        padding: 15px;
    }

    .moneyreceipt-title {
        gap: 10px;
    }

    .moneyreceipt-title-icon {
        width: 38px;
        height: 38px;

        border-radius: 10px;
    }

    .moneyreceipt-title h1 {
        font-size: 1rem;
    }

    .moneyreceipt-title p {
        font-size: .65rem;
    }

    .moneyreceipt-card-body {
        padding: 14px;
    }

    .moneyreceipt-footer {
        flex-direction: column;
    }

    .moneyreceipt-footer .mr-btn {
        width: 100%;
    }

}


/* ===================================================================  */





/* =========================================================
   MONEY RECEIPT PAGE
========================================================= */

.moneyreceipt-page {
    padding: 10px 5px 40px;
}


/* =========================================================
   PAGE HEADER
========================================================= */

.moneyreceipt-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 22px;
    padding: 22px 25px;

    border: 1px solid #e2e8f0;
    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8fafc 65%,
            #eff6ff 100%
        );

    box-shadow:
        0 5px 20px rgba(15, 23, 42, .06);
}

.moneyreceipt-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.moneyreceipt-title-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 13px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #4f46e5
        );

    box-shadow:
        0 8px 18px rgba(37, 99, 235, .22);

    font-size: 1.1rem;
}

.moneyreceipt-title h1 {
    margin: 0;

    color: #0f172a;

    font-size: 1.35rem;
    font-weight: 800;
}

.moneyreceipt-title p {
    margin: 4px 0 0;

    color: #64748b;

    font-size: .78rem;
}


/* =========================================================
   MAIN CARD
========================================================= */

.moneyreceipt-card {
    overflow: hidden;

    border: 1px solid #e2e8f0;
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 8px 30px rgba(15, 23, 42, .07);
}


/* =========================================================
   CARD HEADER
========================================================= */

.moneyreceipt-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 18px 22px;

    border-bottom: 1px solid #e5e7eb;

    background: #f8fafc;
}

.moneyreceipt-card-header h3 {
    margin: 0;

    color: #1e293b;

    font-size: .95rem;
    font-weight: 800;
}

.moneyreceipt-card-header p {
    margin: 4px 0 0;

    color: #64748b;

    font-size: .7rem;
}


/* =========================================================
   FORM BODY
========================================================= */

.moneyreceipt-card-body {
    padding: 25px;
}


/* =========================================================
   FORM GROUP
========================================================= */

.mr-form-group {
    margin-bottom: 20px;
}

.mr-form-label {
    display: flex;
    align-items: center;
    gap: 6px;

    margin-bottom: 7px;

    color: #334155;

    font-size: .74rem;
    font-weight: 700;
}

.mr-form-label i {
    color: #2563eb;
    font-size: .7rem;
}

.mr-required {
    color: #dc2626;
}


/* =========================================================
   FORM CONTROL
========================================================= */

.moneyreceipt-card .form-control,
.moneyreceipt-card .form-select {
    min-height: 42px;

    border: 1px solid #dbe2ea;
    border-radius: 9px;

    color: #334155;

    background-color: #ffffff;

    font-size: .78rem;

    box-shadow: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.moneyreceipt-card textarea.form-control {
    min-height: 82px;
    resize: vertical;
}

.moneyreceipt-card .form-control:focus,
.moneyreceipt-card .form-select:focus {
    border-color: #60a5fa;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, .10);
}

.moneyreceipt-card .form-control[readonly] {
    color: #475569;
    background: #f8fafc;
    cursor: not-allowed;
}


/* =========================================================
   NARRATION
========================================================= */

.narration-box {
    margin-top: 2px;
}


/* =========================================================
   VOUCHER TABLE WRAPPER
========================================================= */

.receipt-table-wrapper {
    margin-top: 10px;

    overflow-x: auto;

    border: 1px solid #e2e8f0;
    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 3px 12px rgba(15, 23, 42, .04);
}


/* =========================================================
   VOUCHER TABLE
========================================================= */

.receipt-table {
    width: 100%;
    min-width: 900px;

    margin: 0;

    border-collapse: separate;
    border-spacing: 0;
}

.receipt-table thead th {
    padding: 13px 10px;

    border: 0;
    border-bottom: 1px solid #dbe2ea;

    color: #475569;

    background: #f8fafc;

    font-size: .68rem;
    font-weight: 800;

    text-align: center;

    white-space: nowrap;

    text-transform: uppercase;
    letter-spacing: .25px;
}

.receipt-table thead th:first-child {
    border-top-left-radius: 13px;
}

.receipt-table thead th:last-child {
    border-top-right-radius: 13px;
}

.receipt-table tbody td {
    padding: 10px 8px;

    border-bottom: 1px solid #edf1f5;

    vertical-align: middle;

    background: #ffffff;
}

.receipt-table tbody tr {
    transition: background .2s ease;
}

.receipt-table tbody tr:hover td {
    background: #f8fbff;
}

.receipt-table tbody tr:last-child td {
    border-bottom: 0;
}


/* =========================================================
   TABLE INPUTS
========================================================= */

.receipt-table .form-control,
.receipt-table .form-select {
    min-height: 38px;

    padding: 7px 9px;

    border-radius: 8px;

    font-size: .72rem;
}

.receipt-table .dr,
.receipt-table .cr {
    min-width: 100px;

    text-align: right;

    font-weight: 700;
}


/* =========================================================
   CHECKBOX
========================================================= */

.row-checkbox {
    width: 17px;
    height: 17px;

    cursor: pointer;

    accent-color: #2563eb;
}


/* =========================================================
   TOTAL SECTION
========================================================= */

.receipt-total-wrapper {
    margin-top: 18px;

    padding: 18px;

    border: 1px solid #dbeafe;
    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #f8fbff,
            #eff6ff
        );
}

.receipt-total-grid {
    display: grid;

    grid-template-columns:
        minmax(260px, 1fr)
        130px
        130px;

    gap: 15px;

    align-items: center;
}

.total-word-label {
    display: block;

    margin-bottom: 7px;

    color: #475569;

    font-size: .68rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .3px;
}

.total-word-label i {
    color: #64748b;

    text-transform: none;
}

.total-word-input {
    width: 100% !important;

    min-height: 42px;

    border: 1px solid #cbd5e1;
    border-radius: 9px;

    padding: 8px 11px;

    color: #334155;

    background: #ffffff;

    font-size: .76rem;
    font-weight: 600;
}

.total-box label {
    display: block;

    margin-bottom: 7px;

    color: #475569;

    font-size: .67rem;
    font-weight: 800;

    text-transform: uppercase;
}

.total-box .form-control {
    width: 100% !important;

    min-height: 42px;

    color: #0f172a;

    background: #ffffff;

    font-size: .8rem;
    font-weight: 800;

    text-align: right;
}


/* =========================================================
   FORM FOOTER
========================================================= */

.moneyreceipt-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 10px;

    padding: 18px 25px;

    border-top: 1px solid #e5e7eb;

    background: #f8fafc;
}


/* =========================================================
   BUTTONS
========================================================= */

.mr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    min-height: 40px;

    padding: 8px 18px;

    border: 0;
    border-radius: 9px;

    font-size: .74rem;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.mr-btn:hover {
    transform: translateY(-2px);
}

.mr-btn-primary {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #4f46e5
        );

    box-shadow:
        0 6px 15px rgba(37, 99, 235, .20);
}

.mr-btn-primary:hover {
    color: #ffffff;

    box-shadow:
        0 9px 20px rgba(37, 99, 235, .28);
}

.mr-btn-secondary {
    color: #475569;

    background: #ffffff;

    border: 1px solid #dbe2ea;
}

.mr-btn-secondary:hover {
    color: #1e293b;

    background: #f1f5f9;
}


/* =========================================================
   SMALL BADGE
========================================================= */

.mr-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    padding: 5px 9px;

    border-radius: 7px;

    color: #1d4ed8;

    background: #dbeafe;

    font-size: .62rem;
    font-weight: 700;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .receipt-total-grid {
        grid-template-columns: 1fr 1fr;
    }

    .total-word {
        grid-column: 1 / -1;
    }

}


@media (max-width: 767px) {

    .moneyreceipt-page {
        padding: 5px 0 30px;
    }

    .moneyreceipt-header {
        padding: 18px;

        align-items: flex-start;
    }

    .moneyreceipt-title-icon {
        width: 42px;
        height: 42px;
    }

    .moneyreceipt-title h1 {
        font-size: 1.1rem;
    }

    .moneyreceipt-card-body {
        padding: 18px;
    }

    .moneyreceipt-card-header {
        padding: 15px 18px;
    }

    .receipt-total-grid {
        grid-template-columns: 1fr;
    }

    .total-word {
        grid-column: auto;
    }

    .moneyreceipt-footer {
        padding: 15px 18px;

        justify-content: stretch;
    }

    .moneyreceipt-footer .mr-btn {
        flex: 1;
    }

}


@media (max-width: 480px) {

    .moneyreceipt-header {
        padding: 15px;
    }

    .moneyreceipt-title {
        gap: 10px;
    }

    .moneyreceipt-title-icon {
        width: 38px;
        height: 38px;

        border-radius: 10px;
    }

    .moneyreceipt-title h1 {
        font-size: 1rem;
    }

    .moneyreceipt-title p {
        font-size: .65rem;
    }

    .moneyreceipt-card-body {
        padding: 14px;
    }

    .moneyreceipt-footer {
        flex-direction: column;
    }

    .moneyreceipt-footer .mr-btn {
        width: 100%;
    }

}

/* ======================================================================  */


/* =========================================================
   NOTICE PAGE
========================================================= */

.notice-page {
    padding: 10px 5px 30px;
}

/* Header */
.notice-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 22px;
    padding: 20px 22px;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;

    box-shadow: 0 5px 20px rgba(15, 23, 42, .06);
}

.notice-title-wrapper {
    display: flex;
    align-items: center;
    gap: 13px;
}

.notice-title-icon {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #4f46e5);

    box-shadow: 0 7px 18px rgba(37, 99, 235, .20);

    font-size: 1.1rem;
}

.notice-page-header h2 {
    margin: 0;
    color: #1e293b;
    font-size: 1.35rem;
    font-weight: 800;
}

.notice-page-header p {
    margin: 3px 0 0;
    color: #64748b;
    font-size: .75rem;
}

/* Add button */
.btn-add-notice {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 10px 17px;

    border: 0;
    border-radius: 10px;

    color: #ffffff !important;

    background: linear-gradient(
        135deg,
        #2563eb,
        #4f46e5
    );

    font-size: .78rem;
    font-weight: 700;

    box-shadow: 0 6px 16px rgba(37, 99, 235, .18);

    transition: all .25s ease;
}

.btn-add-notice:hover {
    color: #ffffff !important;
    transform: translateY(-2px);

    box-shadow: 0 10px 22px rgba(37, 99, 235, .25);
}

/* =========================================================
   ALERT
========================================================= */

.notice-alert {
    border: 0;
    border-radius: 12px;

    padding: 12px 15px;

    font-size: .78rem;
    box-shadow: 0 4px 15px rgba(15, 23, 42, .05);
}

/* =========================================================
   TABLE CARD
========================================================= */

.notice-table-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 16px;

    box-shadow: 0 6px 24px rgba(15, 23, 42, .06);
}

/* Table wrapper */
.notice-table-wrapper {
    overflow-x: auto;
}

/* Table */
.notice-table {
    width: 100%;
    min-width: 850px;

    margin: 0;

    border-collapse: separate;
    border-spacing: 0;
}

/* Header */
.notice-table thead th {
    padding: 14px 15px;

    color: #475569;

    background: #f8fafc;

    border-bottom: 1px solid #e2e8f0;

    font-size: .69rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .35px;

    white-space: nowrap;
}

/* Body */
.notice-table tbody td {
    padding: 14px 15px;

    color: #475569;

    border-bottom: 1px solid #f1f5f9;

    font-size: .75rem;

    vertical-align: middle;
}

.notice-table tbody tr {
    transition: all .2s ease;
}

.notice-table tbody tr:hover {
    background: #f8fafc;
}

/* Last row */
.notice-table tbody tr:last-child td {
    border-bottom: 0;
}

/* Serial */
.notice-number {
    width: 55px;

    color: #64748b !important;

    font-weight: 700;
}

/* Title */
.notice-name {
    min-width: 190px;

    color: #1e293b !important;

    font-weight: 750;
}

/* Description */
.notice-description {
    min-width: 300px;

    color: #64748b !important;

    line-height: 1.6;
}

/* Truncate */
.notice-truncate {
    max-width: 350px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}

/* =========================================================
   ATTACHMENT
========================================================= */

.attachment-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    padding: 6px 9px;

    border-radius: 8px;

    color: #2563eb;

    background: #eff6ff;

    font-size: .65rem;
    font-weight: 700;

    text-decoration: none;

    transition: all .2s ease;
}

.attachment-badge:hover {
    color: #1d4ed8;

    background: #dbeafe;

    transform: translateY(-1px);
}

.no-attachment {
    color: #94a3b8;

    font-size: .68rem;
}

/* =========================================================
   ACTION BUTTONS
========================================================= */

.notice-actions {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 5px;
}

.notice-action {
    width: 31px;
    height: 31px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 8px;

    text-decoration: none !important;

    font-size: .7rem;

    transition: all .2s ease;
}

/* Details */
.action-details {
    color: #0891b2;

    background: #ecfeff;
}

.action-details:hover {
    color: #ffffff;

    background: #0891b2;

    transform: translateY(-2px);
}

/* Edit */
.action-edit {
    color: #d97706;

    background: #fffbeb;
}

.action-edit:hover {
    color: #ffffff;

    background: #d97706;

    transform: translateY(-2px);
}

/* Delete */
.action-delete {
    color: #dc2626;

    background: #fef2f2;
}

.action-delete:hover {
    color: #ffffff;

    background: #dc2626;

    transform: translateY(-2px);
}

/* =========================================================
   EMPTY STATE
========================================================= */

.notice-empty {
    padding: 55px 20px !important;

    text-align: center;

    border-bottom: 0 !important;
}

.notice-empty-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 12px;

    border-radius: 16px;

    color: #94a3b8;

    background: #f1f5f9;

    font-size: 1.3rem;
}

.notice-empty-title {
    margin: 0 0 4px;

    color: #475569;

    font-size: .85rem;
    font-weight: 750;
}

.notice-empty-text {
    margin: 0;

    color: #94a3b8;

    font-size: .7rem;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .notice-page {
        padding: 5px 2px 25px;
    }

    .notice-page-header {
        padding: 16px;

        flex-direction: column;
        align-items: stretch;
    }

    .notice-title-wrapper {
        justify-content: flex-start;
    }

    .notice-page-header h2 {
        font-size: 1.15rem;
    }

    .btn-add-notice {
        width: 100%;

        justify-content: center;
    }

    .notice-table-card {
        border-radius: 13px;
    }

    .notice-table thead th {
        padding: 12px;
    }

    .notice-table tbody td {
        padding: 12px;
    }
}

@media (max-width: 576px) {

    .notice-title-icon {
        width: 40px;
        height: 40px;

        border-radius: 11px;

        font-size: .95rem;
    }

    .notice-page-header h2 {
        font-size: 1.05rem;
    }

    .notice-page-header p {
        font-size: .68rem;
    }

}













}
