/* Mobile Order Form Styles */
.order-form-page {
    margin: 20px auto;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.order-intro {
    text-align: center;
    margin-bottom: 30px;
}

.order-intro h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.order-intro p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* Progress Steps - Mobile */
.progress-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

.progress-steps::before {
    display: none; /* Remove horizontal line on mobile */
}

.step {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ddd;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 0;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.step.active .step-number {
    background-color: #90ee90;
    color: #fff;
    box-shadow: 0 0 10px rgba(144, 238, 144, 0.4);
}

.step.completed .step-number {
    background-color: #4CAF50;
    color: #fff;
}

.step-title {
    font-size: 16px;
    color: #666;
    text-align: right;
    font-weight: 500;
}

.step.active .step-title {
    color: #333;
    font-weight: bold;
}

/* Form Container */
.order-form-container {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Form Steps */
.form-step {
    display: none;
}

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

.form-step h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
    font-size: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Varela Round', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #90ee90;
    box-shadow: 0 0 8px rgba(144, 238, 144, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
    gap: 15px;
}

.prev-step-btn,
.next-step-btn,
.submit-order-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Varela Round', sans-serif;
}

.prev-step-btn {
    background-color: #f0f0f0;
    color: #666;
}

.prev-step-btn:hover {
    background-color: #e0e0e0;
    color: #333;
}

.next-step-btn,
.submit-order-btn {
    background-color: #90ee90;
    color: #fff;
}

.next-step-btn:hover,
.whatsapp-submit-btn:hover {
    background-color: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

/* WhatsApp Submit Button */
.whatsapp-submit-btn {
    background-color: #25D366;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 2px 4px rgba(37, 211, 102, 0.3);
}

.whatsapp-submit-btn:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.4);
}

.whatsapp-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(37, 211, 102, 0.3);
}

/* Add WhatsApp icon to the button */
.whatsapp-submit-btn::before {
    content: "📱";
    font-size: 18px;
}

/* Confirmation Summary */
.confirmation-summary {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    border-left: 4px solid #90ee90;
}

.confirmation-summary h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 18px;
}

#order-summary {
    line-height: 1.8;
}

.summary-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.summary-label {
    font-weight: bold;
    color: #555;
    margin-bottom: 4px;
}

.summary-value {
    color: #333;
}

/* Contact Info Section */
.order-contact-info {
    text-align: center;
    margin-top: 30px;
    padding: 25px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.order-contact-info h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 20px;
}

.order-contact-info p {
    color: #555;
    margin-bottom: 20px;
    font-size: 16px;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.whatsapp-contact-button,
.call-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 16px;
}

.whatsapp-contact-button {
    background-color: #25D366;
    color: #fff;
}

.whatsapp-contact-button:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

.call-button {
    background-color: #90ee90;
    color: #fff;
}

.call-button:hover {
    background-color: #7dd87d;
    transform: translateY(-2px);
}

.whatsapp-contact-button img,
.call-button img {
    width: 20px;
    height: 20px;
}

/* Loading State */
.form-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Success Message */
.form-success {
    text-align: center;
    padding: 30px 20px;
}

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

.form-success p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.form-success a {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background-color: #90ee90;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.form-success a:hover {
    background-color: #7dd87d;
    transform: translateY(-2px);
}

/* Error Messages */
.form-error {
    background-color: #ffebee;
    color: #c62828;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid #c62828;
    font-size: 14px;
}



/* Animation for step transitions */
.form-step {
    animation: fadeIn 0.3s ease-in-out;
}

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

/* Responsive adjustments for very small screens */
@media (max-width: 480px) {
    .order-form-page {
        margin: 10px auto;
        padding: 10px;
    }

    .order-form-container {
        padding: 15px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 16px; /* Prevent zoom on iOS */
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .step-title {
        font-size: 14px;
    }

    .order-intro h1 {
        font-size: 22px;
    }

    .order-intro p {
        font-size: 15px;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .order-form-page {
        margin: 10px auto;
    }

    .order-intro {
        margin-bottom: 20px;
    }

    .progress-steps {
        margin-bottom: 20px;
    }

    .form-step h2 {
        margin-bottom: 20px;
    }

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

    .form-navigation {
        margin-top: 20px;
    }
} 