/* Daily Cash Flow Module Styles - Professional & Minimal Design */

/* ============================================
   TREEGRID BASE STYLING - PROFESSIONAL LOOK
   ============================================ */

/* TreeGrid Container */
.e-treegrid {
    border: 1px solid #e5e7eb !important;
    border-radius: 4px !important;
    overflow: hidden;
}

/* Parent Row Styling - Subtle & Professional */
.e-treegrid .e-row[aria-expanded="true"],
.e-treegrid .e-row[aria-expanded="false"] {
    background-color: #fafbfc !important;
    font-weight: 600;
    border-left: 3px solid #64748b !important;
}

.e-treegrid .e-row[aria-expanded="true"]:hover,
.e-treegrid .e-row[aria-expanded="false"]:hover {
    background-color: #f4f5f7 !important;
}

/* Child Rows - Clean White */
.e-treegrid .e-row:not([aria-expanded]) {
    background: #ffffff;
    border-left: 3px solid transparent !important;
}

.e-treegrid .e-row:not([aria-expanded]):hover {
    background: #f9fafb !important;
}

/* Level-Based Styling - Monochrome & Professional */
.e-treegrid .e-row[aria-level="1"] {
    background-color: #f1f5f9 !important;
    font-weight: 700;
    font-size: 13px;
    border-left: 3px solid #475569 !important;
}

.e-treegrid .e-row[aria-level="2"] {
    background-color: #f8fafc !important;
    font-weight: 600;
    border-left: 3px solid #94a3b8 !important;
}

.e-treegrid .e-row[aria-level="3"] {
    background-color: #ffffff !important;
    font-weight: 500;
    border-left: 3px solid #cbd5e1 !important;
}

/* ============================================
   CARD STYLING - MINIMAL & CLEAN
   ============================================ */

.card.shadow-modern {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
    border-radius: 6px !important;
    border: 1px solid #e5e7eb !important;
    transition: all 0.2s ease;
}

.card.shadow-modern:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

/* ============================================
   PROFESSIONAL PAGE HEADER GRADIENTS
   ============================================ */

/* Base header gradient — deep navy */
.header-gradient {
    background: linear-gradient(135deg, #1a2c4e 0%, #2d4a80 100%);
    color: #fff;
    border-radius: 8px 8px 0 0;
    position: relative;
    overflow: hidden;
}

.header-gradient::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

/* Primary — bright blue */
.header-gradient-primary {
    background: linear-gradient(135deg, #1e3a6e 0%, #2563eb 100%);
    color: #fff;
    border-radius: 8px 8px 0 0;
    position: relative;
    overflow: hidden;
}

.header-gradient-primary::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    pointer-events: none;
}

/* Success — deep emerald */
.header-gradient-success {
    background: linear-gradient(135deg, #064e3b 0%, #059669 100%);
    color: #fff;
    border-radius: 8px 8px 0 0;
    position: relative;
    overflow: hidden;
}

.header-gradient-success::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    pointer-events: none;
}

/* Info — ocean teal */
.header-gradient-info {
    background: linear-gradient(135deg, #0c4a6e 0%, #0ea5e9 100%);
    color: #fff;
    border-radius: 8px 8px 0 0;
    position: relative;
    overflow: hidden;
}

.header-gradient-info::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    pointer-events: none;
}

/* Warning — rich amber */
.header-gradient-warning {
    background: linear-gradient(135deg, #78350f 0%, #d97706 100%);
    color: #fff;
    border-radius: 8px 8px 0 0;
    position: relative;
    overflow: hidden;
}

.header-gradient-warning::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    pointer-events: none;
}

/* Ensure text inside headers is always white */
.header-gradient *,
.header-gradient-primary *,
.header-gradient-success *,
.header-gradient-info *,
.header-gradient-warning * {
    color: inherit;
}

.header-gradient .text-white,
.header-gradient-primary .text-white,
.header-gradient-success .text-white,
.header-gradient-info .text-white,
.header-gradient-warning .text-white {
    color: #ffffff !important;
}

.header-gradient .opacity-75,
.header-gradient-primary .opacity-75,
.header-gradient-success .opacity-75,
.header-gradient-info .opacity-75,
.header-gradient-warning .opacity-75 {
    opacity: 0.82 !important;
}

/* ============================================
   Gradyan başlık içindeki "Yenile" / ikincil butonların
   tutarlı görünümü. Eski btn-outline-light butonlar soluk
   ve okunaksız görünüyordu; tüm sayfalarda buzlu-cam (frosted)
   beyaz stil ile değiştirildi.
   ============================================ */
.header-gradient .btn-outline-light,
.header-gradient-primary .btn-outline-light,
.header-gradient-success .btn-outline-light,
.header-gradient-info .btn-outline-light,
.header-gradient-warning .btn-outline-light,
.header-gradient .btn-light,
.header-gradient-primary .btn-light,
.header-gradient-success .btn-light,
.header-gradient-info .btn-light,
.header-gradient-warning .btn-light {
    background-color: rgba(255, 255, 255, 0.16) !important;
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    color: #ffffff !important;
    font-weight: 600;
    backdrop-filter: blur(2px);
    transition: background-color .15s ease, border-color .15s ease, transform .1s ease;
}

.header-gradient .btn-outline-light:hover,
.header-gradient-primary .btn-outline-light:hover,
.header-gradient-success .btn-outline-light:hover,
.header-gradient-info .btn-outline-light:hover,
.header-gradient-warning .btn-outline-light:hover,
.header-gradient .btn-light:hover,
.header-gradient-primary .btn-light:hover,
.header-gradient-success .btn-light:hover,
.header-gradient-info .btn-light:hover,
.header-gradient-warning .btn-light:hover,
.header-gradient .btn-outline-light:focus,
.header-gradient-primary .btn-outline-light:focus,
.header-gradient-success .btn-outline-light:focus,
.header-gradient-info .btn-outline-light:focus,
.header-gradient-warning .btn-outline-light:focus {
    background-color: rgba(255, 255, 255, 0.30) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.header-gradient .btn-outline-light:disabled,
.header-gradient-primary .btn-outline-light:disabled,
.header-gradient-success .btn-outline-light:disabled,
.header-gradient-info .btn-outline-light:disabled,
.header-gradient-warning .btn-outline-light:disabled,
.header-gradient .btn-outline-light.disabled {
    opacity: 0.55 !important;
    transform: none !important;
}

/* Filter Panel Styling */
.filter-panel {
    background: #fafbfc;
    border-radius: 6px;
    padding: 1.25rem;
    border: 1px solid #e5e7eb;
}

.filter-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.35rem;
    display: block;
}

/* Stats Card */
.stats-card {
    border-radius: 6px;
    transition: all 0.2s ease;
    background: white;
    border: 1px solid #e5e7eb;
    border-left: 3px solid transparent;
}

.stats-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.stats-card.primary {
    border-left-color: #475569;
}

.stats-card.success {
    border-left-color: #16a34a;
}

.stats-card.danger {
    border-left-color: #dc2626;
}

.stats-card.info {
    border-left-color: #0284c7;
}

.stats-card.warning {
    border-left-color: #ca8a04;
}

/* Button Enhancements */
.btn-gradient {
    background: #475569;
    border: none;
    color: white;
    transition: all 0.2s ease;
}

.btn-gradient:hover {
    background: #334155;
    box-shadow: 0 2px 6px rgba(71, 85, 105, 0.3);
}

/* Badge Enhancements */
.badge-modern {
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.8rem;
}

/* Modern Input Focus */
.form-control:focus,
.e-input-group:not(.e-disabled):focus-within {
    border-color: #6b7280 !important;
    box-shadow: 0 0 0 2px rgba(107, 114, 128, 0.15) !important;
}

/* TreeGrid Positive/Negative Numbers */
.e-treegrid .e-rowcell .text-success {
    color: #16a34a !important;
    font-weight: 600;
}

.e-treegrid .e-rowcell .text-danger {
    color: #dc2626 !important;
    font-weight: 600;
}

/* Loading Spinner */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border-radius: 6px;
}

.spinner-modern {
    width: 2.5rem;
    height: 2.5rem;
    border: 3px solid rgba(107, 114, 128, 0.2);
    border-top-color: #6b7280;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Dialog Enhancements */
.modern-voucher-dialog .e-dlg-header {
    background: #f8fafc;
    color: #1f2937;
    font-weight: 600;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 6px 6px 0 0;
}

.modern-voucher-dialog .e-dlg-header-content {
    padding: 1.25rem;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .filter-panel {
        padding: 1rem;
    }

    .stats-card {
        margin-bottom: 0.75rem;
    }
}

/* Tooltip Enhancement */
[title] {
    position: relative;
}

/* TreeGrid Summary Row */
.e-treegrid .e-summaryrow {
    background: #fef3c7 !important;
    font-weight: 600;
    border-top: 1px solid #fcd34d;
}

/* Alternate Row Colors for Better Readability */
.e-treegrid .e-altrow {
    background-color: #fafbfc;
}

/* Grid Action Buttons */
.grid-action-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.grid-action-btn:hover {
    background-color: #f3f4f6;
}

/* Empty State */
.empty-state {
    padding: 3rem 2rem;
    text-align: center;
    color: #6b7280;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    opacity: 0.4;
}

/* Consolidated Pivot (İcmal) enhancements */
.consolidated-pivot-scroll {
    overflow-x: auto;
}

.consolidated-pivot-scroll .e-treegrid {
    min-width: 100%;
    width: max-content;
}

.consolidated-pivot-scroll .e-headercell .e-headertext {
    white-space: normal !important;
    line-height: 1.2;
}

/* Consolidated Current Status (Mevcut Durum) enhancements */
.consolidated-current-status-scroll {
    overflow-x: auto;
}

.consolidated-current-status-scroll .e-treegrid {
    min-width: 100%;
    width: max-content;
}

.consolidated-current-status-scroll .e-headercell .e-headertext {
    white-space: normal !important;
    line-height: 1.2;
}

/* Consolidated current status treegrid: Banka / Kasa column separation */
.e-treegrid .cs3-bank-col,
.e-treegrid .e-headercell.cs3-bank-col {
    background-color: #f1f5f9 !important;
}

.e-treegrid .cs3-cash-col,
.e-treegrid .e-headercell.cs3-cash-col {
    background-color: #f8fafc !important;
}

/* ============================================
   PIVOT ROW STYLING - SUBTLE & PROFESSIONAL
   ============================================ */

.e-treegrid .pivot-row-income-root {
    background-color: #f0fdf4 !important; 
    color: #166534 !important;
    font-weight: 700 !important;
}

.e-treegrid .pivot-row-outflow-root {
    background-color: #fef2f2 !important; 
    color: #991b1b !important;
    font-weight: 700 !important;
}

.e-treegrid .pivot-row-income-group {
    background-color: #dcfce7 !important;
    color: #166534 !important;
    font-weight: 700 !important;
}

.e-treegrid .pivot-row-outflow-group {
    background-color: #fee2e2 !important;
    color: #991b1b !important;
    font-weight: 700 !important;
}

.e-treegrid .pivot-row-grandtotal {
    background-color: #e2e8f0 !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    border-top: 2px solid #cbd5e1 !important;
}

.e-treegrid .pivot-row-grandtotal .e-treecell,
.e-treegrid .pivot-row-grandtotal .e-rowcell,
.e-treegrid .pivot-row-grandtotal .e-rowcell span,
.e-treegrid .pivot-row-grandtotal .e-treecell span {
    color: #0f172a !important;
}

.e-treegrid .e-row.pivot-row-grandtotal:hover,
.e-treegrid .e-row.pivot-row-grandtotal:hover .e-rowcell,
.e-treegrid .e-row.pivot-row-grandtotal:hover .e-treecell {
    background-color: #e2e8f0 !important;
    color: #0f172a !important;
}

/* ============================================
   CURRENT STATUS ROW STYLING - PROFESSIONAL
   ============================================ */

.e-treegrid .current-status-row-source {
    background-color: #e2e8f0 !important;
    color: #0f172a !important;
    font-weight: 700;
    font-size: 13px;
    border-bottom: 1px solid #cbd5e1 !important;
}

.e-treegrid .current-status-row-currency {
    background-color: #f8fafc !important;
    font-weight: 600;
    color: #1f2937 !important;
}

.e-treegrid .current-status-row-converted {
    background-color: #eef2f7 !important;
    color: #475569 !important;
    font-style: italic;
    font-size: 12px;
}

.e-treegrid .current-status-row-grandtotal {
    background-color: #1f2937 !important; /* Slate Gray */
    color: #ffffff !important;
    font-weight: 700;
    border-top: 2px solid #374151 !important;
}

.e-treegrid .current-status-row-subtotal {
    background-color: #e2e8f0 !important;
    color: #0f172a !important;
    font-weight: 700;
}

.e-treegrid .current-status-row-grandtotal .e-treecell,
.e-treegrid .current-status-row-grandtotal .e-rowcell,
.e-treegrid .current-status-row-grandtotal .e-rowcell span,
.e-treegrid .current-status-row-grandtotal .e-treecell span {
    color: #ffffff !important;
}

/* Fix hover on grand total - No color change on hover */
.e-treegrid .e-row.current-status-row-grandtotal:hover,
.e-treegrid .e-row.current-status-row-grandtotal:hover .e-rowcell,
.e-treegrid .e-row.current-status-row-grandtotal:hover .e-treecell {
    background-color: #1f2937 !important; 
    color: #ffffff !important;
}

.e-treegrid .current-status-row-income-root {
    background-color: #dcfce7 !important; /* Stronger Green */
    color: #166534 !important;
    font-weight: 700;
}

.e-treegrid .current-status-row-outflow-root {
    background-color: #fee2e2 !important; /* Stronger Red */
    color: #991b1b !important;
    font-weight: 700;
}

/* ============================================
   TREEGRID HEADER - PROFESSIONAL & CLEAN
   ============================================ */

.e-treegrid .e-headercell {
    background-color: #f8fafc !important;
    color: #374151 !important;
    height: 48px !important;
    border-right: 1px solid #e5e7eb !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.e-treegrid .e-headercell .e-headertext {
    font-weight: 600 !important;
    font-size: 11px !important;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #4b5563 !important;
}

.e-treegrid .e-columnheader {
    border-bottom: 2px solid #d1d5db !important;
}

/* ============================================
   TREEGRID CELLS - READABLE & PROFESSIONAL
   ============================================ */

.e-treegrid .e-rowcell {
    padding: 10px 12px !important;
    font-size: 13px !important;
    border-right: 1px solid #f3f4f6 !important;
    color: #1f2937 !important;
    font-weight: 500 !important;
}

.e-treegrid .negative-amount {
    color: #dc2626 !important;
    font-weight: 700 !important;
}

.e-treegrid .e-row:hover .e-rowcell {
    background-color: #f9fafb !important; 
    transition: background-color 0.15s ease;
}

/* TreeGrid Icons */
.e-treegrid .e-icons {
    color: #6b7280 !important; 
}

.e-treegrid .e-treecell.e-expanded .e-icons, 
.e-treegrid .e-treecell.e-collapsed .e-icons {
    color: #374151 !important; 
    font-weight: 700;
}

/* ============================================
   PRINT STYLES - CLEAN REPORT OUTPUT
   ============================================ */

@media print {
    /* Hide non-essential UI elements */
    .filter-panel,
    .btn-group,
    .btn,
    button,
    .e-pager,
    .e-toolbar,
    .badge,
    nav,
    .navbar,
    .sidebar,
    .toast,
    .e-toast,
    .spinner-border,
    .spinner-grow {
        display: none !important;
    }

    /* Full width for print */
    .container-fluid {
        padding: 0 !important;
        max-width: 100% !important;
    }

    /* Cards - remove shadows and borders for clean print */
    .card,
    .card.shadow-modern,
    .card.shadow-sm {
        box-shadow: none !important;
        border: 1px solid #d1d5db !important;
        break-inside: avoid;
    }

    .card-header {
        background: #f8fafc !important;
        color: #1f2937 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .card-header * {
        color: #1f2937 !important;
    }

    /* Summary cards row - keep visible, print-friendly */
    .summary-card {
        transform: none !important;
        box-shadow: none !important;
        border: 1px solid #e5e7eb !important;
    }

    /* TreeGrid print optimization */
    .e-treegrid {
        border: 1px solid #d1d5db !important;
        overflow: visible !important;
    }

    .e-treegrid .e-gridcontent {
        overflow: visible !important;
        height: auto !important;
    }

    .e-treegrid .e-content {
        overflow: visible !important;
        height: auto !important;
    }

    .e-treegrid .e-headercell {
        background-color: #f1f5f9 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .e-treegrid .e-rowcell {
        font-size: 11px !important;
        padding: 4px 8px !important;
    }

    /* Charts - show at reasonable size */
    #dailyCashFlowChart,
    #cashFlowSourcePieChart,
    #cashFlowGroupBarChart,
    #cashFlowMovementGroupBarChart {
        max-height: 250px !important;
        break-inside: avoid;
    }

    /* KPI cards - ensure colored borders print */
    .summary-card,
    [style*="border-left: 4px"] {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* Row highlight classes - preserve colors */
    .row-opening, .row-closing,
    .row-inflow-total, .row-outflow-total,
    .row-net,
    .pivot-row-income-root, .pivot-row-outflow-root,
    .pivot-row-grandtotal,
    .current-status-row-grandtotal {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* Page break controls */
    .row.mb-4 {
        break-inside: avoid;
    }

    @page {
        margin: 1cm;
        size: landscape;
    }
}

/* ===== Kasa Fişi (Cash Voucher) ekranları ===== */
.kpi-tile {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.kpi-tile .kpi-label { font-size: .75rem; color: #64748b; text-transform: uppercase; letter-spacing: .03em; }
.kpi-tile .kpi-value { font-size: 1.25rem; font-weight: 700; color: #0f172a; }

.voucher-grid { font-size: .82rem; }
.voucher-grid thead th { white-space: nowrap; font-size: .75rem; color: #475569; }
.voucher-grid td { padding: 3px 5px !important; vertical-align: middle; }
.voucher-grid .grid-input { min-width: 60px; }
.voucher-grid .grid-input .e-input-group,
.voucher-grid .grid-input.e-control { font-size: .82rem; }
.voucher-grid tr.row-income td:first-child { box-shadow: inset 3px 0 0 #16a34a; }
.voucher-grid tr.row-expense td:first-child { box-shadow: inset 3px 0 0 #dc2626; }
.voucher-grid tfoot td { background: #f8fafc; }

.dcf-voucher-page {
    min-width: 0;
}

.dcf-voucher-page .card,
.dcf-voucher-page .card.shadow-modern {
    border-radius: 8px !important;
}

.dcf-voucher-page .card:hover,
.dcf-voucher-page .card.shadow-modern:hover {
    transform: none !important;
}

.dcf-voucher-page .form-label {
    color: #0f172a;
    font-size: .78rem;
    font-weight: 650;
    margin-bottom: 6px;
}

.dcf-voucher-page .e-input-group,
.dcf-voucher-page .e-control-wrapper,
.dcf-voucher-page .form-control {
    min-height: 34px;
}

.dcf-page-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.dcf-page-actions .btn,
.dcf-list-button {
    min-height: 34px;
    border-radius: 6px;
    font-weight: 650;
}

.dcf-list-button {
    background: #0d6efd !important;
    border: 1px solid #0b5ed7 !important;
    color: #fff !important;
    box-shadow: 0 2px 6px rgba(13, 110, 253, .24) !important;
}

.dcf-list-button:hover:not(:disabled),
.dcf-list-button:focus:not(:disabled) {
    background: #0b5ed7 !important;
    border-color: #0a58ca !important;
    color: #fff !important;
}

.dcf-voucher-page .btn-sm {
    min-width: 30px;
    min-height: 30px;
    border-radius: 6px;
}

.dcf-voucher-page .btn-outline-primary {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1d4ed8;
}

.dcf-voucher-page .btn-outline-success {
    background: #ecfdf5;
    border-color: #86efac;
    color: #047857;
}

.dcf-voucher-page .btn-outline-warning {
    background: #fffbeb;
    border-color: #fcd34d;
    color: #92400e;
}

.dcf-voucher-page .btn-outline-danger {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #b91c1c;
}

.dcf-voucher-page .btn-outline-primary:hover,
.dcf-voucher-page .btn-outline-success:hover,
.dcf-voucher-page .btn-outline-warning:hover,
.dcf-voucher-page .btn-outline-danger:hover {
    color: #fff;
}

.dcf-grid-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.dcf-grid-scroll .e-grid {
    min-width: 980px;
}

.dcf-voucher-grid .e-toolbar,
.dcf-voucher-grid .e-gridheader {
    background: #f8fafc;
}

.dcf-voucher-grid .e-toolbar .e-toolbar-item .e-tbar-btn {
    border-radius: 6px;
}

.dcf-voucher-grid .e-headercell {
    color: #334155 !important;
    font-size: .76rem !important;
    font-weight: 700 !important;
}

.dcf-voucher-grid .e-rowcell {
    color: #0f172a;
}

.dcf-voucher-edit-page {
    min-width: 0;
}

.dcf-voucher-edit-page .card,
.dcf-voucher-edit-page .card.shadow-modern {
    border-radius: 8px !important;
}

.dcf-voucher-edit-page .card:hover,
.dcf-voucher-edit-page .card.shadow-modern:hover {
    transform: none !important;
}

.dcf-voucher-edit-grid .e-gridcontent,
.dcf-voucher-edit-grid .e-content {
    overflow-x: auto !important;
}

.dcf-voucher-edit-grid .e-table {
    min-width: 1740px;
}

.dcf-voucher-edit-grid .e-rowcell {
    padding: 5px 6px !important;
    vertical-align: middle;
}

.dcf-voucher-edit-grid .e-input-group,
.dcf-voucher-edit-grid .e-control-wrapper {
    min-height: 34px;
}

.dcf-voucher-edit-grid .dcf-amount-input.e-control-wrapper,
.dcf-voucher-edit-grid .dcf-amount-input .e-input-group,
.dcf-voucher-edit-grid .dcf-amount-input input.e-input {
    width: 100% !important;
}

.dcf-voucher-edit-grid .dcf-amount-input input.e-input {
    color: #0f172a !important;
    font-weight: 650;
    text-align: right;
    padding-right: 10px !important;
}

.dcf-voucher-edit-grid .dcf-bank-dropdown input.e-input,
.dcf-voucher-edit-grid .dcf-bank-dropdown .e-input {
    color: #0f172a !important;
    font-size: .82rem;
}

.dcf-bank-option {
    display: block;
    max-width: 500px;
    overflow: visible;
    white-space: normal;
    line-height: 1.35;
    padding: 2px 0;
}

.dcf-bank-dropdown.e-popup .e-list-item {
    height: auto !important;
    min-height: 34px;
    white-space: normal;
    line-height: 1.35;
    padding-top: 7px;
    padding-bottom: 7px;
}

@media (max-width: 767.98px) {
    .dcf-voucher-page.container-fluid {
        padding-left: .75rem;
        padding-right: .75rem;
    }

    .dcf-voucher-page .card-body {
        padding: .85rem;
    }

    .dcf-page-actions {
        justify-content: flex-start;
        width: 100%;
    }

    .dcf-page-actions .badge,
    .dcf-page-actions .btn {
        flex: 1 1 auto;
    }

    .dcf-voucher-page .kpi-tile {
        padding: 12px;
    }
}
