/* Glacier Broadband Pricing Tool - Frontend Styles */

:root {
    --gb-blue-dark: #1e40af;
    --gb-blue-medium: #2563eb;
    --gb-blue-light: #3b82f6;
    --gb-accent: #fbbf24;
    --gb-accent-light: #fef3c7;
}

.gb-pricing-checker {
    max-width: 1000px;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.gb-checker-header {
    text-align: center;
    margin-bottom: 40px;
}

.gb-checker-header h2 {
    color: var(--gb-blue-dark);
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 15px;
}

.gb-checker-header p {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.6;
}

.gb-checker-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.gb-form-group {
    margin-bottom: 25px;
}

.gb-form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.gb-form-group input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.gb-form-group input:focus {
    outline: none;
    border-color: var(--gb-blue-medium);
}

/* Google Places Autocomplete Styling */
.pac-container {
    border-radius: 8px;
    border: 2px solid var(--gb-blue-medium);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    margin-top: 4px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.pac-item {
    padding: 12px 14px;
    cursor: pointer;
    font-size: 14px;
    border-top: 1px solid #e5e7eb;
}

.pac-item:first-child {
    border-top: none;
}

.pac-item:hover {
    background-color: #eff6ff;
}

.pac-item-selected {
    background-color: #eff6ff;
}

.pac-icon {
    margin-top: 8px;
}

.pac-item-query {
    color: #1f2937;
    font-weight: 500;
}

.gb-button {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
}

.gb-button-primary {
    background-color: #3b82f6;
    color: #ffffff;
    width: 100%;
}

.gb-button-primary:hover {
    background-color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.gb-button-primary:active {
    transform: translateY(0);
}

/* Results Section */
.gb-results {
    animation: fadeIn 0.3s ease-in;
}

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

.gb-results-header {
    background: linear-gradient(135deg, var(--gb-blue-dark) 0%, var(--gb-blue-medium) 100%);
    color: white;
    padding: 40px 30px;
    border-radius: 12px 12px 0 0;
    text-align: center;
}

.gb-results-header.out-of-coverage {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.gb-results-header h3 {
    margin: 0 0 10px 0;
    font-size: 32px;
    font-weight: 400;
}

.gb-results-header p {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
}

.gb-pricing-plans {
    background: white;
    padding: 30px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gb-pricing-plans > h3 {
    margin: 0 0 25px 0;
    color: #1f2937;
    font-size: 24px;
    font-weight: 400;
}

/* Individual Plan Card */
.gb-plan {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 0;
    margin: 20px auto;
    overflow: hidden;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
}

.gb-plan:hover {
    border-color: var(--gb-blue-medium);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.gb-plan.selected {
    border-color: var(--gb-blue-medium);
    border-width: 3px;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
    background: linear-gradient(to right, #eff6ff 0%, #ffffff 20%);
}

.gb-plan.selected .gb-plan-select {
    background: #10b981;
}

.gb-plan.selected .gb-plan-select::after {
    content: " ✓";
}

.gb-plan.featured {
    border-color: var(--gb-accent);
    background: linear-gradient(to right, #fffbeb 0%, #ffffff 30%);
}

.gb-plan-badge {
    background: var(--gb-accent);
    color: #000;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gb-plan-content {
    padding: 20px 24px;
    text-align: left;
}

.gb-plan-content h3,
.gb-plan-content p,
.gb-plan-content li {
    color: #1f2937 !important;
}

.gb-plan-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
    text-align: left;
}

.gb-plan-info {
    flex: 1;
    text-align: left;
}

.gb-plan-name {
    font-weight: 600;
    color: #1f2937 !important;
    font-size: 20px;
    margin: 0 0 6px 0;
    text-align: left;
}

.gb-plan-tagline {
    font-size: 14px;
    color: #1f2937 !important;
    margin: 0 0 10px 0;
    line-height: 1.5;
    text-align: left;
}

.gb-plan-speed-box {
    text-align: right;
    padding-left: 20px;
}

.gb-plan-speed-label {
    font-size: 9px;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 2px;
}

.gb-plan-speed-value {
    font-size: 18px;
    color: #1f2937;
    font-weight: 700;
    margin-bottom: 2px;
}

.gb-plan-speed-label-upload {
    font-size: 9px;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 2px;
    margin-top: 5px;
}

.gb-plan-headline {
    font-size: 14px;
    color: #1f2937 !important;
    font-weight: 700;
    margin: 14px 0 10px 0;
    text-align: left;
}

.gb-plan-bullets {
    margin: 0 0 16px 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.gb-plan-bullets li {
    font-size: 14px;
    color: #1f2937 !important;
    line-height: 1.6;
    margin-bottom: 6px;
    padding-left: 24px;
    position: relative;
    text-align: left;
}

.gb-plan-bullets li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: 700;
    font-size: 16px;
}

.gb-plan-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.gb-plan-price-container {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.gb-plan-price {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
}

.gb-plan-price-suffix {
    font-size: 14px;
    color: #6b7280;
    font-weight: 400;
}

.gb-plan-select {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 10px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.gb-plan-select:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Lead Form */
.gb-lead-form {
    background: white;
    padding: 30px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gb-lead-form h4 {
    color: #1f2937;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
}

.gb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.gb-form-field {
    margin-bottom: 20px;
}

.gb-form-field label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.gb-form-field input,
.gb-form-field select,
.gb-form-field textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    transition: border-color 0.2s;
    box-sizing: border-box;
    font-family: inherit;
}

.gb-form-field textarea {
    resize: vertical;
    min-height: 100px;
}

.gb-form-field input:focus,
.gb-form-field select:focus,
.gb-form-field textarea:focus {
    outline: none;
    border-color: var(--gb-blue-medium);
}

.gb-submit-button {
    background-color: #10b981;
    color: white;
    width: 100%;
}

.gb-submit-button:hover {
    background-color: #059669;
}

.gb-out-coverage-message {
    background: white;
    padding: 30px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.gb-out-coverage-message p {
    color: #6b7280;
    font-size: 16px;
    margin-bottom: 20px;
}

.gb-success-message {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gb-success-message h3 {
    margin: 0 0 15px 0;
    font-size: 28px;
}

.gb-success-message p {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
}

.gb-error-message {
    background: #fef2f2;
    border: 2px solid #fca5a5;
    color: #991b1b;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
}

/* Coupon Code Styles */
.gb-coupon-container {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.gb-coupon-input {
    flex: 1;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    text-transform: uppercase;
}

#apply-coupon-btn {
    white-space: nowrap;
    padding: 12px 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .gb-pricing-checker {
        padding: 0 20px;
    }
    
    .gb-checker-form {
        padding: 25px;
    }
    
    .gb-checker-header h2 {
        font-size: 28px;
    }
    
    .gb-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .gb-plan-header {
        flex-direction: column;
    }
    
    .gb-plan-speed-box {
        text-align: left;
        padding-left: 0;
        margin-top: 12px;
    }
    
    .gb-plan-footer {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .gb-plan-select {
        width: 100%;
    }
    
    .gb-coupon-container {
        flex-direction: column;
    }
    
    #apply-coupon-btn {
        width: 100%;
    }
}

/* Loading Animation */
#gb-loading {
    text-align: center !important;
    padding: 60px 40px !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

#gb-loading[style*="display: block"],
#gb-loading[style*="display:block"] {
    display: block !important;
}

.gb-loader {
    display: inline-block;
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
}

.gb-loader:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid #3b82f6;
    border-color: #3b82f6 transparent #3b82f6 transparent;
    animation: gb-loader-spin 1.2s linear infinite;
}

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

#gb-loading h3 {
    color: #1f2937;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

#gb-loading p {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

.gb-loading-steps {
    margin-top: 30px;
    padding: 20px;
    background: #f3f4f6;
    border-radius: 8px;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.gb-loading-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: #6b7280;
    font-size: 14px;
}

.gb-loading-step.active {
    color: #3b82f6;
    font-weight: 600;
}

.gb-loading-step .gb-step-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
    flex-shrink: 0;
}

.gb-loading-step.active .gb-step-icon {
    background: #3b82f6;
}

.gb-loading-step.complete .gb-step-icon {
    background: #10b981;
}

/* Appointment Calendar */
.gb-calendar-container {
    background: #f9fafb;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e5e7eb;
}

.gb-calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.gb-calendar-week-label {
    font-weight: 600;
    color: #1f2937;
    font-size: 16px;
    flex: 1;
    text-align: center;
}

.gb-calendar-prev,
.gb-calendar-next {
    background: white;
    border: 1px solid #d1d5db;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    transition: all 0.2s;
}

.gb-calendar-prev:hover:not(:disabled),
.gb-calendar-next:hover:not(:disabled) {
    background: #f3f4f6;
    border-color: #3b82f6;
    color: #3b82f6;
}

.gb-calendar-prev:disabled,
.gb-calendar-next:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.gb-calendar-days {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.gb-calendar-day {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.gb-calendar-day-header {
    background: #1e40af;
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.gb-calendar-date {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.9;
}

.gb-calendar-slots {
    padding: 10px;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gb-time-slot {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: #374151;
    transition: all 0.2s;
    text-align: center;
}

.gb-time-slot:hover {
    background: #e0f2fe;
    border-color: #3b82f6;
    color: #3b82f6;
}

.gb-time-slot.selected {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
    font-weight: 600;
}

.gb-no-slots {
    color: #9ca3af;
    font-size: 13px;
    text-align: center;
    padding: 20px 5px;
    margin: 0;
}

/* Holiday blocker styles */
.gb-calendar-day-holiday {
    background: #fef2f2;
    border-color: #fca5a5;
}

.gb-calendar-day-holiday .gb-calendar-day-header {
    background: #dc2626;
}

.gb-holiday-blocker {
    text-align: center;
    padding: 15px 10px;
}

.gb-holiday-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.gb-holiday-label {
    font-size: 14px;
    font-weight: 700;
    color: #dc2626;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.gb-holiday-name {
    font-size: 11px;
    color: #991b1b;
    font-weight: 500;
}

.gb-calendar-loading {
    text-align: center;
    padding: 40px;
    color: #6b7280;
}

/* Responsive calendar */
@media (max-width: 968px) {
    .gb-calendar-days {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .gb-calendar-days {
        grid-template-columns: 1fr;
    }
    
    .gb-calendar-nav {
        flex-direction: column;
    }
    
    .gb-calendar-prev,
    .gb-calendar-next {
        width: 100%;
    }
}

/* Checkout Layout */
.gb-checkout-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin-top: 20px;
}

.gb-checkout-left {
    background: white;
}

.gb-checkout-right {
    position: relative;
}

.gb-order-summary {
    background: #f9fafb;
    border: 2px solid #3b82f6;
    border-radius: 12px;
    padding: 20px;
}

.gb-appointment-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e5e7eb;
}

.gb-appointment-section h5 {
    margin-bottom: 20px;
}

.gb-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: #1f2937;
}

.gb-summary-label {
    font-size: 13px;
    color: #4b5563;
}

.gb-summary-value {
    font-weight: 600;
    color: #1f2937;
}

.gb-summary-divider {
    border-top: 2px solid #e5e7eb;
    margin: 12px 0;
}

.gb-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    background: #eff6ff;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 8px;
}

.gb-summary-total .gb-summary-label {
    font-size: 14px;
    font-weight: 600;
    color: #1e40af;
}

.gb-summary-total .gb-summary-value {
    font-size: 20px;
    font-weight: 700;
    color: #1e40af;
}

.gb-summary-monthly {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    margin-top: 8px;
}

.gb-summary-monthly .gb-summary-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.gb-summary-monthly .gb-summary-value {
    font-size: 18px;
    font-weight: 700;
    color: #059669;
}

.gb-guarantee {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
    font-size: 12px;
    line-height: 1.5;
}

.gb-guarantee p {
    margin-bottom: 8px;
    color: #1f2937 !important;
}

.gb-guarantee strong {
    color: #1f2937;
}

@media (max-width: 968px) {
    .gb-checkout-container {
        grid-template-columns: 1fr;
    }
    
    .gb-order-summary {
        position: static;
        order: -1;
    }
}

/* Checkout Wizard */
.gb-checkout-wizard {
    max-width: 800px;
    margin: 0 auto;
}

.gb-wizard-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.gb-wizard-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
}

.gb-wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
    flex: 1;
    transition: all 0.2s ease;
}

/* Make completed and active steps clickable */
.gb-wizard-step.completed,
.gb-wizard-step.active {
    cursor: pointer;
}

.gb-wizard-step.completed:hover .gb-step-number,
.gb-wizard-step.active:hover .gb-step-number {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.gb-wizard-step.completed:hover .gb-step-label,
.gb-wizard-step.active:hover .gb-step-label {
    color: #1f2937;
    font-weight: 600;
}

.gb-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
}

.gb-wizard-step.active .gb-step-number {
    background: #3b82f6;
    color: white;
}

.gb-wizard-step.completed .gb-step-number {
    background: #10b981;
    color: white;
}

.gb-step-label {
    font-size: 13px;
    color: #6b7280;
    text-align: center;
}

.gb-wizard-step.active .gb-step-label {
    color: #1f2937;
    font-weight: 600;
}

.gb-wizard-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.gb-wizard-nav {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: space-between;
}

.gb-wizard-nav button {
    flex: 1;
    max-width: 250px;
}

.gb-button-primary {
    background-color: #3b82f6 !important;
    color: white !important;
}

.gb-button-primary:hover {
    background-color: #005a8f !important;
}

.gb-address-display {
    padding: 12px 16px;
    background: #f9fafb;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    color: #1f2937;
}

/* Order Review */
.gb-order-review {
    background: #f9fafb;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.gb-review-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.gb-review-section:last-of-type {
    border-bottom: none;
}

.gb-review-section h4 {
    color: #1f2937 !important;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.gb-review-section p {
    color: #1f2937 !important;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.gb-review-table {
    width: 100%;
    border-collapse: collapse;
}

.gb-review-table td {
    padding: 10px 0;
    color: #4b5563;
    text-align: left;
}

.gb-review-table td:last-child {
    text-align: left;
    padding-left: 20px;
    font-weight: 600;
    color: #1f2937;
}

.gb-review-total td {
    padding-top: 15px;
    border-top: 2px solid #e5e7eb;
    color: #1e40af !important;
    font-size: 18px;
}

.gb-review-monthly td {
    color: #059669 !important;
    font-size: 16px;
}

/* Confirmation */
.gb-confirmation-box {
    text-align: center;
    padding: 60px 40px;
    background: #f0fdf4;
    border-radius: 12px;
    border: 2px solid #10b981;
}

.gb-confirmation-icon {
    width: 80px;
    height: 80px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 20px;
}

/* Mobile-only sticky navigation */
.gb-mobile-nav-top {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    padding: 15px;
    margin: -15px -15px 20px -15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid #e5e7eb;
}

.gb-wizard-next-mobile {
    width: 100%;
    font-size: 16px;
    padding: 14px 20px;
}

.gb-wizard-next-mobile:disabled .gb-mobile-nav-text::before {
    content: "👇 ";
}

.gb-wizard-next-mobile:not(:disabled) .gb-mobile-nav-text {
    content: "Next: Choose Appointment →";
}

.gb-wizard-next-mobile:not(:disabled) .gb-mobile-nav-text::before {
    content: "";
}

@media (max-width: 640px) {
    /* Show mobile sticky nav */
    .gb-mobile-nav-top {
        display: block !important;
    }
    
    /* Hide desktop Step 1 navigation */
    .gb-wizard-content[data-step="1"] .gb-wizard-nav {
        display: none !important;
    }
    
    .gb-wizard-progress {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .gb-wizard-step {
        flex: 0 0 calc(50% - 8px);
    }
    
    .gb-wizard-nav {
        flex-direction: column;
    }
    
    .gb-wizard-nav button {
        max-width: 100%;
    }
}

/* Email validation error state */
.gb-field-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
    transition: border-color 0.2s, box-shadow 0.2s;
}

/* ==========================================
   PLAN TYPE TABS
   ========================================== */

.gb-plan-type-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 0;
    background: transparent;
    border-bottom: none;
    max-width: 600px; /* Limit total width */
}

.gb-plan-tab {
    flex: 0 1 auto; /* Don't stretch to fill */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 15px;
    color: #6b7280;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    position: relative;
    margin-bottom: -2px;
    white-space: nowrap;
}

.gb-plan-tab:hover:not(.active) {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.gb-plan-tab.active {
    background: white;
    color: #2563eb;
    border-color: #2563eb;
    border-bottom: 2px solid white;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 -2px 8px rgba(37, 99, 235, 0.1);
}

.gb-tab-icon {
    font-size: 20px;
    line-height: 1;
}

.gb-tab-label {
    font-size: 14px;
    font-weight: inherit;
}

/* Pricing container integration */
.gb-pricing-plans {
    background: white;
    border: 2px solid #e5e7eb;
    border-top: 2px solid #2563eb;
    border-radius: 0 12px 12px 12px;
    padding: 30px 20px;
    margin-top: 0 !important;
}

/* Mobile responsive tabs */
@media (max-width: 768px) {
    .gb-plan-type-tabs {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 20px;
        max-width: 100%;
    }
    
    .gb-plan-tab {
        border-radius: 8px;
        border: 2px solid #e5e7eb;
        padding: 14px 18px;
        justify-content: flex-start;
        margin-bottom: 0;
    }
    
    .gb-plan-tab.active {
        background: white;
        border-color: #2563eb;
        color: #2563eb;
    }
    
    .gb-tab-icon {
        font-size: 20px;
    }
    
    .gb-tab-label {
        font-size: 14px;
    }
    
    .gb-pricing-plans {
        border-radius: 12px;
        border-top: 2px solid #2563eb;
    }
}

        color: white;
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    }
    
    .gb-plan-tab:hover:not(.active) {
        transform: translateY(0);
    }
    
    .gb-tab-icon {
        font-size: 22px;
    }
    
    .gb-tab-label {
        font-size: 15px;
    }
}

/* Plan Selector Prompt - UPDATE 4 (Revised) */
.gb-plan-selector-prompt {
    text-align: center;
    margin: 25px 0 10px 0;
    animation: fadeInDown 0.6s ease-out;
}

.gb-prompt-text {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.gb-prompt-bracket-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    height: 60px;
}

.gb-bracket-svg {
    width: 100%;
    height: 60px;
    display: block;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .gb-prompt-text {
        font-size: 16px;
    }
    
    .gb-prompt-bracket-container {
        height: 50px;
    }
    
    .gb-bracket-svg {
        height: 50px;
    }
}

/* Step-Based Wizard Tabs - v6.9.0 */
.gb-step-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 0;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    background: white;
}

.gb-step-tab {
    flex: 1;
    min-width: 140px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.gb-step-tab:hover:not(.disabled) {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Step 1 tabs - Beautiful blue */
.gb-step-tab[data-step="1"] {
    background: #2563eb;
}

.gb-step-tab[data-step="1"]:hover:not(.disabled) {
    background: #1d4ed8;
}

/* Selected Step 1 tab - Lighter blue */
.gb-step-tab[data-step="1"].active {
    background: #60a5fa;
    box-shadow: 0 4px 16px rgba(96, 165, 250, 0.5);
}

.gb-step-tab.active {
    background: #1e40af;
    box-shadow: 0 4px 16px rgba(30, 64, 175, 0.5);
}

.gb-step-tab.completed {
    background: #10b981;
}

.gb-step-tab.completed:hover {
    background: #059669;
}

.gb-step-tab.disabled {
    background: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
}

.gb-step-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
    font-weight: 600;
    color: white;
}

.gb-step-name {
    font-size: 14px;
    font-weight: 600;
}

/* Router & Protection Options */
.gb-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.gb-option-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gb-option-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.gb-option-card.selected {
    border-color: #10b981;
    background: #f0fdf4;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.gb-option-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

.gb-option-header h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    color: #1f2937;
}

.gb-option-price {
    font-size: 32px;
    font-weight: 700;
    color: #3b82f6;
}

.gb-option-price span {
    font-size: 14px;
    color: #6b7280;
    font-weight: 400;
}

.gb-option-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.gb-option-features li {
    padding: 8px 0;
    color: #4b5563;
    font-size: 14px;
}

/* Continue button */
.gb-continue-btn {
    padding: 15px 40px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gb-continue-btn:hover {
    background: #059669;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gb-step-tabs {
        flex-direction: column;
    }
    
    .gb-step-tab {
        min-width: 100%;
    }
    
    .gb-options-grid {
        grid-template-columns: 1fr;
    }
}

/* Step Navigation Indicator - v6.9.0 */
.gb-step-navigator {
    background: white;
    padding: 20px;
    text-align: center;
    border-bottom: none;
}

.gb-step-indicator {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Remove pricing area separation */
.gb-pricing-plans {
    background: white;
    padding-top: 30px;
    margin-top: 0;
    border-top: none;
}

.gb-container {
    background: white;
}

/* Highlight Step 1 tabs */
.gb-step-tab[data-step="1"] {
    position: relative;
}

.gb-step-tab[data-step="1"]::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}
