.popup-container {
    overflow: auto;
    height: 80vh;
    padding: 15px;
}

.popup-card {
    background: #fff;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.popup-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    border-left: 4px solid #ff9800;
    padding-left: 8px;
}

.popup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px 15px;
}

.popup-grid div {
    display: flex;
    flex-direction: column;
}

.popup-grid span {
    font-size: 14px;
    color: #777;
}

.popup-grid strong {
    font-size: 14px;
    color: #222;
}
a{
    text-decoration: none !important;
}

.status-badge {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    display: inline-block;
}

/* Colors */
.badge-green {
    background-color: #28a745; /* Paid */
}

.badge-yellow {
    background-color: #ffc107; /* Pending */
    color: #333;
}

.badge-red {
    background-color: #dc3545; /* Failed */
}

.badge-gray {
    background-color: #6c757d; /* Default */
}

table.dataTable {
    border-collapse: collapse !important;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);

    thead {
        background-color: #ff9800;
        color: white;
        font-size: 14px;

        th {
            padding: 12px;
            font-weight: 600;
            text-align: left;
        }
    }

    tbody td {
        padding: 10px;
        font-size: 13px;
        vertical-align: top;
        background-color: #fff;
    }
}

.dataTables_wrapper {
    .dataTables_filter {
        margin-right: 5px;


        input {
            padding: 6px 15px !important;
            border-radius: 30px !important;
            border: 1px solid #ccc !important;
        }
    }

    .dataTables_length select {
        padding: 6px 10px !important;
        border: 1px solid #ccc !important;
    }

    .dataTables_paginate {
        .paginate_button {
            margin: 0 3px;
        }        
    }
}

.img-thumb {
    width: 150px !important;
    border-radius: 6px !important;
}

/* Action buttons */
.btn-view, .btn-edit, .btn-delete {
    background: none;
    border: none;
    font-size: 16px;
    margin: 0 4px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-view:hover { color: #1976D2; }
.btn-edit:hover { color: #388E3C; }
.btn-delete:hover { color: #D32F2F; }

/* Key Metrics List */
td ul {
    list-style: disc;
    padding-left: 18px;
    margin: 0;
}

td ul li {
    margin-bottom: 4px;
    font-size: 13px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 18px;
    margin-bottom: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    background-color: #ccc;
    transition: .4s;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 2px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #ff9800;
}

input:checked + .slider:before {
    transform: translateX(18px);
    left: 0;
}

.slider.round {
    border-radius: 34px;
}
.receipt-card {
    display: block;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: 0.3s;
    background: #f9f9f9;
    margin-bottom: 20px;
}

.receipt-card:hover {
    background: #eef5ff;
    transform: translateY(-3px);
}

.receipt-icon {
    font-size: 40px;
    color: #ea7c11;
    margin-bottom: 10px;
}

.receipt-name {
    font-weight: 600;
    font-size: 12px;
    line-height: normal;
    overflow: hidden;
}

.receipt-date {
    font-size: 12px;
    color: #777;
    line-height: normal;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:active,
.dataTables_wrapper .dataTables_paginate .paginate_button:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.current{
    background: linear-gradient(to bottom, #ea7c11 0%, #ea7c11 100%) !important;
    box-shadow: inset 0 0 3px #ea7c11 !important;
    border: 1px solid #ea7c11 !important;
}

body .dataTables_wrapper .dataTables_paginate .paginate_button.current{
    color: white !important;
}

body .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
body .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
body .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active
{
    background: inherit !important;
    box-shadow: inherit !important;
    border: inherit !important;
}

.swal-button--danger:not([disabled]):hover,.swal-button--confirm {
    background-color: #ea7c11 !important;
}

.swal-icon--success, .swal-icon--success__ring{
    border-color: #ea7c11 !important;
}

.swal-icon--success__line {
    background-color: #ea7c11 !important;
}