/* ESTILOS PROPIOS */

.custom-bg-dashboard {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%) !important;
    clip-path: ellipse(70% 65% at 50% 25%);
}

.custom-frosted-glass {
}

.custom-bgcolor-primary {
    background-color: #1a1a2e !important;
}

.custom-font-family-primary {
    font-family: "Poppins", sans-serif !important;
}

.custom-btn-primary {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    color: #fff !important;
    font-size: .875rem;
    font-family: "Poppins", sans-serif !important;
    border-radius: 8px;
    border: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(26, 26, 46, 0.25);
}

.custom-btn-primary:hover:not([disabled]) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 26, 46, 0.35);
}

.custom-btn-secondary {
    background-color: #fff !important;
    color: #1a1a2e !important;
    font-size: .875rem;
    font-family: "Poppins", sans-serif !important;
    border-radius: 8px;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.2s ease;
}

.custom-btn-secondary:hover {
    background-color: #f8fafc !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.custom-btn-primary[disabled]{
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    opacity: 0.65 !important;
    cursor: not-allowed !important;
}

.custom-btn-cancel {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #fff !important;
    font-size: .875rem;
    font-family: "Poppins", sans-serif !important;
    border-radius: 8px;
    border: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}

.custom-btn-cancel:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

.custom-palette-bg-primary {
    background-color: #1a1a2e !important;
}

.custom-palette-bg-secondary {
    background-color: #fff !important;
}

.custom-palette-color-secondary {
    color: #1a1a2e !important;
    font-size: .875rem !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    font-family: "Poppins", sans-serif !important;

}

.custom-palette-color-primary {
    color: #1a1a2e !important;
    font-size: .875rem !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    font-family: "Poppins", sans-serif !important;

}

.custom-palette-bg-cancel {
    background-color: rgb(239 68 68) !important;
}

.custom-nav-bar .nav-item .nav-link {
    padding-top: .2rem !important;
    padding-bottom: .2rem !important;
    color: #fff !important;
    font-size: 0.84rem;
}
.custom-nav-bar .nav-item .nav-link .icon {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px;
}
.custom-nav-bar .nav-item .nav-link .icon i {
    font-size: 0.72rem !important;
}
.custom-nav-bar .nav-item .collapse .nav-link {
    padding-top: .1rem !important;
    padding-bottom: .1rem !important;
    font-size: 0.78rem;
}


.custom-nav-bar .nav-item .nav-link.active .nav-link-text {
    color:#1a1a2e !important;
}

.custom-nav-bar .nav-item .nav-link.active {
    background-color: #fff !important;
    background-image: none !important;
}

.custom-underline {
    text-decoration: underline !important;
}

/* ESTILOS BASE */
.graph {
    max-height: 275px;
    max-width: 275px;
}


.view-bills {
    font-weight: 550;
}

.table-wrapper-scroll-y {
    display: block;

}

.my-custom-scrollbar {
    position: relative;
    height: 320px;
    overflow: auto;
    width: 100%;
    min-height: 41vh !important
}

.my-custom-scrollbar::-webkit-scrollbar {
    width: 3px !important;
    height: 5px !important;
}



.input-sm {
    height: 30px;
}

.input-sm-2 {
    height: 10px;
}

.report-text {
    font-size: 11px;
}

.ledger-text {
    font-size: 12px;
}

.bill-text {
    font-size: 15px;
}

.my-custom-scrollbar-stock {
    position: relative;
    height: 380px;
    overflow: auto;
    width: 100%;
    min-height: 53vh !important
}

.status-container {
    height: 250px;
    overflow-y: scroll;
    padding: 5px;
}

.my-custom-scrollbar-stock::-webkit-scrollbar {
    width: 3px !important;
    height: 5px !important;
}


.my-custom-scrollbar-ledger {
    position: relative;
    height: 450px;
    overflow: auto;
    width: 100%;
    min-height: 65vh !important
}

.my-custom-scrollbar-ledger::-webkit-scrollbar {
    width: 3px !important;
    height: 5px !important;
}


.my-custom-scrollbar-bill2 {
    position: relative;
    height: 300px;
    overflow: auto;
    width: 100%;
    min-height: 50vh !important
}

.my-custom-scrollbar-bill2::-webkit-scrollbar {
    width: 3px !important;
    height: 5px !important;
}

.pos-code {
    font-weight: 750;
    font-size: 16px;
}

.pos-text {
    font-size: 13px;
}


.pos-card:active + .pos-card,
.pos-card:checked + .pos-card,
.pos-card.active,
.pos-card:active,
.pos-card:focus {
    color: #FFF;
    background-color: rgba(0, 204, 189, .5);
}

.pos-card:hover:not(.disabled):not(:disabled) {
    color: #FFF;
    background-color: rgba(0, 204, 189, .5);
}


.pos-card-wrapper-scroll-y {
    display: block;

}

.my-custom-scrollbar-pos-card {
    position: relative;
    height: 400px;
    overflow: auto;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    min-height: 55vh !important
}

.my-custom-scrollbar-pos-card::-webkit-scrollbar {
    width: 3px !important;

}


.my-custom-scrollbar-pos-card::-webkit-scrollbar-track {
    background: transparent;
}

.my-custom-scrollbar-pos-card::-webkit-scrollbar-thumb {
    background: transparent;
}

.my-custom-scrollbar-pos-card::-webkit-scrollbar-thumb:hover {
    background: transparent;
}




.order-list-wrapper-scroll-y {
    display: block;

}

.my-custom-scrollbar-order-list {
    position: relative;
    height: 210px;
    overflow: auto;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    min-height: 30vh !important
}

.my-custom-scrollbar-order-list::-webkit-scrollbar {
    width: 3px !important;

}


.my-custom-scrollbar-order-list::-webkit-scrollbar-track {
    background: transparent;
}

.my-custom-scrollbar-order-list::-webkit-scrollbar-thumb {
    background: transparent;
}

.my-custom-scrollbar-order-list::-webkit-scrollbar-thumb:hover {
    background: transparent;
}




.btn-counter {
    max-height: 30px;
    max-width: 30px;
}


.customer-badge {
    height: 30px;
    width: 30px;
}

.login-cover {
    min-height: 780px;
    max-width: 1200px;
}

.inventory-text {
    font-size: 13px;
}



.match-height > [class*=col] {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-flow: column;
    -ms-flex-flow: column;
    flex-flow: column
}

.match-height > [class*=col] > .card {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto
}

.login-logo {
    width: 60px;
}


.board-title {
    background-color: #f1f1f1;
    padding: 5px 20px;
}

.flex {
    display: flex;
    flex-direction: row;
}

.whitespace-no-wrap {
    white-space: nowrap;
}

.scrum-board {
    flex: 1;
    padding: 20px;
}

.scrum-board-processing {
    flex: 1;
    padding: 20px;
    border-right: 1px solid #ddd;
    border-left: 1px solid #ddd;
}




.scrum-task-pending {
    position: relative;
    display: block;
    padding: 10px;
    border: .5px solid #8392ab;
    border-left: 5px solid #8392ab;
    margin-bottom: 10px;
    border-radius: 15px;
    background-color: #fff;
    cursor: all-scroll;
}


.scrum-task-processing {
    position: relative;
    display: block;
    padding: 10px;
    border: .5px solid #faae42;
    border-left: 5px solid #faae42;
    margin-bottom: 10px;
    border-radius: 15px;
    background-color: #fff;
    cursor: all-scroll;
}


.scrum-task-ready {
    position: relative;
    display: block;
    padding: 10px;
    border: .5px solid #2dce89;
    border-left: 5px solid #2dce89;
    margin-bottom: 10px;
    border-radius: 15px;
    background-color: #fff;
    cursor: all-scroll;
}



.scrum-board-column {
    min-height: 200px;
    padding: 10px;
    height: 100%;
}

/* ============================================
   GLOBAL TABLE STYLES - app-table
   ============================================ */
.app-table-wrapper {
    max-height: calc(100vh - 240px);
    overflow-y: auto;
    overflow-x: auto;
}
.app-table {
    margin-bottom: 0 !important;
}
.app-table thead th {
    padding: 0.5rem 0.6rem !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    vertical-align: middle;
    background: #1a1a2e !important;
    color: rgba(255,255,255,0.9) !important;
    border-bottom: 2px solid #2d2d5e !important;
    position: sticky;
    top: 0;
    z-index: 3;
    opacity: 1 !important;
}
.app-table td {
    padding: 0.4rem 0.6rem !important;
    font-size: 0.78rem !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #f1f5f9 !important;
}
.app-table tbody tr {
    transition: background-color 0.15s ease;
}
.app-table tbody tr:hover {
    background-color: #f0f4ff !important;
}





.today-task-pending {
    position: relative;
    display: block;
    padding: 5px;
    border: .5px solid #8392ab;
    border-left: 5px solid #8392ab;
    margin-bottom: 5px;
    border-radius: 15px;
    background-color: #fff;
}


.today-task-processing {
    position: relative;
    display: block;
    padding: 5px;
    border: .5px solid #faae42;
    border-left: 5px solid #faae42;
    margin-bottom: 5px;
    border-radius: 15px;
    background-color: #fff;
}


.today-task-ready {
    position: relative;
    display: block;
    padding: 5px;
    border: .5px solid #2dce89;
    border-left: 5px solid #2dce89;
    margin-bottom: 5px;
    border-radius: 15px;
    background-color: #fff;
}

.today-task-delivered {
    position: relative;
    display: block;
    padding: 5px;
    border: .5px solid #0083ff;
    border-left: 5px solid #0083ff;
    margin-bottom: 5px;
    border-radius: 15px;
    background-color: #fff;
}

.today-task-returned {
    position: relative;
    display: block;
    padding: 5px;
    border: .5px solid #f5365c;
    border-left: 5px solid #f5365c;
    margin-bottom: 5px;
    border-radius: 15px;
    background-color: #fff;
}

.input-counter {
    max-width: 80px !important;
}

.prevent-scroll{
    overflow: hidden;
}
.text-wrap{
    text-wrap: wrap;
}

.custom-pos-grid {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: 1fr;
    grid-auto-flow: row;
}

@media (min-width: 600px) {
    .custom-pos-grid {
        grid-template-columns: none;
        grid-template-rows: repeat(10, max-content);
        grid-auto-flow: column;
    }
}

@media (min-width: 1024px) {
    .custom-pos-grid {
        grid-template-columns: none;
        grid-template-rows: repeat(8, max-content);
        grid-auto-flow: column;
    }
}

/* POS Category Card Animations */
.pos-category-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.pos-category-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.pos-category-card:active {
    transform: translateY(-2px) scale(0.98);
}

/* Service row hover in POS modal */
.service-row-hover:hover {
    background-color: #eff6ff !important;
}

/* No availability indicator */
.pos-category-no-availability {
    position: relative;
}

.pos-category-no-availability::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid #ef4444;
    border-radius: 0.375rem;
    pointer-events: none;
    z-index: 2;
    animation: pulse-border 2s ease-in-out infinite;
}

.pos-category-no-availability::after {
    content: 'SIN DISPONIBILIDAD';
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(239, 68, 68, 0.95);
    color: white;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 3;
    letter-spacing: 0.5px;
}

@keyframes pulse-border {
    0%, 100% {
        border-color: rgba(239, 68, 68, 1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    50% {
        border-color: rgba(239, 68, 68, 0.6);
        box-shadow: 0 0 8px 2px rgba(239, 68, 68, 0.3);
    }
}

/* Cart background with icon */
.cart-panel-bg {
    position: relative;
    overflow: hidden;
}

.cart-panel-bg::before {
    content: '\f07a';
    font-family: 'FontAwesome';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 6rem;
    color: rgba(245, 158, 11, 0.08);
    pointer-events: none;
    z-index: 0;
}

.cart-panel-bg > * {
    position: relative;
    z-index: 1;
}

/* Subtle background for POS */
.pos-subtle-bg {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
}

/* Category tab buttons */
.category-tab-btn:hover {
    transform: translateY(-2px);
    background: rgba(59, 130, 246, 0.6) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.category-tab-btn:active {
    transform: translateY(0);
}

/* ========================================
   GLOBAL ADMIN THEME - Dark Card Styling
   Aplica a todas las páginas bajo app.blade.php
   NO afecta POS (usa pos-layout)
   ======================================== */

/* Cards con bordes redondeados y sombra moderna */
.main-content .card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Card headers con fondo dark gradient */
.main-content .card > .card-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-bottom: none;
    padding: 1.25rem 1.5rem;
}

/* Labels dentro del card-header */
.main-content .card > .card-header label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

/* Títulos en card-header */
.main-content .card > .card-header h5,
.main-content .card > .card-header h6,
.main-content .card > .card-header .h5,
.main-content .card > .card-header .h6 {
    color: #fff;
}

/* Texto genérico en card-header */
.main-content .card > .card-header p,
.main-content .card > .card-header span:not(.badge) {
    color: rgba(255, 255, 255, 0.7);
}

/* Inputs y selects dentro del card-header */
.main-content .card > .card-header .form-control,
.main-content .card > .card-header .form-select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 8px;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.main-content .card > .card-header .form-control:focus,
.main-content .card > .card-header .form-select:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    color: #fff;
}

.main-content .card > .card-header .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.main-content .card > .card-header .form-select {
    color-scheme: dark;
}

.main-content .card > .card-header .form-select option {
    background: #1a1a2e;
    color: #fff;
}

/* Botones dentro del card-header */
.main-content .card > .card-header .btn-white,
.main-content .card > .card-header .btn-light {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.main-content .card > .card-header .btn-white:hover,
.main-content .card > .card-header .btn-light:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Table headers más elegantes */
.main-content .card .table thead {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.main-content .card .table thead th {
    color: #475569;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
    padding: 0.75rem 1rem;
}

/* Table rows con hover sutil */
.main-content .card .table tbody tr {
    transition: background-color 0.15s ease;
}

.main-content .card .table tbody tr:hover {
    background-color: #f8fafc;
}

/* Table cells con mejor espaciado */
.main-content .card .table tbody td {
    padding: 0.75rem 1rem;
    vertical-align: middle;
    font-size: 0.85rem;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}

/* Badges globales mejorados */
.main-content .badge {
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 0.35em 0.75em;
    border-radius: 6px;
}

/* Action buttons en tablas */
.main-content .card .table .btn-sm,
.main-content .card .table .btn-icon {
    border-radius: 6px;
    transition: all 0.2s;
}

.main-content .card .table .btn-sm:hover,
.main-content .card .table .btn-icon:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Card body con fondo limpio */
.main-content .card > .card-body {
    background: #fff;
}

/* Pagination links styling */
.main-content .card nav .pagination {
    gap: 4px;
}

.main-content .card nav .page-link {
    border-radius: 8px;
    border: none;
    color: #475569;
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
}

.main-content .card nav .page-item.active .page-link {
    background: #1a1a2e;
    color: #fff;
    box-shadow: 0 2px 8px rgba(26, 26, 46, 0.3);
}

/* Scrollbar global mejorada */
.main-content ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.main-content ::-webkit-scrollbar-track {
    background: transparent;
}

.main-content ::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.main-content ::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Custom list group para dropdowns de búsqueda */
.main-content .card .list-group {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    margin-top: 4px;
}

.main-content .card .list-group-item {
    border: none;
    border-bottom: 1px solid #f1f5f9;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    transition: background 0.15s;
    cursor: pointer;
}

.main-content .card .list-group-item:hover {
    background: #f8fafc;
}

/* Modal mejorados */
.main-content .modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.main-content .modal-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    padding: 1rem 1.5rem;
}

.main-content .modal-header .modal-title {
    color: #fff;
    font-weight: 600;
}

.main-content .modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.main-content .modal-footer {
    border-top: 1px solid #f1f5f9;
    padding: 1rem 1.5rem;
}

/* ===== EXPENSE SYSTEM STYLES ===== */

/* Tabs */
.expense-tabs {
    display: flex;
    border-bottom: 2px solid rgba(255,255,255,0.15);
    padding: 0;
    background: #1a1a2e;
    border-radius: 0.5rem 0.5rem 0 0;
}
.expense-tab {
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.expense-tab:hover {
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.08);
}
.expense-tab.active {
    color: #fff;
}
.expense-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: #fff;
    border-radius: 3px 3px 0 0;
}

/* Tab badges */
.tab-badge {
    background: #e2e8f0;
    color: #475569;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}
.tab-badge-warning {
    background: #fef3c7;
    color: #b45309;
}
.tab-badge-danger {
    background: #fee2e2;
    color: #dc2626;
    animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Alert banner */
.expense-alerts-banner {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.alert-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    flex: 1;
    min-width: 200px;
    transition: transform 0.2s ease;
}
.alert-item:hover {
    transform: translateY(-1px);
}
.alert-overdue {
    background: #fef2f2;
    color: #dc2626;
    border-left: 3px solid #dc2626;
}
.alert-upcoming {
    background: #fffbeb;
    color: #d97706;
    border-left: 3px solid #d97706;
}

/* Category icon badge */
.expense-cat-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* Type selector in category modal */
.expense-type-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.expense-type-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 0.6rem;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
    position: relative;
    flex: 1;
    min-width: 100px;
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    user-select: none;
    -webkit-user-select: none;
    border-bottom: 3px solid rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.2);
    opacity: 0.65;
    transform: scale(0.97);
}
.expense-type-option:hover {
    opacity: 0.9;
    transform: scale(1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.25);
}
.expense-type-option:active {
    transform: scale(0.96) translateY(1px);
    border-bottom-width: 1px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2), inset 0 1px 3px rgba(0,0,0,0.1);
}
.expense-type-option.selected {
    opacity: 1;
    transform: scale(1.02);
    box-shadow: 0 4px 14px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.3);
    border-bottom: 3px solid rgba(0,0,0,0.25);
}
.expense-type-option i.fa:first-child {
    color: #fff !important;
    font-size: 0.9rem;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.2));
}
.expense-type-option span {
    color: #fff !important;
}
.expense-type-option .check-icon {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0.75rem;
    background: #fff;
    border-radius: 50%;
    color: #22c55e !important;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
    text-shadow: none;
}

/* Recurring fields panel */
.recurring-fields {
    background: #f0f4ff;
    border: 1px dashed #93a5e8;
}

/* Scheduled cards */
.scheduled-card {
    border-radius: 0.5rem;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease;
}
.scheduled-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.scheduled-overdue {
    border-left: 3px solid #dc2626;
    background: #fef2f2;
}
.scheduled-upcoming {
    border-left: 3px solid #d97706;
    background: #fffbeb;
}
.scheduled-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.scheduled-cat {
    font-size: 0.78rem;
    font-weight: 600;
    color: #374151;
}
.scheduled-amount {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
}
.scheduled-card-body {
    margin-bottom: 0.5rem;
}
.scheduled-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Table danger light row */
.table-danger-light {
    background: #fff5f5 !important;
}
.table-danger-light:hover {
    background: #fee2e2 !important;
}

/* Button xs */
.btn-xs {
    padding: 0.15rem 0.4rem;
    font-size: 0.7rem;
    line-height: 1.2;
    border-radius: 0.25rem;
}
