/**
 * FLO Calculator Frontend Styles - Production Version with Icon Updates
 * Complete CSS with flat SVG icons and better styling
 */

:root {
    --flo-primary: #004EA8;
    --flo-accent: #008805;
    --flo-convenient: #17a2b8;
    --flo-warning: #FF6B35;
    --flo-text: #333333;
    --flo-text-light: #666666;
    --flo-border: #e0e0e0;
    --flo-error: #dc3545;
    --flo-success: #28a745;
    --flo-white: #ffffff;
    --flo-light-bg: #f8f9fa;
    --flo-radius: 12px;
    --flo-transition: all 0.2s ease;
    --flo-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --flo-shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --flo-shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --flo-shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
}

/* Base Container */
.flo-calculator-wrapper,
.flo-calculator-wrapper * {
    font-family: var(--flo-font-family) !important;
    line-height: 1.6;
    color: var(--flo-text);
    box-sizing: border-box;
}

.flo-calculator-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Calculator Card */
.flo-calculator-card {
    background: var(--flo-white) !important;
    border: 1px solid var(--flo-border) !important;
    border-radius: var(--flo-radius) !important;
    padding: 35px !important;
    margin-bottom: 30px;
    box-shadow: var(--flo-shadow-sm) !important;
}

/* Progress Bar for Paged Version */
.flo-progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.flo-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 0 0 auto;
}

.flo-progress-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 8px;
    transition: var(--flo-transition);
    position: relative;
}

.flo-progress-step.active .flo-progress-number,
.flo-progress-step.completed .flo-progress-number {
    background: var(--flo-primary);
    color: white !important;
}

.flo-progress-label {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
}

.flo-progress-step.active .flo-progress-label {
    color: var(--flo-primary);
    font-weight: 600;
}

.flo-progress-line {
    flex: 1;
    height: 2px;
    background: #e0e0e0;
    margin: 0 15px;
    margin-bottom: 28px;
    position: relative;
    transition: var(--flo-transition);
}

.flo-progress-line.completed {
    background: var(--flo-primary);
}

/* Form Pages for Paged Version */
.flo-form-page {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.flo-form-page.active {
    display: block !important;
    opacity: 1;
}

.flo-paged-form .flo-form-page {
    min-height: 300px;
}

/* Page Navigation */
.flo-page-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

@media screen and (max-width: 500px) {
	.flo-page-navigation {
		flex-flow: wrap;
		gap: 20px;
	}
	.flo-page-navigation button {
		width: 100%;
	}
}

.flo-prev-btn,
.flo-next-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--flo-transition);
    background: var(--flo-primary);
    color: white !important;
}

.flo-prev-btn {
    background: #f0f0f0;
    color: #666 !important;
}

.flo-prev-btn:hover {
    background: #e0e0e0;
}

.flo-next-btn:hover {
    background: #003d7a;
    transform: translateY(-1px);
}

/* Form Sections */
.flo-form-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #f0f0f0;
}

.flo-paged-form .flo-form-section {
    border-bottom: none;
    padding-bottom: 0;
}

.flo-form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.flo-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 1.1rem !important;
    color: var(--flo-text) !important;
    font-weight: 600 !important;
}

.flo-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--flo-primary) !important;
    color: white !important;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Form Rows */
.flo-form-row {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

.flo-form-row-2col {
    grid-template-columns: repeat(2, 1fr);
}

.flo-form-row-3col {
    grid-template-columns: repeat(3, 1fr);
}

/* Input Groups */
.flo-input-group {
    position: relative;
}

.flo-input-group label {
    font-weight: 600 !important;
    color: var(--flo-text) !important;
    margin-bottom: 8px;
    font-size: 0.95rem !important;
    display: block;
}

.flo-required {
    color: var(--flo-error) !important;
    margin-left: 4px;
}

.flo-help-text {
    font-size: 0.85rem !important;
    color: var(--flo-text-light) !important;
    font-weight: normal !important;
    margin-left: 5px;
}

/* Input Fields */
.flo-calculator-wrapper input[type="text"],
.flo-calculator-wrapper input[type="date"],
.flo-calculator-wrapper input[type="number"],
.flo-calculator-wrapper select {
    width: 100% !important;
    padding: 11px 14px !important;
    border: 1px solid var(--flo-border) !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    background: var(--flo-white) !important;
    color: var(--flo-text) !important;
    transition: var(--flo-transition) !important;
    height: auto !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.flo-calculator-wrapper select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='14' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    padding-right: 36px !important;
}

.flo-calculator-wrapper input:focus,
.flo-calculator-wrapper select:focus {
    outline: none !important;
    border-color: var(--flo-primary) !important;
    box-shadow: 0 0 0 3px rgba(0, 78, 168, 0.1) !important;
}

.flo-calculator-wrapper input.flo-error {
    border-color: var(--flo-error) !important;
    background: #fff5f5 !important;
}

/* Location Input */
.flo-location-input-wrapper {
    position: relative;
    display: flex;
    gap: 8px;
}

.flo-location-input-wrapper input[type="text"] {
    flex: 1;
}

/* Streamlined Airport Grid */
.flo-airport-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.flo-airport-option {
    position: relative;
    cursor: pointer;
}

.flo-airport-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.flo-airport-tile {
    display: flex;
    flex-direction: column;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.2s ease;
    background: white;
    min-height: 70px;
}

.flo-airport-option input:checked + .flo-airport-tile {
    border-color: var(--flo-primary);
    background: #f0f7ff;
}

.flo-airport-tile:hover {
    border-color: #999;
    transform: translateY(-1px);
    box-shadow: var(--flo-shadow-sm);
}

.flo-airport-tile strong {
    font-size: 1.1rem !important;
    color: var(--flo-primary) !important;
    margin-bottom: 2px;
}

.flo-airport-tile span {
    font-size: 0.85rem !important;
    color: #666 !important;
    line-height: 1.2;
}

/* Toggle Group */
.flo-toggle-group {
    display: flex;
    background: var(--flo-light-bg);
    border-radius: 8px;
    padding: 4px;
    gap: 4px;
}

.flo-toggle-option {
    flex: 1;
    padding: 10px 20px;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--flo-transition);
    font-weight: 500;
    color: var(--flo-text);
}

.flo-toggle-option:hover {
    background: rgba(0, 78, 168, 0.1);
}

.flo-toggle-option.active {
    background: var(--flo-primary) !important;
    color: white !important;
}

/* Number Input */
.flo-number-input {
    display: flex;
    align-items: center;
    max-width: 150px;
}

.flo-number-input input {
    text-align: center !important;
    width: 60px !important;
    margin: 0 8px !important;
    border-radius: 4px !important;
}

.flo-number-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--flo-border);
    background: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--flo-transition);
    color: var(--flo-text);
}

.flo-number-btn:hover:not(:disabled) {
    background: var(--flo-primary);
    color: white;
    border-color: var(--flo-primary);
    transform: scale(1.05);
}

.flo-number-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.flo-input-party .flo-number-input {
    gap: 10px;
}

.flo-input-party {
    button {
	border: 0;
	padding: 0 12px !important;
    }
}

/* Buttons */
.flo-calculate-btn,
.flo-book-flight-btn {
    display: inline-block !important;
    padding: 16px 40px !important;
    background: var(--flo-primary) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: var(--flo-transition) !important;
    text-decoration: none !important;
    box-shadow: var(--flo-shadow-md) !important;
    width: 100%;
    text-align: center;
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* Force white text on all button states */
.flo-calculate-btn,
.flo-calculate-btn *,
.flo-calculate-btn .flo-btn-text,
.flo-book-flight-btn,
.flo-book-flight-btn * {
    color: #ffffff !important;
}

.flo-calculate-btn:hover:not(:disabled),
.flo-book-flight-btn:hover {
    background: #003d7a !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--flo-shadow-lg) !important;
    color: #ffffff !important;
}

.flo-calculate-btn:hover:not(:disabled) *,
.flo-book-flight-btn:hover * {
    color: #ffffff !important;
}

.flo-calculate-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.flo-book-flight-btn {
    background: var(--flo-accent) !important;
}

.flo-book-flight-btn:hover {
    background: #006603 !important;
}

/* Loading State */
.flo-btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #ffffff !important;
}

.flo-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Badge Styles */
.flo-badge-convenient {
    position: absolute;
    top: -10px;
    right: 15px;
    background: var(--flo-convenient) !important;
    color: white !important;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flo-badge-savings {
    position: absolute;
    top: -10px;
    right: 15px;
    background: #d4edda !important;
    color: #155724 !important;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
}

.flo-badge-time {
    position: absolute;
    top: -10px;
    right: 15px;
    background: #fff3cd !important;
    color: #856404 !important;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
}

.flo-badge-expensive {
    position: absolute;
    top: -10px;
    right: 15px;
    background: #fff3cd !important;
    color: #664d03 !important;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
}

.flo-badge-best {
    position: absolute;
    top: -10px;
    right: 15px;
    background: var(--flo-success) !important;
    color: white !important;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flo-badge-neutral {
    position: absolute;
    top: -10px;
    right: 15px;
    background: #e0e0e0 !important;
    color: #666 !important;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Convenience Benefits */
.flo-convenience-benefits {
    background: #e3f2fd;
    padding: 12px;
    border-radius: 8px;
    margin: 12px 0;
    font-size: 0.85rem;
}

.flo-benefits-title {
    font-weight: 600;
    color: #1976d2;
    margin-bottom: 8px;
}

.flo-convenience-benefits ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.flo-convenience-benefits li {
    margin: 4px 0;
    color: #1565c0;
    line-height: 1.4;
}

/* Results Section */
.flo-results-section {
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flo-results-header {
    text-align: center;
    margin-bottom: 30px;
}

.flo-results-title {
    font-size: 1.8rem !important;
    color: var(--flo-text) !important;
    margin-bottom: 15px;
    font-weight: 600 !important;
}

.flo-results-summary {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 15px;
    background: var(--flo-light-bg);
    border-radius: 8px;
    flex-wrap: wrap;
}

.flo-summary-item {
    display: flex;
    gap: 8px;
}

.flo-summary-label {
    font-weight: 600;
    color: var(--flo-text-light);
}

.flo-summary-value {
    color: var(--flo-text);
}

/* Real-time Notice */
.flo-realtime-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: #e8f5e9;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #2e7d32;
}

.flo-pulse-dot {
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

/* Price Source Indicator */
.flo-price-source {
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 12px;
    background: rgba(255,255,255,0.5);
    margin-left: 10px;
}

.flo-price-source.api {
    background: #4caf50;
    color: white;
}

.flo-price-source.estimated {
    background: #ff9800;
    color: white;
}

/* Map Container - Hidden by default */
.flo-map-container {
    position: relative;
    margin: 20px 0;
    display: none;
}

#flo-results-map {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.flo-map-controls {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1000;
}

.flo-map-control-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.flo-map-control-btn:hover {
    background: #f5f5f5;
    transform: translateY(-1px);
}

/* Cleaner Airport Results Grid */
.flo-airport-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

@media (min-width: 1200px) {
    .flo-airport-results {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Airport Cards */
.flo-airport-card {
    background: white !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px !important;
    padding: 20px !important;
    position: relative;
    transition: var(--flo-transition);
}

.flo-airport-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--flo-shadow-md);
}

.flo-airport-card.flo-recommended {
    border-color: var(--flo-primary) !important;
    border-width: 2px !important;
}

/* Clean Header */
.flo-airport-header-clean {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.flo-airport-header-clean h3 {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.3 !important;
}

.flo-airport-subtitle {
    font-size: 0.85rem !important;
    color: #666 !important;
}

/* Metrics List Layout */
.flo-metrics-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 15px 0;
}

.flo-metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #f9f9f9;
    border-radius: 6px;
    font-size: 0.95rem;
}

.flo-metric-row:nth-child(even) {
    background: #f3f3f3;
}

.flo-metric-row.flo-total {
    background: #e8f4fd;
    border: 1px solid #d1e7fd;
    margin-top: 8px;
    padding: 10px 12px;
}

.flo-metric-label {
    color: #666;
    font-weight: 500;
}

.flo-metric-value {
    color: #333;
    font-weight: 600;
}

.flo-metric-value.flo-highlight {
    color: var(--flo-primary);
    font-size: 1.1rem;
}

.flo-metric-value.flo-free {
    color: var(--flo-success);
}

/* Sustainability Section - Updated Icons */
.flo-sustainability-section {
    background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
    border-radius: var(--flo-radius);
    padding: 32px;
    margin: 40px 0;
    text-align: center;
}

.flo-sustainability-section h3 {
    color: var(--flo-accent) !important;
    font-size: 1.5rem !important;
    margin-bottom: 24px;
}

.flo-impact-metrics {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 24px;
}

.flo-impact-item {
    min-width: 120px;
}

.flo-impact-icon {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
}

.flo-impact-icon svg {
    width: 40px;
    height: 40px;
}

.flo-impact-number {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: var(--flo-accent) !important;
    line-height: 1;
}

.flo-impact-label {
    font-size: 0.9rem !important;
    color: var(--flo-text-light) !important;
    margin-top: 5px;
}

/* Booking Section */
.flo-booking-section {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--flo-light-bg), white);
    border-radius: var(--flo-radius);
    margin: 30px 0 40px !important;
}

.flo-booking-section h3 {
    font-size: 1.8rem !important;
    color: var(--flo-text) !important;
    margin-bottom: 20px;
}

.flo-booking-note {
    margin-top: 15px;
    color: var(--flo-text-light);
    font-size: 0.95rem;
}

/* Loading Overlay */
.flo-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.flo-loading-content {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    max-width: 500px;
}

.flo-loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--flo-light-bg);
    border-top-color: var(--flo-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.flo-loading-text {
    font-size: 1.1rem;
    color: var(--flo-text);
    margin-bottom: 20px;
}

.flo-loading-steps {
    margin-top: 20px;
    text-align: left;
}

.flo-loading-step {
    padding: 8px;
    margin: 5px 0;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.flo-loading-step.active {
    opacity: 1;
    font-weight: 600;
    color: var(--flo-primary);
}

/* Alert Modal */
.flo-alert-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.flo-alert-modal.flo-alert-show {
    opacity: 1;
}

.flo-alert-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.flo-alert-message {
    margin-bottom: 20px;
    font-size: 1rem;
    color: var(--flo-text);
}

.flo-alert-btn {
    background: var(--flo-primary);
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--flo-transition);
}

.flo-alert-btn:hover {
    background: #003d7a;
    transform: translateY(-1px);
}

/* Error Messages */
.flo-error-message {
    color: var(--flo-error) !important;
    font-size: 0.85rem !important;
    margin-top: 5px;
    padding: 5px 0;
}

.flo-disclaimer-small {
    font-size: 0.85rem !important;
    color: var(--flo-text-light) !important;
    text-align: center;
    margin-top: 10px;
}

/* Utilities */
.flo-hidden {
    display: none !important;
}

.flo-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.flo-fade-in-up {
    animation: fadeInUp 0.5s ease;
}

/* Force white text for dark backgrounds */
.flo-calculator-wrapper .flo-toggle-option.active,
.flo-calculator-wrapper .flo-badge-best,
.flo-calculator-wrapper .flo-badge-convenient,
.flo-calculator-wrapper .flo-calculate-btn,
.flo-calculator-wrapper .flo-calculate-btn .flo-btn-text,
.flo-calculator-wrapper .flo-book-flight-btn,
.flo-calculator-wrapper .flo-step-number,
.flo-calculator-wrapper .flo-next-btn,
.flo-calculator-wrapper .flo-progress-step.active .flo-progress-number,
.flo-calculator-wrapper .flo-progress-step.completed .flo-progress-number {
    color: #ffffff !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Form Actions positioning for paging */
.flo-paged-form .flo-form-actions {
    margin-top: 20px;
}

/* Parking Options Styles - Updated with SVG Icons */
.flo-parking-options {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.flo-radio-option {
    flex: 1;
    cursor: pointer;
}

.flo-radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.flo-radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.2s ease;
    background: white;
}

.flo-radio-option input:checked + .flo-radio-label {
    border-color: var(--flo-primary);
    background: #f0f7ff;
}

.flo-radio-label:hover {
    border-color: #999;
    transform: translateY(-1px);
    box-shadow: var(--flo-shadow-sm);
}

.flo-radio-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.flo-icon-car svg,
.flo-icon-dropoff svg {
    fill: var(--flo-primary);
}

.flo-radio-option input:checked + .flo-radio-label .flo-icon-car svg,
.flo-radio-option input:checked + .flo-radio-label .flo-icon-dropoff svg {
    fill: var(--flo-primary);
}

.flo-parking-days-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.flo-parking-days-label {
    font-size: 1rem;
    color: var(--flo-text);
}

.flo-parking-note {
    font-size: 0.85rem;
    color: var(--flo-text-light);
    margin-top: 5px;
}

#flo-parking-days-row {
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .flo-parking-options {
        flex-direction: column;
    }
    
    .flo-form-row-2col,
    .flo-form-row-3col {
        grid-template-columns: 1fr !important;
    }
    
    .flo-airport-grid {
        grid-template-columns: 1fr !important;
    }
    
    .flo-airport-results {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .flo-calculate-btn,
    .flo-book-flight-btn {
        padding: 14px 24px !important;
        font-size: 1rem !important;
    }
}

/* Loading Steps - Updated */
.flo-loading-steps {
    margin-top: 20px;
    text-align: left;
}

.flo-loading-step {
    padding: 8px;
    margin: 5px 0;
    opacity: 0.5;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
}

.flo-loading-step svg {
    opacity: 0.5;
    transition: opacity 0.3s;
}

.flo-loading-step.active {
    opacity: 1;
    font-weight: 600;
    color: var(--flo-primary);
}

.flo-loading-step.active svg {
    opacity: 1;
}

.flo-location-input-wrapper,
.flo-input-destination {
    position: relative;
}

#flo-location-autocomplete-container,
#flo-destination-autocomplete-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Hide the default PlaceAutocompleteElement if using custom styling */
gmp-place-autocomplete {
    width: 100%;
}