* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --background: #f8fafc;
    --card-background: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #98E4FE;
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px;
    border-radius: 25px;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.lang-btn {
    padding: 8px 15px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 20px;
    font-weight: 600;
    transition: var(--transition);
    font-size: 14px;
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
}

.header {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeInDown 0.6s ease;
}

.logo-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.tagline {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.progress-container {
    margin-bottom: 30px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-fill {
    height: 100%;
    background: white;
    width: 20%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.step {
    text-align: center;
    flex: 1;
    position: relative;
    opacity: 0.5;
    transition: var(--transition);
}

.step.active {
    opacity: 1;
}

.step-number {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-weight: 700;
    color: white;
    transition: var(--transition);
}

.step.active .step-number {
    background: white;
    color: var(--primary-color);
    border-color: white;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.step span {
    color: white;
    font-size: 12px;
    font-weight: 600;
}

.form-container {
    background: white;
    border-radius: 25px;
    padding: 30px;
    box-shadow: var(--shadow-xl);
    animation: fadeInUp 0.6s ease 0.4s both;
}

.form-step {
    display: none;
    animation: slideIn 0.4s ease;
}

.form-step.active {
    display: block;
}

.step-content {
    margin-bottom: 30px;
}

.step-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
    background: var(--background);
    font-family: inherit;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.input-highlight {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
}

.input-group input:focus ~ .input-highlight,
.input-group textarea:focus ~ .input-highlight {
    width: 100%;
}

.car-type-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.car-option {
    position: relative;
    cursor: pointer;
}

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

.car-option-label {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: var(--background);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
    font-weight: 500;
}

.car-option-label:hover {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.car-option input[type="radio"]:checked + .car-option-label {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.car-icon {
    margin-right: 10px;
    font-size: 20px;
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active:before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

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

.btn-secondary:hover {
    background: var(--border-color);
}

.btn-location {
    width: 100%;
    background: var(--background);
    color: var(--primary-color);
    border: 2px dashed var(--primary-color);
    margin-bottom: 15px;
}

.btn-location:hover {
    background: rgba(37, 99, 235, 0.05);
    border-style: solid;
}

.btn-arrow {
    display: inline-block;
    transition: transform 0.3s;
}

.btn:hover .btn-arrow {
    transform: translateX(3px);
}

.btn-secondary:hover .btn-arrow {
    transform: translateX(-3px);
}

.form-navigation {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.form-navigation .btn-secondary {
    margin-right: auto;
}

.map-container {
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 15px;
    border: 2px solid var(--border-color);
}

.location-status {
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    display: none;
}

.location-status.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: block;
}

.location-status.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(239, 68, 68, 0.2);
    display: block;
}

.calendar-container {
    background: var(--background);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

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

.calendar-nav {
    width: 35px;
    height: 35px;
    border: none;
    background: white;
    color: var(--text-primary);
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.calendar-nav:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.calendar-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

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

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 14px;
    position: relative;
}

.calendar-day:hover:not(.disabled):not(.selected) {
    background: rgba(37, 99, 235, 0.05);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.calendar-day.today {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}

.calendar-day.selected {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transform: scale(1.05);
}

.calendar-day.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: var(--background);
}

.calendar-weekday {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    text-align: center;
    padding: 5px;
}

.time-slots h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.slot-option {
    cursor: pointer;
}

.slot-option input {
    display: none;
}

.slot-card {
    padding: 20px;
    background: var(--background);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
}

.slot-option input:checked + .slot-card {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.slot-option:hover .slot-card:not(.disabled) {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.slot-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slot-icon {
    font-size: 30px;
    margin-bottom: 10px;
}

.slot-time {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.slot-period {
    font-size: 13px;
    color: var(--text-secondary);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    animation: fadeIn 0.3s;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 25px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.4s ease;
    box-shadow: var(--shadow-xl);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.modal-content h2 {
    font-size: 26px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.booking-id {
    background: var(--background);
    padding: 10px 20px;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: var(--primary-color);
}

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

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

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

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

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

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .form-container {
        padding: 20px;
        border-radius: 20px;
    }
    
    .logo {
        font-size: 28px;
    }
    
    .step-content h2 {
        font-size: 20px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .slots-grid {
        grid-template-columns: 1fr;
    }
    
    .calendar-day {
        font-size: 12px;
    }
    
    .car-type-grid {
        grid-template-columns: 1fr;
    }
}
