html {
  font-size: 12px;
}

@media (min-width: 768px) {
  html {
    font-size: 14px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #1AB6D6;
}

/* .ach-header background is not text, so skip unless you want to change the header background */
.ach-form input[type="text"]:focus {
    background: #f8f8f8;
    border: 1px solid #1AB6D6;
}

/* .cc-form-table .cvc-link - text link color */
.cc-form-table .cvc-link {
    font-size: 0.95rem;
    color: #1AB6D6;
    text-decoration: underline;
    margin-left: 4px;
}

/* .custom-navbar text color already set to white, but for active/focus/hover use accent */
.custom-navbar .nav-link.active, 
.custom-navbar .nav-link:focus, 
.custom-navbar .nav-link:hover {
    color: #1AB6D6 !important;
}

/* If you want to update other blue text, search for color: #1976d2, #5786b7, #466fa1, etc. and replace with #1AB6D6 */
html {
  position: relative;
  min-height: 100%;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body {
  margin-bottom: 60px;
}
.ach-header {
    background: #5786b7;
    color: #fff;
    padding: 18px 0;
    font-size: 2rem;
    text-align: center;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.ach-micr {
    background: #f5f5f5;
    border-radius: 6px;
    padding: 24px 0 32px 0;
    margin-bottom: 16px;
    text-align: center;
    position: relative;
    font-family: 'OCR A Std', 'Courier New', monospace;
    font-size: 2rem;
    letter-spacing: 4px;
}

.ach-label {
    position: absolute;
    background: #fff;
    border: 2px solid #ccc;
    border-radius: 4px;
    padding: 8px 32px;
    font-size: 1.2rem;
    font-weight: 500;
    top: 60px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .ach-label.routing {
        left: 18%;
    }

    .ach-label.account {
        right: 18%;
    }

.ach-form input[type="text"] {
    background: #eaeaea;
    border: none;
    border-radius: 6px;
    padding: 14px 18px;
    font-size: 1.1rem;
    margin-bottom: 18px;
    width: 100%;
    outline: none;
}

    .ach-form input[type="text"]:focus {
        background: #f8f8f8;
        border: 1px solid #1AB6D6;
    }

.ach-form label {
    font-weight: 600;
    margin-bottom: 6px;
}

.ach-account-type {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

    .ach-account-type label {
        margin-right: 18px;
        font-weight: 600;
    }

    .ach-account-type .form-check {
        margin-right: 24px;
    }

.ach-btn-row {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 18px;
}

.ach-btn {
    background: #5786b7;
    color: #fff;
    border: 2px solid #2c4a6b;
    border-radius: 4px;
    padding: 10px 38px;
    font-size: 1.1rem;
    font-weight: 500;
    min-width: 140px;
    transition: background 0.2s;
}

    .ach-btn:hover {
        background: #466fa1;
        color: #fff;
    }
.cc-form-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 32px 24px 16px 24px;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid #e0e0e0;
}

.cc-form-table {
    width: 100%;
    margin-bottom: 24px;
}

    .cc-form-table td {
        padding: 8px 6px;
        vertical-align: middle;
    }

    .cc-form-table label {
        font-weight: 500;
        font-size: 1.05rem;
    }

    .cc-form-table input, .cc-form-table select {
        width: 100%;
        padding: 7px 10px;
        font-size: 1rem;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    .cc-form-table .required {
        color: #d32f2f;
        font-size: 1.1em;
    }

.cc-btn-row {
    text-align: center;
    margin-top: 18px;
}

.cc-btn {
    background: #c62828;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 38px;
    font-size: 1.1rem;
    font-weight: 500;
    min-width: 140px;
    margin: 0 12px;
    box-shadow: 2px 2px 0 #222;
    transition: background 0.2s;
}

    .cc-btn:hover {
        background: #b71c1c;
    }

.cc-footer {
    text-align: center;
    font-size: 1.1rem;
    color: #222;
    margin-top: 24px;
}

.cc-note {
    color: #666;
    font-size: 1rem;
    margin-top: 32px;
    text-align: left;
}

.cc-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.cc-step {
    background: #e0e8ef;
    color: #222;
    font-weight: 500;
    padding: 8px 24px;
    border-radius: 4px;
    margin-right: 8px;
}

    .cc-step.active {
        background: #b7cbe6;
        color: #222;
        font-weight: bold;
        border: 2px solid #5786b7;
    }

    .cc-step:last-child {
        margin-right: 0;
    }

.cc-logo {
    float: right;
    margin-top: -8px;
    margin-right: 8px;
}

/* Add this to your site.css for a modern blue gradient header 
.custom-navbar {
    background: linear-gradient(90deg, #0d47a1 0%, #1976d2 60%, #42a5f5 100%);
}*/
.custom-navbar {
    background-color: #1AB6D6 !important;
}
.custom-navbar .navbar-brand,
.custom-navbar .nav-link,
.custom-navbar .navbar-text {
    color: #fff !important;
}
.custom-nav-tabs .nav-link {
    color: #fff !important;
    background-color: #1AB6D6 !important;
    border: 1px solid #1AB6D6 !important;
    margin-right: 4px;
    border-radius: 8px 8px 0 0;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}
.custom-nav-tabs .nav-link.active,
.custom-nav-tabs .nav-link:focus,
.custom-nav-tabs .nav-link:hover {
    color: #1AB6D6 !important;
    background-color: #fff !important;
    border-bottom: 2px solid #1AB6D6 !important;
}

body, html {
    font-family: 'Segoe UI','sans-serif', 'Arial', 'Helvetica Neue', Helvetica;
}

/* Add to Pages\Invoices.cshtml or site.css */
.invoice-table {
    font-size: 1rem; /* Reduced from 1.15rem */
}
.invoice-table-header {
    background-color: #f5f5f5;
}
.invoice-table-header th,
.invoice-table td {
    font-size: 1rem; /* Ensure header and body match */
    padding: 12px 8px;
}
.header-label {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-weight: 600;
    color: #0a4a8a;
}
.sort-arrow {
    color: #e0e0e0;
    font-size: 1rem;
    margin-left: 2px;
    vertical-align: middle;
}
.invoice-searchbox {
    max-width: 220px;
    font-size: 0.95rem;
    padding: 6px 14px;
    height: 34px;
    display: inline-block;
}
.filter-group {
    min-width: 220px;
    margin-bottom: 8px;
}
@media (min-width: 768px) {
    .filter-group {
        margin-right: 24px;
    }
}

.small-header th,
.small-header .header-label {
    font-size: 0.85rem !important;
    padding-top: 8px;
    padding-bottom: 8px;
}

.nav-link.logout-link:hover {
    background-color: #0a4a8a !important;
    color: #fff !important;
}

.invoice-table tbody tr:hover {
    background-color: #eaf6fb !important; /* Light blue shade for hover */
    transition: background 0.15s;
    cursor: pointer;
}

.logout-btn {
    color: #fff !important;
    background-color: #1AB6D6 !important;
    border: none;
    transition: background 0.2s, color 0.2s;
}
.logout-btn:hover, .logout-btn:focus {
    background-color: #0a4a8a !important; /* Dark blue for contrast */
    color: #fff !important;
    text-decoration: none;
}
.pdf-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.1s;
}

    .pdf-btn:hover svg {
        transform: scale(1.15);
        filter: drop-shadow(0 0 2px #d32f2f);
    }