/* Booking Form Styles */
.booking-main {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem 0;
    margin-top: 80px;
}

.booking-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Progress Bar */
.progress-container {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: #e9ecef;
    transform: translateY(-50%);
    z-index: 1;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #f1c40f);
    transform: translateY(-50%);
    width: 0%;
    transition: width 0.5s ease;
    z-index: 2;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 3;
    background: white;
    padding: 0 0.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 0.9rem;
    color: #6c757d;
    text-align: center;
    font-weight: 500;
}

.progress-step.active .step-number {
    background: linear-gradient(135deg, #d4af37, #f1c40f);
    color: white;
    transform: scale(1.1);
}

.progress-step.active .step-label {
    color: #d4af37;
    font-weight: 600;
}

.progress-step.completed .step-number {
    background: #28a745;
    color: white;
}

.progress-step.completed .step-label {
    color: #28a745;
}

/* Form Styles */
.booking-form {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-step {
    display: none;
    padding: 3rem;
    min-height: 500px;
}

.form-step.active {
    display: block;
    animation: slideIn 0.5s ease;
}

.form-step.transitioning {
    animation: fadeOut 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-20px);
    }
}

.step-header {
    text-align: center;
    margin-bottom: 3rem;
}

.step-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.step-header h2 i {
    color: #d4af37;
}

.step-header p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* Service Selection */
.service-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: white;
}

.service-card:hover {
    border-color: #d4af37;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.service-card.selected {
    border-color: #d4af37;
    background: linear-gradient(135deg, #fefdf8, #fff9e6);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.service-card.selected::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #d4af37;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d4af37, #f1c40f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.service-card p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.service-features li i {
    color: #28a745;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d4af37;
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
}

.select-service-btn {
    background: linear-gradient(135deg, #d4af37, #f1c40f);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.select-service-btn:hover {
    background: linear-gradient(135deg, #b8941f, #f39c12);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Event Info */
.event-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    border-left: 4px solid #d4af37;
}

.event-info h4 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.info-item i {
    color: #d4af37;
    width: 20px;
}

/* Form Elements */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group input.error,
.form-group select.error {
    border-color: #dc3545;
}

/* Preference Sections */
.preference-section {
    margin-bottom: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #d4af37;
}

.preference-section h4 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.additional-info,
.special-requests {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

/* Review Section */
.review-container {
    display: grid;
    gap: 2rem;
}

.booking-summary {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #d4af37;
}

.booking-summary h4 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.summary-item:last-child {
    border-bottom: none;
    font-weight: 600;
    font-size: 1.2rem;
    color: #d4af37;
}

.payment-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

.payment-section h4 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.billing-address {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #d4af37;
}

.terms-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

/* Confirmation */
.confirmation-content {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    font-size: 5rem;
    color: #28a745;
    margin-bottom: 2rem;
}

.confirmation-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.confirmation-details {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: left;
}

.reference-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d4af37;
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 2px dashed #d4af37;
    margin-bottom: 2rem;
}

.next-steps ul {
    list-style: none;
    padding: 0;
}

.next-steps li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
}

.next-steps i {
    color: #d4af37;
    width: 20px;
}

.confirmation-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.nav-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-btn.primary {
    background: linear-gradient(135deg, #d4af37, #f1c40f);
    color: white;
}

.nav-btn.primary:hover {
    background: linear-gradient(135deg, #b8941f, #d4af37);
    transform: translateY(-2px);
}

.nav-btn.secondary {
    background: #6c757d;
    color: white;
}

.nav-btn.secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-primary,
.btn-secondary {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #d4af37, #f1c40f);
    color: white;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

/* Error Messages */
.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #dc3545;
}

.step-error-message {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    animation: slideInError 0.3s ease;
}

@keyframes slideInError {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-error-message i {
    font-size: 1.1rem;
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
    overflow: hidden;
    color: transparent !important;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shimmer 1.5s infinite;
    z-index: 1;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* New Service Details Styles */
.service-details {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-left: 4px solid #d4af37;
}

.service-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-info h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.5rem;
}

.service-info p {
    margin: 0.5rem 0 0;
    color: #6c757d;
}

.height-input {
    display: flex;
    gap: 1rem;
}

.height-part {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.height-part input {
    width: 70px;
}

.form-message {
    background: #e9f4ff;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    border-left: 4px solid #007bff;
}

.form-message p {
    margin: 0;
    color: #0056b3;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reservation-note {
    margin-top: 1rem;
    color: #2c3e50;
    line-height: 1.6;
}

.reservation-details {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 1.5rem;
    border-left: 4px solid #007bff;
}

.reservation-details h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Welcome Step Styles */
.welcome-container {
    text-align: center;
    max-width: 100%;
}

.welcome-header h2 {
    color: #d4af37;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.welcome-header h2 i {
    color: #f1c40f;
}

.welcome-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.welcome-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

/* Gown Showcase */
.gown-showcase {
    position: relative;
}

.gown-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.gown-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.gown-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gown-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.quality-badge {
    background: linear-gradient(135deg, #d4af37, #f1c40f);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Service Details Welcome */
.service-details-welcome {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Pricing Card */
.pricing-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: 2px solid #d4af37;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

.pricing-card h3 {
    color: #2c3e50;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.currency {
    font-size: 1.5rem;
    color: #d4af37;
    font-weight: 600;
}

.amount {
    font-size: 3rem;
    color: #d4af37;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.period {
    font-size: 1rem;
    color: #6c757d;
    margin-left: 0.5rem;
}

.package-includes h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.features-list {
    text-align: left;
    list-style: none;
    padding: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #495057;
}

.features-list li i {
    color: #28a745;
    font-size: 0.9rem;
    width: 16px;
}

/* Pricing Note Styles */
.pricing-note {
    text-align: center;
    margin-top: 1rem;
}

.pricing-note p {
    margin: 0.5rem 0;
    color: #495057;
}

.pricing-note p i {
    color: #d4af37;
    margin-right: 0.5rem;
}

.payment-info {
    font-size: 0.9rem;
    color: #6c757d !important;
    font-style: italic;
}

/* Event Info Welcome */
.event-info-welcome h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-info-welcome h4 i {
    color: #d4af37;
}

.event-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #d4af37;
}

.detail-item i {
    color: #d4af37;
    font-size: 1.1rem;
    width: 20px;
}

.detail-item div {
    display: flex;
    flex-direction: column;
}

.detail-item .label {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
}

.detail-item .value {
    font-weight: 600;
    color: #2c3e50;
}

/* Instructions */
.instructions {
    grid-column: span 2;
    margin-top: 1rem;
}

.instruction-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid #dee2e6;
}

.instruction-card h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.instruction-card h4 i {
    color: #17a2b8;
}

.steps-preview {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1rem;
}

.step-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.step-preview .step-number {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #d4af37, #f1c40f);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.step-preview .step-text {
    font-size: 0.9rem;
    color: #495057;
    font-weight: 500;
}

.instruction-card .note {
    background: rgba(23, 162, 184, 0.1);
    border: 1px solid rgba(23, 162, 184, 0.2);
    border-radius: 8px;
    padding: 1rem;
    color: #0c5460;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.instruction-card .note i {
    color: #17a2b8;
}

/* Welcome Footer */
.welcome-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #dee2e6;
}

.disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #28a745;
    font-weight: 500;
    margin: 0;
    font-size: 1rem;
}

.disclaimer i {
    color: #28a745;
}

/* Comprehensive Mobile Responsive Design */

/* Tablet Styles */
@media (max-width: 768px) {
    /* Main Layout */
    .booking-main {
        padding: 1rem 0;
        margin-top: 70px;
    }
    
    .booking-container {
        padding: 0 0.75rem;
    }
    
    /* Progress Bar */
    .progress-container {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
        border-radius: 10px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .step-label {
        font-size: 0.8rem;
    }
    
    /* Welcome Step */
    .welcome-header h2 {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .welcome-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gown-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gown-image {
        height: 300px;
    }
    
    .gown-image img {
        height: 100%;
    }
    
    .pricing-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .event-details-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .instructions {
        grid-column: span 1;
    }
    
    .instruction-card {
        padding: 1.5rem;
    }
    
    .steps-preview {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-preview {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        gap: 0.75rem;
        padding: 0.75rem;
    }
    
    /* Form Styles */
    .form-step {
        padding: 1.5rem;
    }
    
    .step-header {
        margin-bottom: 1.5rem;
    }
    
    .step-header h2 {
        font-size: 1.8rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-grid .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 1rem;
    }
    
    /* Service Details */
    .service-details {
        margin-bottom: 1.5rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    /* Height Input */
    .height-input {
        flex-direction: row;
        gap: 1rem;
    }
    
    .height-part {
        flex: 1;
    }
    
    /* Navigation */
    .form-navigation {
        padding: 1.5rem;
        gap: 1rem;
        flex-direction: row;
    }
    
    .nav-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-width: 120px;
    }
    
    /* Review Section */
    .review-container {
        gap: 1.5rem;
    }
    
    .booking-summary {
        padding: 1.5rem;
    }
    
    .summary-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        padding: 0.75rem 0;
    }
    
    /* Confirmation */
    .confirmation-content {
        padding: 1.5rem;
    }
    
    .confirmation-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .confirmation-actions .btn-primary,
    .confirmation-actions .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

/* Mobile Styles */
@media (max-width: 480px) {
    /* Main Layout */
    .booking-main {
        padding: 0.5rem 0;
        margin-top: 60px;
    }
    
    .booking-container {
        padding: 0 0.5rem;
    }
    
    /* Progress Bar */
    .progress-container {
        padding: 1rem 0.75rem;
        margin-bottom: 1rem;
        border-radius: 8px;
    }
    
    .progress-bar {
        gap: 0.5rem;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }
    
    .step-label {
        font-size: 0.7rem;
    }
    
    /* Welcome Step */
    .welcome-container {
        padding: 1rem;
    }
    
    .welcome-header h2 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .welcome-subtitle {
        font-size: 1rem;
        text-align: center;
    }
    
    .gown-image {
        height: 250px;
    }
    
    .pricing-card {
        padding: 1.25rem;
        text-align: center;
    }
    
    .amount {
        font-size: 2.5rem;
    }
    
    .currency {
        font-size: 1.5rem;
    }
    
    .period {
        font-size: 0.9rem;
    }
    
    .event-details-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .detail-item {
        padding: 0.75rem;
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
    }
    
    .detail-item i {
        font-size: 1.2rem;
        min-width: 20px;
    }
    
    .detail-item div {
        flex: 1;
    }
    
    .instruction-card {
        padding: 1rem;
    }
    
    .step-preview {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    .welcome-footer {
        padding: 1rem;
        margin-top: 1.5rem;
    }
    
    .disclaimer {
        font-size: 0.85rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    /* Form Styles */
    .form-step {
        padding: 1rem;
    }
    
    .step-header h2 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .step-header p {
        font-size: 0.9rem;
        text-align: center;
    }
    
    .form-group label {
        font-size: 0.9rem;
        font-weight: 600;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 1rem;
        border-radius: 8px;
    }
    
    /* Service Info */
    .service-details {
        margin-bottom: 1rem;
    }
    
    .service-info {
        padding: 1rem;
        text-align: center;
    }
    
    .service-info h3 {
        font-size: 1.3rem;
    }
    
    .service-info p {
        font-size: 0.9rem;
    }
    
    .event-info {
        padding: 1rem;
    }
    
    .info-item {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    /* Additional Info */
    .additional-info h4 {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    /* Height Input */
    .height-input {
        flex-direction: row;
        gap: 0.75rem;
    }
    
    .height-part input {
        text-align: center;
    }
    
    /* Special Requests */
    .special-requests h4 {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    /* Navigation */
    .form-navigation {
        padding: 1rem;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .nav-btn {
        width: 100%;
        padding: 0.875rem 1rem;
        font-size: 1rem;
        border-radius: 8px;
    }
    
    /* Review Section */
    .booking-summary {
        padding: 1rem;
    }
    
    .booking-summary h4 {
        font-size: 1.2rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .summary-item {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }
    
    .terms-section {
        padding: 1rem;
    }
    
    .checkbox-group {
        margin-bottom: 1rem;
    }
    
    .checkbox-group label {
        font-size: 0.9rem;
    }
    
    .form-message {
        padding: 1rem;
        font-size: 0.85rem;
        text-align: center;
    }
    
    /* Confirmation */
    .confirmation-content {
        padding: 1rem;
        text-align: center;
    }
    
    .success-icon i {
        font-size: 3rem;
    }
    
    .confirmation-content h2 {
        font-size: 1.5rem;
    }
    
    .confirmation-details {
        margin: 1.5rem 0;
    }
    
    .reference-number {
        font-size: 1.2rem;
        padding: 1rem;
    }
    
    .next-steps ul {
        text-align: left;
    }
    
    .next-steps li {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .booking-container {
        padding: 0 0.25rem;
    }
    
    .step-label {
        display: none;
    }
    
    .welcome-header h2 {
        font-size: 1.3rem;
    }
    
    .amount {
        font-size: 2rem;
    }
    
    .form-step {
        padding: 0.75rem;
    }
    
    .nav-btn {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .detail-item {
        padding: 0.5rem;
    }
    
    .instruction-card {
        padding: 0.75rem;
    }
    
    .step-preview {
        padding: 0.4rem;
        font-size: 0.8rem;
    }
}

/* Mobile Touch and Interaction Enhancements */
@media (max-width: 768px) {
    /* Better touch targets */
    input, select, textarea, button {
        min-height: 44px; /* Apple recommended minimum touch target */
    }
    
    /* Better spacing for touch */
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    /* Improved button styles */
    .nav-btn {
        min-height: 50px;
        touch-action: manipulation;
    }
    
    .checkbox-group input[type="checkbox"] {
        width: 24px;
        height: 24px;
        margin-right: 12px;
    }
    
    /* Better input focus states for mobile */
    input:focus, select:focus, textarea:focus {
        outline: none;
        border-color: #d4af37;
        box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
        transform: none; /* Remove scale on mobile to prevent zoom */
    }
    
    /* Prevent zoom on input focus */
    input[type="text"], input[type="email"], input[type="tel"], 
    input[type="number"], input[type="date"], select, textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Better modal/overlay behavior on mobile */
    .form-step {
        min-height: calc(100vh - 200px);
        display: flex;
        flex-direction: column;
    }
    
    /* Sticky navigation on mobile */
    .form-navigation {
        position: sticky;
        bottom: 0;
        background: white;
        border-top: 1px solid #e9ecef;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        margin-top: auto;
    }
    
    /* Better scrolling behavior */
    .booking-main {
        overflow-x: hidden;
    }
    
    /* Improved gallery for mobile swipe */
    .gown-gallery {
        margin-bottom: 1rem;
    }
    
    .gown-image {
        position: relative;
        border-radius: 12px;
        margin-bottom: 1rem;
    }
    
    /* Better progress bar for mobile */
    .progress-container {
        position: sticky;
        top: 70px;
        z-index: 100;
        background: white;
        border-bottom: 1px solid #e9ecef;
    }
    
    /* Loading states for better UX */
    .nav-btn:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    /* Better error message display */
    .error {
        font-size: 0.85rem;
        margin-top: 0.4rem;
        padding: 0.5rem;
        background: rgba(231, 76, 60, 0.1);
        border-radius: 4px;
        border-left: 3px solid #e74c3c;
    }
    
    /* Improved confirmation layout */
    .confirmation-details {
        background: rgba(40, 167, 69, 0.05);
        border-radius: 10px;
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .reference-number {
        background: #d4af37;
        color: white;
        padding: 1rem;
        border-radius: 8px;
        font-family: monospace;
        letter-spacing: 1px;
        font-weight: bold;
        margin: 1rem 0;
    }
}

/* Landscape phone adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .booking-main {
        margin-top: 60px;
    }
    
    .progress-container {
        top: 60px;
        padding: 1rem;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.7rem;
    }
    
    .step-label {
        font-size: 0.7rem;
    }
    
    .gown-image {
        height: 200px;
    }
    
    .welcome-header h2 {
        font-size: 1.6rem;
    }
    
    .form-navigation {
        padding: 1rem;
    }
    
    .nav-btn {
        padding: 0.75rem 1rem;
    }
}

/* Dark mode media query support */
@media (prefers-color-scheme: dark) and (max-width: 768px) {
    .booking-main {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    }
    
    .progress-container,
    .form-step {
        background: #333;
        color: white;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        background: #444;
        border-color: #555;
        color: white;
    }
    
    .nav-btn.primary {
        background: linear-gradient(135deg, #d4af37, #f1c40f);
    }
    
    .nav-btn.secondary {
        background: #555;
        color: white;
    }
}

/* Mobile Toast Notifications */
.mobile-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(52, 58, 64, 0.95);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    z-index: 10000;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    max-width: 90%;
    text-align: center;
}

.mobile-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.mobile-toast i {
    color: #3498db;
    font-size: 1rem;
}

/* Mobile Error Styles */
.mobile-error {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 8px;
    padding: 0.75rem;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-error i {
    color: #e74c3c;
    font-size: 1rem;
    min-width: 16px;
}

/* Mobile Sticky Navigation */
.mobile-sticky {
    position: sticky !important;
    bottom: 0 !important;
    background: white !important;
    border-top: 1px solid #e9ecef !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1) !important;
    z-index: 1000 !important;
}

/* Mobile Layout Body Class */
.mobile-layout .booking-main {
    padding-bottom: 120px; /* Account for sticky navigation */
}

.mobile-layout .form-step {
    min-height: auto;
    padding-bottom: 2rem;
}

/* Mobile Progress Enhancements */
@media (max-width: 768px) {
    .progress-container {
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.95);
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    }
    
    .progress-step.completed .step-number {
        background: #28a745;
        animation: checkmark 0.5s ease;
    }
    
    @keyframes checkmark {
        0% { transform: scale(1); }
        50% { transform: scale(1.2); }
        100% { transform: scale(1); }
    }
    
    .progress-step.active .step-number {
        animation: pulse 2s infinite;
    }
}

/* Mobile Form Enhancements */
@media (max-width: 768px) {
    /* Better input styling for mobile */
    .form-group input.invalid,
    .form-group select.invalid,
    .form-group textarea.invalid {
        border-color: #e74c3c;
        background: rgba(231, 76, 60, 0.05);
        animation: shake 0.5s ease-in-out;
    }
    
    /* Mobile-friendly date input */
    input[type="date"] {
        position: relative;
        background: white;
    }
    
    input[type="date"]::-webkit-calendar-picker-indicator {
        background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="%23d4af37" d="M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z"/></svg>') no-repeat;
        width: 20px;
        height: 20px;
        cursor: pointer;
    }
    
    /* Mobile-friendly select styling */
    select {
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23999" d="M6 9L1.5 4.5h9z"/></svg>');
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 12px;
        padding-right: 40px;
    }
    
    /* Better checkbox styling for mobile */
    .checkbox-group {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 1.5rem;
        padding: 1rem;
        background: rgba(212, 175, 55, 0.05);
        border-radius: 10px;
        border: 1px solid rgba(212, 175, 55, 0.2);
    }
    
    .checkbox-group input[type="checkbox"] {
        width: 20px;
        height: 20px;
        margin: 0;
        flex-shrink: 0;
        margin-top: 2px;
    }
    
    .checkbox-group label {
        flex: 1;
        line-height: 1.4;
        font-size: 0.9rem;
    }
    
    /* Mobile summary improvements */
    .summary-item {
        background: rgba(212, 175, 55, 0.05);
        border-radius: 8px;
        padding: 1rem;
        margin-bottom: 0.75rem;
        border-left: 3px solid #d4af37;
    }
    
    .summary-item span:first-child {
        font-weight: 600;
        color: #2c3e50;
        display: block;
        margin-bottom: 0.25rem;
    }
    
    .summary-item span:last-child {
        color: #6c757d;
        font-size: 0.95rem;
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    /* Reduce animations for better performance on older devices */
    @media (prefers-reduced-motion: reduce) {
        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
    
    /* Optimize image rendering for mobile */
    .gown-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: optimize-contrast;
        will-change: transform;
    }
    
    /* Better scroll performance */
    .form-step {
        will-change: scroll-position;
    }
    
    /* Hardware acceleration for smoother animations */
    .nav-btn, .progress-step, .gown-image {
        transform: translateZ(0);
        backface-visibility: hidden;
    }
}

/* Medical Booking Styles */
.medical-booking {
    background-color: #f8f9fa;
}

.medical-badge {
    background-color: #2c3e50;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: inline-block;
}

#doctorBookingForm .form-group {
    margin-bottom: 1.5rem;
}

#doctorBookingForm .medical-info {
    background-color: #e3f2fd;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

#doctorBookingForm .specialization-info {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
