/* 1. Typography & Colors (System Stack) */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    background-color: #f8f9fa !important;
    color: #394b59 !important;
}

/* 2. Button Modernization (Matching Cash Connect) */
.button-style, button[type="submit"] {
    background-color: #bc0613 !important; /* Unified Cash Connect Red */
    border: none !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    padding: 8px 16px !important;
    font-weight: 500 !important;
    box-shadow: none !important; /* Removed legacy harsh shadows */
    transition: all 0.2s ease-in-out !important;
}
.button-style:hover, button[type="submit"]:hover {
    background-color: #9c0510 !important;
    transform: translateY(-1px);
}
.button-style:focus, button[type="submit"]:focus {
    box-shadow: 0 0 0 0.18rem rgba(188, 6, 19, 0.15) !important;
    outline: none !important;
}

/* 3. Input & Dropdown Modernization */
.input-style, .form-control {
    border: 1px solid #ced4da !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    padding: 8px 12px !important;
    background-color: #ffffff !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}
.input-style:focus, .form-control:focus {
    border-color: #bc0613 !important;
    box-shadow: 0 0 0 0.18rem rgba(188, 6, 19, 0.15) !important;
    outline: none !important;
}

/* 4. Container & Card Softening */
.upload-transaction, div[style*="background-color:#F8F6F6"] {
    background-color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 22px rgba(31, 41, 51, 0.06) !important;
    padding: 24px !important;
}

/* 5. Table Header Modernization (Enterprise Gray) */
.tableHeader, .tableHeader th {
    background-color: #f2f4f7 !important;
    color: #394b59 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.05em !important;
    border-top: none !important;
    border-bottom: 2px solid #e2e8f0 !important;
}
.table {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
