/* Header Styles */
.header-brand-link {
    text-decoration: none;
}

.header-main-container {
    gap: 1rem;
    width: 75%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.header-user-panel {
    min-width: 260px;
}

.header-action-group {
    flex-wrap: wrap;
    gap: 0.5rem;
    min-width: 0;
}

.header-action-group .btn,
.header-action-group .btn-group {
    flex-shrink: 0;
}

@media (max-width: 1400px) {
    .header-main-container {
        width: 100%;
    }
}

/* Navigation Button Styles - Updated to #1197d0 */
.btn-success {
    background-color: #1197d0 !important;
    border-color: #1197d0 !important;
}

.btn-success:hover {
    background-color: #0e7bb8 !important;
    border-color: #0e7bb8 !important;
}

.btn-warning {
    background-color: #1197d0 !important;
    border-color: #1197d0 !important;
    color: white !important;
}

.btn-warning:hover {
    background-color: #0e7bb8 !important;
    border-color: #0e7bb8 !important;
    color: white !important;
}

.btn-dark {
    background-color: #1197d0 !important;
    border-color: #1197d0 !important;
}

.btn-dark:hover {
    background-color: #0e7bb8 !important;
    border-color: #0e7bb8 !important;
}

.btn-info {
    background-color: #1197d0 !important;
    border-color: #1197d0 !important;
    color: white !important;
}

.btn-info:hover {
    background-color: #0e7bb8 !important;
    border-color: #0e7bb8 !important;
    color: white !important;
}

/* Guest Code Retrieve Button */
#submit-guest-code-header {
    background-color: #1197d0 !important;
    border-color: #1197d0 !important;
}

#submit-guest-code-header:hover {
    background-color: #0e7bb8 !important;
    border-color: #0e7bb8 !important;
}

.header-logo {
    height: 40px;
    width: auto;
    margin-bottom: 2px;
}

.header-logo--platinum {
    height: 44px;
    max-width: min(320px, 60vw);
    object-fit: contain;
    display: block;
    background: transparent;
}

.header-subtitle {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
}

.header-role-badge {
    margin-top: 7px;
    min-width: 80px;
    width: 80px;
    text-align: center;
    white-space: nowrap;
    line-height: 1.2;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    align-self: flex-start;
}

/* Pump Sizing Form Styles */

.form-3d-container {
    background: #f8fbff;
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1.5px 6px rgba(0,0,0,0.04);
    padding: 2.5rem 2rem;
    margin: 0 auto;
    max-width: 900px;
}


body {
    background: #eaf1f8;
}

/* Style Choices.js dropdown to match Bootstrap .form-select */
.choices {
    width: 100%;
}
.choices__inner {
    min-height: 38px;
    height: 38px;
    border-radius: 0.375rem;
    border: 1px solid #ced4da;
    font-size: 1rem;
    line-height: 1.7;
    padding: 0.03rem 0.75rem 0.1rem 0.75rem;
    background-color: #fff;
    color: #212529;
    box-shadow: none;
    display: flex;
    align-items: center;
}
.choices__list--single .choices__item {
    color: #212529;
    font-size: 1rem;
    line-height: 1.7;
    padding: 0;
    display: flex;
    align-items: center;
    height: 38px;
}
.choices__list--dropdown, .choices__list[aria-expanded] {
    border-radius: 0.375rem;
    border: 1px solid #ced4da;
    font-size: 1rem;
    color: #212529;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.05);
}
.choices__input {
    font-size: 1rem;
    line-height: 1.7;
    padding: 0.03rem 0.75rem 0.1rem 0.75rem;
    height: 38px;
    box-sizing: border-box;
}
.choices[data-type*=select-one] .choices__inner {
    padding-bottom: 0;
}
.choices__placeholder {
    color: #6c757d;
    opacity: 1;
    font-size: 0.85rem !important;
}
.choices__list--dropdown .choices__item--selectable.is-highlighted {
    background-color: #e9ecef;
    color: #212529;
}

/* Ensure Choices.js dropdown appears above chart overlay */
.choices__list--dropdown {
    z-index: 100 !important;
}
.choices__list[aria-expanded] {
    z-index: 100 !important;
} 

.pump-sizing-container .form-control,
.pump-sizing-container .form-select {
    font-size: 0.8rem;
    height: 34px;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
}
.pump-sizing-container .input-group-text {
    font-size: 0.8rem;
    height: 34px;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
}

/* Pump Results Card Styles - Enhanced */
.pump-card {
    border-radius: 1.1rem;
    border-width: 2px !important;
    border-color: #1197d0 !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1.5px 6px rgba(0,0,0,0.04);
    background: #fff;
    margin-bottom: 1.7rem;
    transition: box-shadow 0.2s, border-color 0.2s;
    padding: 0;
    overflow: hidden;
}
.pump-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    border-color: #1197D0 !important;
}
.pump-card .card-header {
    border-radius: 1.1rem 1.1rem 0 0;
    background: linear-gradient(90deg, #f6fafd 60%, #eaf6f8 100%);
    font-weight: 700;
    font-size: 1.15rem;
    border-bottom: 1px solid #e3e8ee;
    padding: 1rem 1.5rem 0.7rem 1.5rem;
    letter-spacing: 0.01em;
    color: #1a2b3c;
}
.pump-card .card-body {
    padding: 1.5rem 1.5rem 1.2rem 1.5rem;
}
.pump-card .row {
    margin-bottom: 0.7rem;
}
.pump-card .main-label {
    color: #1197d0;
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 0.1em;
}
.pump-card .main-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1197d0;
    letter-spacing: 0.01em;
    margin-bottom: 0.2em;
    display: block;
}
.pump-card .model-feature {
    font-size: 1.35rem;
    font-weight: 800;
    color: #7ad7ff;
    letter-spacing: 0.03em;
    margin-bottom: 0.3em;
    display: block;
}
.pump-card .flow-diff {
    font-size: 0.85em;
    font-weight: 500;
    display: block;
    margin-top: 0.15em;
    padding: 0;
    border-radius: 0;
    width: auto;
    background: none !important;
    color: #1197d0;
}
.pump-card .flow-diff.text-success {
    color: #1197D0 !important;
    background: none !important;
}
.pump-card .flow-diff.text-warning {
    color: #1197D0 !important;
    background: none !important;
}
.pump-card .card-footer {
    background: #f6fafd;
    border-top: 1px solid #e3e8ee;
    padding: 0.5rem 1.5rem 0.7rem 1.5rem;
    text-align: right;
}
.pump-card .pump-thumb {
    height: 38px;
    width: auto;
    border-radius: 0.5rem;
    box-shadow: 0 1px 6px rgba(0,0,0,0.07);
    object-fit: cover;
    background: #eaf1f8;
    margin-left: auto;
    display: block;
}
@media (max-width: 600px) {
    .pump-card .card-body {
        padding: 1.1rem 0.7rem 1rem 0.7rem;
    }
    .pump-card .card-header {
        padding: 0.8rem 0.7rem 0.6rem 0.7rem;
        font-size: 1.05rem;
    }
    .pump-card .main-value, .pump-card .model-feature {
        font-size: 1.05rem;
    }
} 

/* Horizontal Pump Card Layout */
.pump-card.horizontal {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 210px;
    border-radius: 1.2rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1.5px 6px rgba(0,0,0,0.04);
    background: #fff;
    overflow: hidden;
    margin-bottom: 2rem;
    border-width: 0;
    padding-bottom: 0;
}
.pump-card.horizontal {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pump-card-horizontal-main {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
}

.pump-card.horizontal .pump-img-col {
  flex: 0 0 40%;
  max-width: 40%;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pump-card.horizontal .pump-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.1rem 0 0 0;
  display: block;
}

.pump-card.horizontal .pump-details-col {
  flex: 1 1 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.2rem;
}

.pump-card.horizontal .pump-model {
    font-size: 1.45rem;
    font-weight: 800;
    color: #1a2b3c;
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}
.pump-card.horizontal .pump-desc {
    color: #4a5a6a;
    font-size: 0.97rem;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    min-height: 2.2em;
}
.pump-card.horizontal .learn-more-btn,
.pump-card .learn-more-btn,
.learn-more-btn {
    display: block;
    text-align: center;
    width: 100%;
    padding: 0.45em 1.3em;
    border: 1.5px solid #7ad7ff !important;
    border-radius: 2em;
    background: #7ad7ff !important;
    color: black !important;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    margin-top: auto;
    margin-bottom: 1.75em;
}
.pump-card.horizontal .learn-more-btn:hover,
.pump-card .learn-more-btn:hover,
.learn-more-btn:hover {
    background: #5bc7ff !important;
    color: black !important;
    text-decoration: none;
}
.pump-card.horizontal .stats-row {
    margin-bottom: 0.2em;
}
.pump-card.horizontal .flow-diff {
    text-align: center;
    margin: 0.5em 0 0.7em 0;
    width: 100%;
    display: block;
    font-size: 0.85em;
    font-weight: 500;
    color: #1197d0;
}
.pump-card.horizontal .flow-diff.text-success {
    color: #1197D0 !important;
}
.pump-card.horizontal .flow-diff.text-warning {
    color: #1197D0 !important;
}
.pump-card.horizontal .card-footer {
  padding: 0.5em 1.2em 0.6em 1.2em;
  background: #fff;
  border-top: 1px solid #e3e8ee;
}
@media (max-width: 800px) {
    .pump-card.horizontal {
        flex-direction: column;
        min-height: unset;
    }
    .pump-card.horizontal .pump-img-col, .pump-card.horizontal .pump-details-col {
        max-width: 100%;
        min-width: 0;
        padding: 0.7rem 1rem;
    }
    .pump-card.horizontal .pump-details-col {
        padding: 1.2rem 1rem 1rem 1rem;
    }
    .pump-card.horizontal .pump-img {
        min-height: 120px;
        max-height: 180px;
    }
} 

/* Results Stats Bar */
.results-stats-bar {
    display: flex;
    flex-direction: row;
    gap: 1.2rem;
    margin: 0 0 37px 0;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}
.results-stat-card {
    background: #f6fafd;
    border-radius: 0.8rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
    padding: 1rem 1.1rem 0.9rem 1.1rem;
    min-width: 120px;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border: 1.5px solid #e3e8ee;
    margin-bottom: 0.5rem;
    text-align: center;
    max-width: 180px;
}
.results-stat-icon {
    font-size: 2.1rem;
    color: #1197d0;
    margin-bottom: 0.2em;
    line-height: 1;
}
.results-stat-label {
    color: #1197d0;
    font-size: 1.01rem;
    font-weight: 500;
    margin-bottom: 0.2em;
}
.results-stat-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1197d0;
    letter-spacing: 0.01em;
    margin-bottom: 0.1em;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
@media (max-width: 800px) {
    .results-stat-value {
        font-size: 0.95rem;
    }
}
@media (max-width: 800px) {
    .results-stats-bar {
        flex-direction: column;
        gap: 0.7rem;
        align-items: stretch;
    }
    .results-stat-card {
        min-width: 0;
        width: 100%;
        align-items: center;
        padding: 0.9rem 1rem 0.8rem 1rem;
        max-width: 100%;
    }
    .results-stat-value {
        font-size: 1.1rem;
    }
} 

@media (min-width: 992px) {
    .form-3d-container,
    #results-container {
        height: auto;
        min-height: 0;
        max-height: none;
        display: flex;
        flex-direction: column;
    }
    #pump-options {
        max-height: none;
        overflow-y: visible;
        margin-bottom: 1rem;
    }
    .pump-card.horizontal {
        max-height: 320px;
        min-height: 220px;
        height: 320px;
    }
    .pump-card.horizontal .pump-desc {
        max-height: 4.5em;
        overflow-y: auto;
        background: linear-gradient(180deg, #f6fafd 80%, #fff 100%);
        padding-right: 0.2em;
        margin-bottom: 1.2rem;
    }
}
@media (max-width: 991px) {
    .form-3d-container,
    #results-container {
        height: auto;
        min-height: 0;
        max-height: none;
    }
    #pump-options {
        max-height: none;
        overflow-y: visible;
    }
    .pump-card.horizontal {
        max-height: none;
        min-height: 0;
        height: auto;
    }
    .pump-card.horizontal .pump-desc {
        max-height: none;
        overflow-y: visible;
        background: none;
    }
} 

/* Ghost/Skeleton Loading Styles */
.ghost {
    background: #e9eef3;
    border-radius: 0.5em;
    position: relative;
    overflow: hidden;
}
.ghost-bar {
    height: 2.2rem;
    width: 80%;
    margin: 0.7rem auto 1.2rem auto;
    background: #e9eef3;
}
.ghost-bar.ghost-bar-60 {
    width: 60%;
}
.ghost-card {
    background: #fafbfc;
    border-radius: 1.2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.02);
    margin-bottom: 2rem;
    min-height: 280px;
    max-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid #e8edf2;
    position: relative;
    opacity: 0.85;
    padding-bottom: 1.5em;
}
.ghost-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(248,250,252,0.3) 100%);
    pointer-events: none;
    z-index: 1;
}
.ghost-img {
    flex: 0 0 40%;
    min-width: 140px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    min-height: 280px;
    max-height: 320px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ghost-img::after {
    content: '⏸';
    font-size: 2.5rem;
    color: #94a3b8;
    opacity: 0.6;
}
.ghost-details {
    flex: 1 1 60%;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}
.ghost-line {
    height: 1.1em;
    width: 70%;
    margin: 0.5em 0;
    background: #e9eef3;
    border-radius: 0.4em;
}
.ghost-icon {
    width: 2.1rem;
    height: 2.1rem;
    background: #e9eef3;
    border-radius: 50%;
    margin: 0 auto 0.3em auto;
}
.ghost-btn {
    width: 7em;
    height: 2.2em;
    background: #e9eef3;
    border-radius: 2em;
    margin: 1.2em auto 0 auto;
}
@keyframes ghost-shimmer {
    0% { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}
.ghost, .ghost-bar, .ghost-line, .ghost-icon, .ghost-btn {
    background: linear-gradient(90deg, #e9eef3 25%, #f6fafd 50%, #e9eef3 75%);
    background-size: 400px 100%;
    animation: ghost-shimmer 1.2s infinite linear;
}

/* Ghost card loading text (replaces inline styles) */
.ghost-card .ghost-loading-title {
    color: #64748b;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.ghost-card .ghost-loading-text {
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0.5rem 0;
}

/* Remove shimmer from ghost cards for more professional look */
.ghost-card, .ghost-img {
    background: none;
    animation: none;
}

/* Enhanced ghost card styling for better alignment */
.ghost-card .pump-option-label {
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.ghost-card .pump-model-styled {
    color: #64748b !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem !important;
    opacity: 0.9;
}
/* Ghost card horizontal layout to match pump cards */
.ghost-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ghost-card .pump-card-horizontal-main {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
}

.ghost-card .pump-img-col {
    flex: 0 0 40%;
    max-width: 40%;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ghost-card .pump-details-col {
    flex: 1 1 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.2rem;
}

@media (max-width: 991px) {
    .ghost-card {
        flex-direction: column;
        min-height: 200px;
        max-height: 240px;
    }
    .ghost-img {
        min-height: 200px;
        max-height: 240px;
    }
    .ghost-details {
        padding: 1.2rem 1rem 1rem 1rem;
    }
    .ghost-card .pump-img-col {
        flex: 0 0 auto;
        max-width: 100%;
        min-width: auto;
    }
    .ghost-card .pump-details-col {
        flex: 1 1 auto;
        padding: 1rem;
    }
} 

/* Panel Heading Styles */
.panel-heading {
  font-size: 2.1rem;
  font-weight: 800;
  color: #1197d0;
  letter-spacing: 0.01em;
  margin-bottom: 0.2em;
  position: relative;
  line-height: 1.1;
}
.panel-heading-accent {
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: #1197d0;
  margin-top: 0.3em;
  margin-bottom: 0.7em;
} 

.user-input-summary {
    margin: 0.01rem 0 0.7rem 0;
    font-size: 0.97rem;
    color: #3a4a5a;
    background: linear-gradient(90deg, #f8fbff 70%, #eaf6f8 100%);
    border-radius: 0.5em;
    padding: 0.4em 0.7em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7em 1.2em;
    box-shadow: 0 1px 4px rgba(0,0,0,0.02);
    border: 1.2px solid #e3e8ee;
    align-items: center;
    position: relative;
    line-height: 1.05;
}
/* Remove the icon from the user input summary */
.user-input-summary::before {
    display: none !important;
    content: none !important;
}
.user-input-summary .summary-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7em 1.2em;
    justify-content: center;
    width: 100%;
    line-height: 1.05;
}
.user-input-summary span {
    white-space: nowrap;
    font-size: 0.97em;
    color: #3a4a5a;
    line-height: 1.05;
}
.user-input-summary span b {
    color: #1197D0;
    font-weight: 700;
    letter-spacing: 0.01em;
}
@media (max-width: 800px) {
    .user-input-summary {
        font-size: 0.89rem;
        padding: 0.3em 0.3em;
        gap: 0.4em 0.7em;
    }
    .user-input-summary .summary-row {
        gap: 0.4em 0.7em;
    }
} 

.pump-price-btn {
    display: inline-block;
    margin: 0.3em 0 0.7em 0;
    padding: 0.32em 1.2em;
    font-size: 1.08em;
    font-weight: 700;
    color: #1197D0;
    background: #f6fafd;
    border: 1.5px solid #1197D0;
    border-radius: 2em;
    letter-spacing: 0.01em;
    cursor: not-allowed;
    opacity: 0.85;
    transition: background 0.15s, color 0.15s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.pump-price-btn:disabled {
    background: #f6fafd;
    color: #1197D0;
    border-color: #1197D0;
    opacity: 0.85;
} 

.pump-option-label {
    font-size: 0.98em;
    font-weight: 600;
    color: #222;
    letter-spacing: 0.03em;
    margin-bottom: 0.1em;
    text-transform: uppercase;
    text-align: center;
}
.pump-model-styled {
    font-size: 1.32em;
    font-weight: 800;
    color: #222;
    letter-spacing: 0.04em;
    margin-bottom: 0.18em;
    text-align: center;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
} 

/* Request Quote button styles removed - logged-in users no longer use Request Quote button */

/* Summer Filter Button and Download PDF Button Styles */
.btn-outline-primary {
    border-color: #1197d0 !important;
    color: #1197d0 !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active {
    background-color: #1197d0 !important;
    border-color: #1197d0 !important;
    color: white !important;
}

.btn-check:checked + .btn-outline-primary {
    background-color: #1197d0 !important;
    border-color: #1197d0 !important;
    color: white !important;
}

/* Split button styling - makes two buttons look like one unified button */
.split-button-container {
    display: flex;
    width: 100%;
    border-radius: 0.375rem; /* Bootstrap's default border-radius */
    overflow: hidden; /* Ensures rounded corners work properly */
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); /* Bootstrap button shadow */
    border: 1px solid #7ad7ff; /* Updated to new color */
    margin-top: 0.25rem; /* Move button closer to the content above */
    margin-bottom: -1rem; /* Significantly reduce bottom spacing to pull button up */
}

.split-button-left,
.split-button-right {
    flex: 1;
    border-radius: 0 !important; /* Remove individual border-radius */
    border: none !important; /* Remove all borders */
    white-space: nowrap; /* Prevent text wrapping */
    font-size: 0.875rem; /* Slightly smaller font to fit better */
    padding: 0.5rem 0.75rem; /* Better padding for readability */
    background-color: #7ad7ff !important; /* Updated to new color */
    color: black !important; /* Black text as requested */
    font-weight: 500; /* Consistent font weight */
    transition: background-color 0.15s ease-in-out; /* Smooth hover transition */
    cursor: pointer; /* Ensure cursor shows as clickable */
    display: flex; /* Use flexbox for internal alignment */
    align-items: center; /* Center content vertically */
    justify-content: center; /* Center content horizontally */
    height: 100%; /* Ensure both buttons have same height */
    line-height: 1.2; /* Slightly increased line height for better alignment */
    vertical-align: middle; /* Center vertically */
    margin: 0; /* Remove any inherited margins */
    box-sizing: border-box; /* Include padding in height calculation */
}

/* Vertical divider between buttons */
.split-button-left {
    border-right: 1px solid rgba(255, 255, 255, 0.3) !important; /* Lighter divider for better contrast */
}

/* Hover effects - both buttons behave the same */
.split-button-left:hover,
.split-button-right:hover {
    background-color: #5bc7ff !important; /* Slightly darker on hover */
    color: black !important; /* Maintain black text color on hover */
}

/* Focus states for accessibility */
.split-button-left:focus,
.split-button-right:focus {
    outline: 2px solid #0d6efd; /* Bootstrap focus color */
    outline-offset: -2px;
}

/* Ensure the container has proper rounded corners */
.split-button-container .split-button-left:first-child {
    border-top-left-radius: 0.375rem !important;
    border-bottom-left-radius: 0.375rem !important;
}

.split-button-container .split-button-right:last-child {
    border-top-right-radius: 0.375rem !important;
    border-bottom-right-radius: 0.375rem !important;
} 

/* .pump-card.guest-card .card-footer {
  display: none !important;
} */
.pump-card.guest-card {
  min-height: unset;
  height: auto;
}
.pump-card.guest-card .pump-card-horizontal-main {
  flex: 0 1 auto !important;
}
.pump-card.guest-card .pump-details-col {
  padding-bottom: 1.2rem;
} 

/* Default: only top-left radius for image */
.pump-card.horizontal .pump-img {
  border-radius: 1.1rem 0 0 0;
}

/* Guest: both top-left and bottom-left radius for image */
.pump-card.guest-card .pump-img {
  border-radius: 1.1rem 0 0 1.1rem;
}

/* Remove any extra space at the bottom for guests */
.pump-card.guest-card {
  min-height: unset;
  height: auto;
  padding-bottom: 0;
}
.pump-card.guest-card .pump-details-col {
  padding-bottom: 1.2rem;
} 

.pump-card.guest-card {
  display: flex;
  flex-direction: row;
  min-height: 260px;
  height: 100%;
}
.pump-card.guest-card .pump-img-col {
  flex: 0 0 40%;
  max-width: 40%;
  min-width: 140px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.pump-card.guest-card .pump-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.1rem 0 0 1.1rem;
  display: block;
}
.pump-card.guest-card .pump-details-col {
  flex: 1 1 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 1.2rem;
} 

.guest-quote-btn {
  margin-top: 12px;
  margin-bottom: 12px;
  font-size: 1.1em;
}

#user-input-summary {
  margin-top: 37px;
  margin-bottom: 37px;
}

#pump-options {
  margin-top: 37px;
  margin-bottom: 0;
}

/* Manual Override: reduce Option 1 card bottom space when dropdown follows, then pull dropdown up */
.pump-card.horizontal:has(+ .manual-override-wrap) {
  margin-bottom: calc(2rem - 7px);
}

.pump-card.horizontal + .manual-override-wrap {
  margin-top: -20px;
}

/* Manual Override dropdown layout and styling */
.manual-override-wrap {
  margin-bottom: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(180deg, #f6fafd 0%, #eef7fb 100%);
  border-radius: 0.75rem;
  border: 1px solid rgba(17, 151, 208, 0.2);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.manual-override-wrap .form-label {
  color: #1197d0;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}

.manual-override-wrap .manual-override-select {
  border: 1.5px solid rgba(17, 151, 208, 0.35);
  border-radius: 0.6rem;
  background: #fff;
  color: #1a2b3c;
  font-weight: 500;
  padding: 0.45rem 2rem 0.45rem 0.75rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.manual-override-wrap .manual-override-select:hover {
  border-color: rgba(17, 151, 208, 0.5);
  background: #fff;
}

.manual-override-wrap .manual-override-select:focus {
  border-color: #1197d0;
  box-shadow: 0 0 0 0.2rem rgba(17, 151, 208, 0.15);
  outline: none;
}

/* Option list styling (limited by native select – these work in most browsers) */
.manual-override-wrap .manual-override-select option {
  font-weight: 500;
  font-size: 0.95rem;
  color: #1a2b3c;
  background-color: #fff;
  padding: 0.5rem 0.75rem;
}

/* First option (Auto-selected) – subtle distinction */
.manual-override-wrap .manual-override-select option:first-of-type {
  color: #1197d0;
  font-weight: 600;
}

/* Alternate options – light striping (works in Chrome, Firefox) */
.manual-override-wrap .manual-override-select option:nth-of-type(even) {
  background-color: #f8fbff;
}

/* Pump card: price wrapper (replaces inline styles) */
.pump-card .pump-price-wrap {
  display: flex;
  justify-content: center;
  margin: 0.4em 0 0.7em 0;
}
.pump-card .pump-price-wrap .pump-price-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 0.25em 1.2em;
  font-size: 1.05em;
  font-weight: 600;
  border: 1.5px solid #1197D0;
  border-radius: 2em;
  color: #1197D0;
  background: #fff;
  letter-spacing: 0.01em;
}

/* Option 2 message card (no second pump available) */
.pump-card.option2-message-card {
  opacity: 0.8;
}
.option2-message-card .pump-img-col {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
}
.option2-message-card .pump-details-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.option2-message-content {
  text-align: center;
  color: #6c757d;
  padding: 1rem;
}
.option2-message-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}
.option2-message-content p + p {
  margin: 0.5rem 0 0 0;
  font-size: 0.85rem;
  color: #868e96;
}
.option2-message-icon {
  font-size: 3rem;
  color: #6c757d;
}

/* No pump options found message */
.no-pump-options-message {
  padding: 2rem;
}

/* Selected pump card styling for chart overlay */
.pump-card.selected-pump {
  border-color: #1197D0 !important;
  box-shadow: 0 8px 32px rgba(17, 151, 208, 0.2) !important;
  transform: translateY(-2px);
  transition: all 0.2s ease;
}

.pump-card.selected-pump::before {
  content: "✓";
  position: absolute;
  top: 20px;
  right: 10px;
  background: #1197D0;
  color: white;
  padding: 4px 7px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  z-index: 10;
}

/* Password Strength Indicator Styles */
.password-strength .progress {
    background-color: #e9ecef;
    border-radius: 2px;
}

.password-strength .progress-bar {
    transition: width 0.3s ease, background-color 0.3s ease;
}

.password-strength .progress-bar.weak {
    background-color: #dc3545;
}

.password-strength .progress-bar.fair {
    background-color: #ffc107;
}

.password-strength .progress-bar.good {
    background-color: #17a2b8;
}

.password-strength .progress-bar.strong {
    background-color: #28a745;
}

.password-strength .progress-bar.very-strong {
    background-color: #198754;
}

.password-match .text-success {
    color: #28a745 !important;
}

.password-match .text-danger {
    color: #dc3545 !important;
} 

@media (max-width: 800px) {
  .chart-container {
    overflow-x: auto;
    min-width: 500px;
  }
  #avgLitresChart {
    min-width: 500px;
    height: 220px !important;
  }
  .responsive-chart-wrapper {
    display: none !important;
  }
  
  /* Chart period selection responsive */
  .btn-group[role="group"] {
    flex-wrap: wrap;
    gap: 0.25rem;
  }
  
  .btn-group[role="group"] .btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }
}

@media (max-width: 576px) {
  .btn-group[role="group"] {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-group[role="group"] .btn {
    border-radius: 0.375rem !important;
    margin-bottom: 0.25rem;
  }
} 

@media (max-width: 800px) {
  .pump-card.horizontal,
  .pump-card.guest-card {
    flex-direction: column !important;
    align-items: stretch !important;
    min-height: unset;
    height: auto;
    padding-bottom: 0;
  }
  .pump-card .pump-img-col,
  .pump-card.guest-card .pump-img-col {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
    flex: none !important;
  }
  .pump-card .pump-img,
  .pump-card.guest-card .pump-img {
    width: 100% !important;
    height: auto !important;
    border-radius: 1.1rem 1.1rem 0 0 !important;
    object-fit: cover;
  }
  .pump-card .pump-details-col,
  .pump-card.guest-card .pump-details-col {
    display: block !important;
    padding: 1.1rem 1rem 1rem 1rem !important;
    text-align: center;
    width: 100%;
  }
  .pump-card .pump-option-label,
  .pump-card .pump-model-styled,
  .pump-card .main-label,
  .pump-card .main-value,
  .pump-card .flow-diff,
  .pump-card .learn-more-btn {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
  }
  .pump-card .row.stats-row {
    flex-direction: row;
    justify-content: center;
    gap: 1.5em;
    margin-bottom: 0.5em;
  }
  .pump-card .card-footer {
    text-align: center !important;
    padding: 0.5em 1em 1em 1em !important;
  }
} 

@media (max-width: 800px) {
  .pump-card-horizontal-main {
    display: block !important;
    min-height: unset !important;
    height: auto !important;
    width: 100% !important;
  }
} 


/* TDH Warning Modal Styling */
.tdh-warning-modal {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.tdh-warning-header {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border-radius: 1rem 1rem 0 0;
    border-bottom: none;
    padding: 1.5rem 2rem 1rem 2rem;
}

.tdh-warning-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tdh-warning-title i {
    font-size: 1.5rem;
}

.tdh-warning-body {
    padding: 2rem;
    text-align: center;
    background: #fff;
}

.tdh-warning-icon {
    margin-bottom: 1.5rem;
}

.tdh-warning-icon i {
    font-size: 4rem;
    color: #dc3545;
    opacity: 0.8;
}

.tdh-warning-content {
    max-width: 500px;
    margin: 0 auto;
}

.tdh-warning-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.tdh-warning-text strong {
    color: #dc3545;
    font-weight: 700;
}

.tdh-warning-footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 1rem 1rem;
    padding: 1rem 2rem 1.5rem 2rem;
    justify-content: center;
}

.tdh-warning-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tdh-warning-btn:hover {
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.tdh-warning-btn:focus {
    box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
}

/* Turnstile Widget Styling */
.turnstile-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 65px;
    margin: 10px 0;
}

/* Style the actual Turnstile widget */
.cf-turnstile {
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.cf-turnstile:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-1px) !important;
}

/* Development mock widget styling */
.turnstile-mock-widget {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border: 2px solid #dee2e6 !important;
    border-radius: 8px !important;
    padding: 15px 20px !important;
    text-align: center !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    min-height: 65px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 500 !important;
    color: #6c757d !important;
}

.turnstile-mock-widget:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%) !important;
    border-color: #1197D0 !important;
    box-shadow: 0 4px 12px rgba(17, 151, 208, 0.2) !important;
    transform: translateY(-1px) !important;
}

/* Accessories Modal Styles */
.accessories-modal {
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1.5px 6px rgba(0,0,0,0.04);
}

.accessories-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border-radius: 1rem 1rem 0 0;
    border-bottom: none;
    padding: 1.5rem 2rem;
}

.accessories-title {
    font-weight: 600;
    font-size: 1.25rem;
    margin: 0;
}

.accessories-title i {
    margin-right: 0.5rem;
}

.accessories-body {
    padding: 2rem;
    background: #f8fbff;
}

.accessories-section-title {
    color: #495057;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.accessories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.accessory-item {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.accessory-item:hover {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
    transform: translateY(-2px);
}

.accessory-item.selected {
    border-color: #007bff;
    background: #f8fbff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.accessory-item.selected::after {
    content: '✓';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #007bff;
    color: white;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
}

/* Ensure delivery option also shows the tick */
.delivery-option.selected::after {
    content: '✓';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #007bff;
    color: white;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
}

/* Force hide tick when force-no-tick class is present */
.delivery-option.force-no-tick::after {
    content: none !important;
    display: none !important;
}

.accessory-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin: 0 auto 0.75rem;
    display: block;
}

.accessory-name {
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.accessory-part-number {
    color: #6c757d;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
    font-weight: 400;
}

.accessory-price {
    color: #007bff;
    font-weight: 600;
    font-size: 0.85rem;
}

.accessory-price.hidden {
    display: none;
}

.delivery-option .delivery-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 0.5rem;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.accessories-footer {
    background: white;
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 1rem 1rem;
    padding: 1.5rem 2rem;
}

.accessories-footer .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 0.5rem;
}

.accessories-footer .btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
}

.accessories-footer .btn-primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.accessories-section .form-check {
    padding: 0.75rem;
    background: white;
    border-radius: 0.5rem;
    border: 1px solid #e9ecef;
}

.accessories-section .form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.accessories-section .form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
}

.accessories-section .form-control {
    border-radius: 0.5rem;
    border: 1px solid #ced4da;
    padding: 0.75rem;
}

.accessories-section .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Loading state */
.accessories-loading {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

.accessories-loading i {
    font-size: 2rem;
    margin-bottom: 1rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .turnstile-container {
        min-height: 60px;
        margin: 8px 0;
    }
    
    .turnstile-mock-widget {
        padding: 12px 16px !important;
        min-height: 60px !important;
        font-size: 0.875rem !important;
    }
}

/* Manage Users Modal - Matching Business Statistics Dashboard Style */
#manageUsersModal .modal-xl {
    max-width: 1600px;
}

#manageUsersModal .modal-dialog {
    max-height: 95vh;
    display: flex;
    flex-direction: column;
}

#manageUsersModal .modal-content {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1.5px 6px rgba(0,0,0,0.04);
    overflow: hidden;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
}

#manageUsersModal .modal-body {
    overflow-y: visible;
    flex: 1;
    min-height: 0;
}

/* Modal Header - Matching Platform Stats */
#manageUsersModal .modal-header {
    background: linear-gradient(135deg, #1197d0 0%, #0e7bb8 100%);
    color: white;
    border-radius: 1rem 1rem 0 0;
    border-bottom: none;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

#manageUsersModal .modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    margin: 0;
}

#manageUsersModal .modal-title .bi {
    font-size: 1.25rem;
    color: white;
    margin-right: 0.5rem;
}

#manageUsersModal .modal-header .btn-close {
    opacity: 1;
    filter: invert(1) grayscale(100%) brightness(200%);
    background: transparent;
    border: none;
    padding: 0.5rem;
    transition: all 0.2s ease;
}

#manageUsersModal .modal-header .btn-close:hover {
    opacity: 0.8;
}

/* Header Form Controls - Matching Platform Stats */
#manageUsersModal .modal-header .form-label {
    color: white !important;
    font-size: 0.8rem;
    margin-bottom: 0;
}

#manageUsersModal .modal-header .form-select,
#manageUsersModal .modal-header .form-control {
    border-radius: 0.375rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    font-weight: 500;
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    transition: all 0.2s ease;
}

#manageUsersModal .modal-header .form-select:hover,
#manageUsersModal .modal-header .form-control:hover {
    background-color: white;
    border-color: rgba(255, 255, 255, 0.6);
}

#manageUsersModal .modal-header .form-select:focus,
#manageUsersModal .modal-header .form-control:focus {
    background-color: white;
    border-color: rgba(255, 255, 255, 0.8);
    color: #333;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
    outline: none;
}

#manageUsersModal .modal-header .input-group {
    width: 250px;
    display: flex;
    align-items: stretch;
    border-radius: 0.375rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.9);
}

#manageUsersModal .modal-header .input-group-text {
    border: none;
    background-color: transparent;
    color: #333;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

#manageUsersModal .modal-header .input-group .form-control {
    border: none;
    background-color: transparent;
    flex: 1;
    padding: 0.25rem 0.5rem;
}

#manageUsersModal .modal-header .input-group .form-control:focus {
    border: none;
    box-shadow: none;
    background-color: transparent;
}

#manageUsersModal .modal-header .input-group .form-control::placeholder {
    color: #6c757d;
    opacity: 0.7;
}

#manageUsersModal .modal-header .btn-outline-secondary {
    border: none;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    background-color: transparent;
    color: #333;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

#manageUsersModal .modal-header .btn-outline-secondary:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #333;
}

#manageUsersModal .modal-header .btn-outline-secondary:focus {
    box-shadow: none;
    background-color: rgba(0, 0, 0, 0.05);
}

#manageUsersModal .modal-header .input-group:hover {
    background-color: white;
    border-color: rgba(255, 255, 255, 0.6);
}

#manageUsersModal .modal-header .input-group:focus-within {
    background-color: white;
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

/* Modal Body - Matching Platform Stats */
#manageUsersModal .modal-body {
    padding: 2rem;
    background: #f8fbff;
}

/* Table Styling - Matching Platform Stats */
#manage-users-table {
    font-size: 0.875rem;
    margin-bottom: 0;
    background-color: white;
}

#manage-users-table thead {
    position: sticky;
    top: 0;
    z-index: 10;
}

#manage-users-table thead th {
    background: linear-gradient(135deg, #1197d0 0%, #0e7bb8 100%);
    color: white;
    border-top: none;
    border-bottom: none;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    white-space: nowrap;
}

#manage-users-table tbody td {
    padding: 0.4rem 0.75rem;
    vertical-align: middle;
    border-bottom: 1px solid #f1f3f5;
    color: #495057;
    font-size: 0.8rem;
    line-height: 1.2;
}

#manage-users-table tbody tr {
    transition: background-color 0.2s ease;
}

#manage-users-table tbody tr:hover {
    background-color: #f8fbff;
}

#manage-users-table tbody tr:last-child td {
    border-bottom: none;
}

#manage-users-table .user-edit-cell {
    padding: 0.3rem 0.75rem !important;
}

#manage-users-table .user-edit-input {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

#manage-users-table .form-check-input {
    width: 2rem;
    height: 1rem;
    margin: 0;
}

#manage-users-table .btn-sm {
    padding: 0.2rem 0.4rem;
    font-size: 0.75rem;
}

#manage-users-table .small {
    font-size: 0.75rem;
}

/* Table Container - Matching Platform Stats */
#manageUsersModal .table-responsive {
    max-height: none;
    overflow-y: visible;
    border-radius: 0.5rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#manageUsersModal .card {
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    background: white;
}

#manageUsersModal .card-body {
    padding: 0;
}

/* Pagination - Matching Platform Stats */
#manageUsersModal .pagination {
    margin-bottom: 0;
}

#manageUsersModal .page-link {
    color: #1197d0;
    border-color: #e9ecef;
}

#manageUsersModal .page-link:hover {
    color: #0e7bb8;
    background-color: #f8fbff;
    border-color: #1197d0;
}

#manageUsersModal .page-item.active .page-link {
    background-color: #1197d0;
    border-color: #1197d0;
    color: white;
}

#manageUsersModal .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #fff;
    border-color: #e9ecef;
    cursor: not-allowed;
}

/* Modal Footer - Matching Platform Stats */
#manageUsersModal .modal-footer {
    background: #f8fbff;
    border-top: 1px solid #e9ecef;
    padding: 1rem 2rem;
    border-radius: 0 0 1rem 1rem;
}