/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 10px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    min-height: 95vh;
}

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.logo-image {
    max-height: 60px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

.logo i {
    font-size: 2em;
}

.logo h1 {
    font-size: 1.5em;
}

/* Progress Bar */
.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.progress-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.progress-step.active:not(:last-child)::after {
    background: white;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 5px;
    position: relative;
    z-index: 1;
}

.progress-step.active .step-number {
    background: white;
    color: #667eea;
}

.step-label {
    font-size: 0.8em;
    margin-top: 5px;
}

/* Main Content */
#main-content {
    padding: 20px;
}

.step-container {
    padding: 10px;
}

.step-header {
    text-align: center;
    margin-bottom: 30px;
}

.step-header h2 {
    color: #333;
    font-size: 1.8em;
    margin-bottom: 10px;
}

.step-header p {
    color: #666;
}

/* Language Selection */
.language-options {
    display: grid;
    gap: 15px;
    margin: 20px 0;
}

.language-card {
    position: relative;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-card:hover {
    border-color: #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.language-card.selected {
    border-color: #667eea;
    background: #f0f3ff;
}

.language-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.language-card .card-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-card i {
    font-size: 2em;
    color: #667eea;
}

.language-card h3 {
    font-size: 1.2em;
    color: #333;
}

.language-card p {
    color: #666;
    font-size: 0.9em;
}

/* Service Options */
.service-options {
    display: grid;
    gap: 15px;
    margin: 20px 0;
}

.service-card {
    position: relative;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.service-card.selected {
    border-color: #667eea;
    background: #f0f3ff;
}

.service-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.service-card i {
    font-size: 2.5em;
    color: #667eea;
    display: block;
    margin-bottom: 10px;
}

.service-card h3 {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 5px;
}

.service-card p {
    color: #666;
    font-size: 0.9em;
}

/* Form Styles */
.service-form {
    margin-top: 20px;
    animation: fadeIn 0.3s ease-in;
}

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

#flight-search-section {
    margin: 15px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control.error {
    border-color: #f44336;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

/* Vehicle Options */
.vehicle-type-info {
    margin-bottom: 20px;
}

.info-box {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 15px;
    border-radius: 5px;
    display: flex;
    gap: 10px;
}

.info-box i {
    color: #2196f3;
    font-size: 1.2em;
}

.vehicle-options {
    display: grid;
    gap: 15px;
    margin: 20px 0;
}

.vehicle-card {
    position: relative;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vehicle-card:hover {
    border-color: #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.vehicle-card.selected {
    border-color: #667eea;
    background: #f0f3ff;
}

.vehicle-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.vehicle-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.vehicle-icon {
    text-align: center;
    padding: 30px;
    background: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 15px;
}

.vehicle-icon i {
    font-size: 4em;
    color: #667eea;
}

.vehicle-card h3 {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 10px;
}

.vehicle-details {
    margin: 15px 0;
}

.vehicle-type-badge {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8em;
    margin-bottom: 10px;
}

.vehicle-details p {
    color: #666;
    margin: 5px 0;
}

.vehicle-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.price-amount {
    font-size: 1.5em;
    font-weight: bold;
    color: #667eea;
}

.select-indicator {
    display: none;
    color: #667eea;
    font-weight: bold;
    margin-top: 10px;
}

.vehicle-card.selected .select-indicator {
    display: block;
}

/* Confirmation Page */
.section-card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.section-card h3 {
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.booking-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.booking-summary h3 {
    color: white;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row .label {
    font-weight: 600;
}

.summary-row.total-price {
    font-size: 1.2em;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

/* Success Page */
.success-page {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 5em;
    color: #4CAF50;
    margin-bottom: 20px;
}

.success-message h2 {
    color: #4CAF50;
    margin-bottom: 20px;
}

.booking-number {
    font-size: 1.2em;
    color: #333;
    margin: 20px 0;
}

.booking-number strong {
    color: #667eea;
}

.success-actions {
    margin-top: 30px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: #f5f5f5;
    color: #333;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.btn-confirm {
    background: #4CAF50;
    color: white;
}

.btn-confirm:hover {
    background: #45a049;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
}

/* Flight Results */
.flight-results-list {
    display: grid;
    gap: 10px;
    margin-top: 15px;
}

.flight-result-card {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.flight-result-card:hover {
    border-color: #667eea;
    background: #f0f3ff;
}

.flight-info strong {
    color: #333;
    font-size: 1.1em;
}

.flight-info p {
    margin: 5px 0;
    color: #666;
}

.no-results {
    text-align: center;
    padding: 20px;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        border-radius: 0;
        min-height: 100vh;
    }

    .logo h1 {
        font-size: 1.2em;
    }

    .step-label {
        font-size: 0.7em;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0;
    }

    .step-header h2 {
        font-size: 1.5em;
    }

    .vehicle-icon i {
        font-size: 3em;
    }
}

/* Flatpickr Custom Styles */
.flatpickr-calendar {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    border: none;
}

.flatpickr-day.selected {
    background: #667eea !important;
    border-color: #667eea !important;
}

.flatpickr-day.selected:hover {
    background: #764ba2 !important;
    border-color: #764ba2 !important;
}

.flatpickr-day:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: #667eea;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
    font-weight: 600;
    color: #667eea;
}

.flatpickr-time input:hover,
.flatpickr-time .flatpickr-am-pm:hover,
.flatpickr-time input:focus,
.flatpickr-time .flatpickr-am-pm:focus {
    background: rgba(102, 126, 234, 0.1);
}

/* Make datetime inputs more mobile-friendly */
.datetime-picker-date,
.datetime-picker-time {
    cursor: pointer;
    background-color: white;
    font-size: 1em;
}

.datetime-picker-date::placeholder,
.datetime-picker-time::placeholder {
    color: #999;
}

/* Add calendar and clock icons to inputs */
.form-group:has(.datetime-picker-date),
.form-group:has(.datetime-picker-time) {
    position: relative;
}

.form-group:has(.datetime-picker-date)::after {
    content: '\f073';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 12px;
    color: #667eea;
    pointer-events: none;
}

.form-group:has(.datetime-picker-time)::after {
    content: '\f017';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 12px;
    color: #667eea;
    pointer-events: none;
}
