/* ============================================================
   Ideal Group — Get Your Quote (frontend mock-up)
   Theme: Excel green (#217346) + slate gray (#58595B)
   ============================================================ */

:root {
    --primary: #217346;          /* Excel green */
    --primary-dark: #17532F;
    --primary-tint: rgba(33, 115, 70, 0.10);
    --secondary: #58595B;        /* Slate gray */
    --secondary-dark: #454648;
    --text: #333;
    --light-text: #666;
    --border: #ddd;
    --success: #28a745;
    --background: #ffffff;
    --card-bg: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
    height: 100%;
}

body {
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

/* Lucide icons */
.lucide {
    width: 24px;
    height: 24px;
    stroke-width: 2;
    stroke: currentColor;
    fill: none;
    vertical-align: middle;
}

.card-text .lucide,
.card-icon {
    width: 38px !important;
    height: 38px !important;
    color: #494949;
}

.block-icon {
    display: block;
    margin: 0 auto 10px;
}

.info-icon {
    color: var(--primary);
    width: 16px !important;
    height: 16px !important;
    cursor: pointer;
    flex-shrink: 0;
}

.info-icon.small {
    width: 14px !important;
    height: 14px !important;
}

.container {
    width: 100%;
}

/* Toaster */
.toaster {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    pointer-events: none;
}

.toast {
    background: var(--secondary-dark);
    color: #fff;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    animation: toastIn 0.25s ease;
    max-width: 90vw;
    text-align: center;
}

.toast.warning {
    background: var(--primary);
}

@keyframes toastIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* App layout: sidebar + form flush against the page edges */
.app-layout {
    display: flex;
    align-items: stretch;
    min-height: 100vh;
}

/* Form container & progress */
.form-container {
    flex: 1;
    min-width: 0;
    background: var(--card-bg);
}

.step-sidebar {
    flex: 0 0 230px;
    background-color: transparent;
    position: sticky;
    top: 0;
    align-self: flex-start;
    min-height: 100vh;
}

.sidebar-logo {
    display: block;
    width: auto;
    white-space: nowrap;
    margin: 28px auto 20px;
    text-align: center;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: var(--primary);
}

.progress-labels {
    display: flex;
    flex-direction: column;
    padding: 14px;
    cursor: pointer;
}

.progress-label {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9rem;
    color: var(--secondary);
    padding: 8px 16px;
    border-radius: 8px;
    transition: background-color 0.2s, color 0.2s;
}

.progress-label:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.step-circle {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    background-color: transparent;
    transition: background-color 0.2s, border-color 0.2s;
}

.progress-label.completed .step-circle {
    background-color: var(--primary);
}

.progress-label.completed .step-text {
    color: var(--primary);
}

.progress-label.active .step-text {
    color: var(--primary);
    font-weight: 700;
}

.step-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    width: 24px;
    margin: 2px 0 2px 16px;
}

.step-connector .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #bbb;
    transition: background-color 0.2s;
}

.step-connector.passed .dot {
    background-color: #000;
}

/* Slides */
.form-slide {
    padding: 30px;
    display: none;
}

.form-slide.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

h2 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    border-left: 4px solid var(--primary);
    padding-left: 10px;
}

h2 span {
    display: block;
    font-size: 16px;
    font-weight: 100;
}

h2.no-border {
    border-left: none;
}

h3 {
    color: var(--primary-dark);
    margin: 15px 0 10px;
    font-size: 1.1rem;
}

i.prev-btn,
svg.prev-btn {
    cursor: pointer;
    font-size: 20px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary);
}

/* Card options */
.card-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.card-options.valetService {
    grid-template-columns: repeat(3, 1fr);
}

.card-option {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 150px;
    border: 2px solid rgba(33, 115, 70, 0.25);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background-color: white;
}

.card-option:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-option.selected {
    border-color: var(--primary);
    background-color: var(--primary-tint);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
}

.card-desc {
    font-size: 0.8rem;
    color: var(--light-text);
    margin-top: 5px;
}

.card-desc-sub {
    font-size: 0.75rem;
    color: #888;
    margin-top: 3px;
}

.card-price {
    font-weight: bold;
    font-size: 15px;
    color: var(--primary-dark);
}

/* Buttons */
.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: #f0f0f0;
    color: var(--text);
}

.btn-secondary:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
    margin: 20px 0;
}

.submit-error {
    display: none;
    background: #fdecea;
    border: 1px solid #e57373;
    color: #b3261e;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 16px;
    font-size: 14px;
}

/* Special items (Yes/No rows) */
.special-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 18px;
    border-radius: 10px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.2s;
    flex-wrap: wrap;
}

.special-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.special-item .image {
    flex-basis: 10px;
    margin-right: 15px;
}

.special-item .image svg {
    width: 34px;
    height: 34px;
    color: var(--secondary);
}

.special-item .item-info {
    width: 60%;
    min-width: 255px;
    margin-right: auto;
}

.item-info h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.item-info p {
    font-size: 13px;
    color: #666;
    margin: 3px 0 0 0;
}

.item-side {
    display: flex;
    align-items: center;
    gap: 15px;
}

.item-price-display {
    display: none;
    padding: 8px 10px;
    background-color: var(--primary);
    color: white;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
}

.item-actions {
    display: flex;
    gap: 10px;
}

.option-btn {
    padding: 6px 16px;
    border-radius: 6px;
    border: 1px solid #cfcfcf;
    background: #f9f9f9;
    cursor: pointer;
    transition: 0.2s;
    font-weight: 600;
    user-select: none;
}

.option-btn.active {
    background: var(--primary-tint);
    border-color: var(--primary);
    color: var(--primary-dark);
}

.no-gst-note {
    font-size: 12px;
    color: #888;
}

/* Storage Plan Details page */
.plan-hero {
    display: flex;
    align-items: center;
    gap: 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 14px;
    padding: 26px 30px;
    margin: 20px 0;
    color: #fff;
    flex-wrap: wrap;
}

.plan-hero-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.plan-hero-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.6;
}

.plan-hero-divider {
    width: 1px;
    align-self: stretch;
    background: rgba(255, 255, 255, 0.3);
}

.plan-hero-size,
.plan-hero-fee {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.plan-hero-fee {
    margin-left: auto;
    text-align: right;
}

.plan-hero-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.85;
}

.plan-hero-label small {
    text-transform: none;
    letter-spacing: 0;
}

.plan-hero-value {
    font-size: 20px;
    font-weight: 700;
}

.plan-section {
    margin-top: 24px;
}

.plan-section-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary-dark);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0 0 14px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-tint);
}

.plan-breakdown-table {
    width: 100%;
    border-collapse: collapse;
}

.plan-breakdown-table tr {
    border-bottom: 1px solid #ececec;
}

.plan-breakdown-table td {
    padding: 10px 0;
}

.plan-breakdown-table td:first-child {
    font-weight: 500;
    color: #444;
}

.plan-breakdown-table td:nth-child(2) {
    text-align: right;
}

.plan-breakdown-table .plan-total-row {
    border-bottom: none;
    border-top: 2px solid var(--primary-tint);
}

.plan-breakdown-table .plan-total-row td {
    padding-top: 14px;
    font-size: 15px;
}

.plan-breakdown-table .plan-total-row td:first-child {
    font-weight: 700;
    color: #333;
}

.plan-breakdown-table .plan-total-row td:nth-child(2) b {
    color: var(--primary-dark);
    font-size: 17px;
}

/* Monthly vs one-time fee grouping (Summary page) */
.fee-group {
    border-radius: 10px;
    padding: 6px 18px;
}

.fee-group-monthly {
    background: #f8f9fa;
    border: 1px solid #ececec;
}

.fee-group-onetime {
    background: rgba(33, 115, 70, 0.05);
    border: 1px solid rgba(33, 115, 70, 0.15);
}

.fee-group .plan-breakdown-table {
    width: 100%;
}

.grand-total-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 14px;
    padding: 24px 30px;
    color: #fff;
    margin: 28px 0;
}

.grand-total-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.9;
}

.grand-total-label small {
    text-transform: none;
    letter-spacing: 0;
}

.grand-total-value {
    font-size: 32px;
    font-weight: 800;
}

.plan-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.plan-detail-chip {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f8f9fa;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 14px 16px;
}

.plan-detail-chip svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
    stroke-width: 1.6;
    flex-shrink: 0;
}

.plan-detail-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chip-label {
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 4px;
}

.chip-value {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* Additional Requests page */
.instructions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.instructions-grid.location-details-grid {
    grid-template-columns: repeat(2, 1fr);
}

.instruction-card,
.item-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    background: #fff;
    border: 2px solid rgba(33, 115, 70, 0.15);
    border-radius: 14px;
    padding: 28px 20px 24px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.instruction-card {
    cursor: pointer;
    user-select: none;
}

.instruction-card:hover,
.item-card:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.instruction-card.active {
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(33, 115, 70, 0.12);
}

.instruction-check {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary);
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(33, 115, 70, 0.35);
}

.instruction-card.active .instruction-check {
    display: flex;
}

.instruction-check svg {
    width: 15px;
    height: 15px;
    color: #fff;
    stroke-width: 3;
}

.instruction-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--primary-tint);
    display: flex;
    align-items: center;
    justify-content: center;
}

.instruction-icon svg {
    width: 26px;
    height: 26px;
    color: var(--primary);
    stroke-width: 1.6;
}

.instruction-card h4,
.item-card h4 {
    margin: 4px 0 0 0;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.instruction-card p {
    margin: 0;
    font-size: 13px;
    color: #777;
    line-height: 1.5;
    min-height: 58px;
}

.section-subtext {
    margin: 0 0 16px 0;
    font-size: 13px;
    color: #777;
}

.item-spec {
    margin: 0;
    font-size: 12px;
    color: #999;
}

.item-price {
    margin: 2px 0 0 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-dark);
}

.qty-stepper {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #d8d8d8;
    background: #f9f9f9;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.15s;
}

.qty-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-tint);
}

.qty-value {
    min-width: 26px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 2px;
}

.items-subtotal {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.items-subtotal .packingFeeShow {
    font-size: 16px;
    color: var(--primary-dark);
}

/* Included / excluded lists */
.included-list, .excluded-list, .normal-list,
.included-list ul, .excluded-list ul, .normal-list ul {
    list-style: none !important;
    padding: 0;
    margin: 0;
}

.included-list li, .excluded-list li, .normal-list li {
    padding: 1px 0 1px 20px;
    position: relative;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.included-list > li:before { content: "\2713"; position: absolute; left: 0; color: green; font-weight: bold; font-size: 14px; }
.excluded-list > li:before { content: "\25CB"; position: absolute; left: 0; color: red; font-weight: bold; font-size: 14px; }
.normal-list > li:before { content: "-"; position: absolute; left: 0; color: #555; font-weight: bold; font-size: 14px; }

.included-list ul { margin-left: 5px; }

.included-list li li:before,
.excluded-list li li:before,
.normal-list li li:before {
    content: "-" !important;
    color: #555 !important;
}

.included-list li::marker, .excluded-list li::marker, .normal-list li::marker {
    content: "" !important;
}

/* Modals */
#backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    z-index: 999;
}

.modal-box {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 1001;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.modal-box h2 {
    margin-bottom: 20px;
}

.modal-box.wide { max-width: 780px; width: 90vw; }
.modal-box.medium { max-width: 600px; width: 90vw; }
.modal-box.narrow { max-width: 500px; width: 90vw; }

.modal-close-x {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
}

.modal-section-title {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 15px;
    color: #333;
}

.modal-section-title.with-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-actions {
    margin-top: 30px;
    text-align: center;
}

.modal-text {
    line-height: 1.6;
    color: #555;
    font-size: 15px;
}

.modal-text p {
    margin-bottom: 15px;
}

.modal-text ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.modal-text ul li {
    margin-bottom: 10px;
}

.muted-italic {
    font-style: italic;
    color: #888;
    margin-bottom: 0 !important;
}

.inline-tooltip {
    display: none;
    background: var(--primary-tint);
    border: 1px solid var(--primary);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #333;
}

.inline-tooltip ul {
    margin: 0;
    padding-left: 18px;
}

/* Location modal */
.location-modal-body {
    text-align: center;
    margin-bottom: 20px;
}

.location-icon {
    width: 48px !important;
    height: 48px !important;
    color: var(--primary);
}

.location-modal-body h3 {
    font-size: 16px;
    margin-top: 10px;
    color: #333;
}

.floor-price {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}

.floor-counter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.floor-btn {
    width: 40px;
    height: 40px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#floorsInput {
    width: 80px;
    height: 50px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border: 2px solid var(--primary);
    border-radius: 8px;
    outline: none;
}

/* Customer details */
.customer-form-wrapper {
    background: #ffffff;
    border-radius: 20px;
    margin: 25px 0;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 1px 8px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(33, 115, 70, 0.12);
    position: relative;
    overflow: hidden;
}

.customer-form-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
}

.form-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-tint);
}

.form-section-header .plan-section-title {
    margin: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.form-section-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.form-section-icon svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    stroke-width: 1.8;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 30px;
}

.form-group.full-width {
    grid-column: span 2;
}

.customer-form-wrapper .form-group {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

.customer-form-wrapper label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-weight: 700;
    color: #2d3436;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-icon-wrapper .input-icon {
    position: absolute;
    left: 16px;
    width: 20px !important;
    height: 20px !important;
    color: #b2bec3;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.customer-form-wrapper input,
.customer-form-wrapper select {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid #f1f3f5;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #f8f9fa;
    color: #2d3436;
}

.customer-form-wrapper input.no-icon {
    padding-left: 16px;
}

.customer-form-wrapper input:focus,
.customer-form-wrapper select:focus {
    border-color: var(--primary);
    background: #ffffff;
    outline: none;
    box-shadow: 0 8px 20px rgba(33, 115, 70, 0.10);
    transform: translateY(-2px);
}

.input-icon-wrapper:focus-within .input-icon {
    color: var(--primary);
    transform: scale(1.1) translateY(-1px);
}

.customer-form-wrapper input::placeholder {
    color: #adb5bd;
    font-weight: 400;
}

.phone-split-wrapper {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.phone-split-wrapper .input-icon-wrapper:first-child {
    flex: 0 0 90px;
}

.phone-split-wrapper .input-icon-wrapper:last-child {
    flex: 1;
}

#customer-country-code {
    text-align: center;
    padding-left: 36px !important;
    font-weight: 600;
}

/* Terms & conditions */
.terms-download {
    padding: 4px 0 20px;
    text-align: center;
}

.terms-download .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.checkbox-container {
    padding: 16px 20px;
    border: 1px solid #ececec;
    border-radius: 10px;
    background-color: #f8f9fa;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.checkbox-wrapper label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    user-select: none;
    margin-bottom: 0;
}

/* Payment */
.payment-method-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    padding: 20px 22px;
    margin-bottom: 16px;
}

.payment-method-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.payment-method-header h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #333;
}

.payment-notice {
    background: #fdf0e8;
    border: 1px solid #eda276;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.payment-notice p {
    font-size: 14px;
    color: #8a3e17;
}

/* Payment success popup */
.payment-success-modal {
    max-width: 420px;
    width: 90vw;
    text-align: center;
    z-index: 1002;
}

.payment-processing h3,
.payment-qr h3 {
    margin: 18px 0 8px;
    font-size: 22px;
    color: var(--secondary);
}

.payment-processing p {
    color: #666;
    font-size: 14px;
}


.btn-success {
    background-color: var(--success);
    color: #fff;
    width: 100%;
}

.btn-success:hover {
    background-color: #1f7a34;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.paid-amount {
    margin-top: 12px;
    font-size: 16px !important;
    color: var(--text) !important;
}

/* Success slide */
.success-message {
    text-align: center;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 2px #9d9d9d;
}

.success-icon {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 20px;
}

.success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.loading-spinner {
    width: 56px;
    height: 56px;
    border: 5px solid #e0e0e0;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    margin: 0 auto;
}

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

/* Custom order slide */
.custom-order-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid #e0e0e0;
}

.custom-order-intro {
    margin-bottom: 20px;
    font-size: 16px;
    color: #666;
}

.form-group.stacked {
    margin-bottom: 20px;
}

.form-group.stacked label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.optional-note {
    font-weight: 400;
    font-size: 12px;
    color: #999;
}

.form-group.stacked input,
.form-group.stacked textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
    resize: vertical;
}

.form-group.stacked input:focus,
.form-group.stacked textarea:focus {
    border-color: var(--primary);
}

/* Flatpickr theming */
.flatpickr-calendar {
    font-family: inherit;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    border: none;
    overflow: hidden;
}

.flatpickr-months,
.flatpickr-months .flatpickr-month,
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    background: var(--secondary);
    color: #fff;
    fill: #fff;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
    fill: var(--primary);
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
    color: #fff;
    font-weight: 700;
}

.flatpickr-weekday {
    background: var(--secondary-dark);
    color: #fff;
    font-weight: 600;
}

.flatpickr-day.today {
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 700;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    font-weight: 700;
}

.flatpickr-day:hover {
    background: var(--primary-tint);
    border-color: var(--primary);
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
    color: #ccc;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .plan-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px;
    }

    .plan-hero-divider {
        display: none;
    }

    .plan-hero-fee {
        margin-left: 0;
        text-align: left;
    }

    .plan-details-grid {
        grid-template-columns: 1fr;
    }

    .instructions-grid {
        grid-template-columns: 1fr;
    }

    .instructions-grid.location-details-grid {
        grid-template-columns: 1fr;
    }

    .card-options.valetService {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .customer-form-wrapper {
        padding: 25px 20px;
        border-radius: 15px;
    }

    .app-layout {
        flex-direction: column;
    }

    .step-sidebar {
        position: static;
        width: 100%;
        min-height: auto;
    }

    .sidebar-logo {
        width: auto;
        white-space: nowrap;
        font-size: 17px;
        margin: 12px auto 8px;
    }

    .progress-labels {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--primary) #f1f1f1;
        padding: 10px 10px 14px;
        gap: 6px;
    }

    .progress-labels::-webkit-scrollbar {
        height: 5px;
    }

    .progress-labels::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    .progress-labels::-webkit-scrollbar-thumb {
        background: var(--primary);
        border-radius: 4px;
    }

    .progress-label {
        flex: 0 0 76px;
        flex-direction: column;
        gap: 4px;
        font-size: 0.62rem;
        padding: 8px 4px;
        text-align: center;
        white-space: normal;
    }

    .step-circle {
        width: 20px;
        height: 20px;
        border-width: 2px;
    }

    .step-connector {
        display: none;
    }

    #slide-customer,
    #slide-payment {
        padding: 15px;
    }
}

@media (max-width: 600px) {
    .form-actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
    }
}
