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

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

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

.header-role-badge {
    margin-top: 7px;
    min-width: 60px;
    text-align: center;
    white-space: nowrap;
    line-height: 1.2;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 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;
    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: 2rem;
    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: #2a3b4d;
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 0.1em;
}
.pump-card .main-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a2b3c;
    letter-spacing: 0.01em;
    margin-bottom: 0.2em;
    display: block;
}
.pump-card .model-feature {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1197D0;
    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: #7a8a99;
}
.pump-card .flow-diff.text-success {
    color: #1197D0 !important;
    background: none !important;
}
.pump-card .flow-diff.text-warning {
    color: #e6a700 !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 {
    display: block;
    text-align: center;
    width: 100%;
    padding: 0.45em 1.3em;
    border: 1.5px solid #1197D0;
    border-radius: 2em;
    background: #fff;
    color: #1197D0;
    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 {
    background: #1197D0;
    color: #fff;
    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: #7a8a99;
}
.pump-card.horizontal .flow-diff.text-success {
    color: #1197D0 !important;
}
.pump-card.horizontal .flow-diff.text-warning {
    color: #e6a700 !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: -1.5rem 0 0.25rem 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: #4a5a6a;
    font-size: 1.01rem;
    font-weight: 500;
    margin-bottom: 0.2em;
}
.results-stat-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1a2b3c;
    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-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;
}

/* 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: #1a2b3c;
  letter-spacing: 0.01em;
  margin-bottom: 0.2em;
  position: relative;
  line-height: 1.1;
  background: linear-gradient(90deg, #1197D0 0%, #4fd1c5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.panel-heading-accent {
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #1197D0 0%, #4fd1c5 100%);
  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;
} 

/* Add more space below the Request Quote button */
.request-quote-btn {
    margin-top: 0.5em;
    margin-bottom: -0.75em;
} 

/* .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-bottom: 8px;
}

#pump-options {
  margin-top: 32px;
} 

/* 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: "✓ Selected for Chart";
  position: absolute;
  top: 10px;
  right: 10px;
  background: #1197D0;
  color: white;
  padding: 4px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  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;
  }
} 

@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;
  }
} 

/* PDF Button Styles */
#generate-pdf-btn {
    background-color: #1197D0 !important;
    border-color: #1197D0 !important;
}

#generate-pdf-btn:hover {
    background-color: #0f85b8 !important;
    border-color: #0f85b8 !important;
}

#generate-pdf-btn:focus {
    background-color: #1197D0 !important;
    border-color: #1197D0 !important;
    box-shadow: 0 0 0 0.25rem rgba(17, 151, 208, 0.25) !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;
}

.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;
    }
}