/* Order Page Specific Styles */
.order {
    padding: 80px 0;
    background-color: #f9f9f9;
    min-height: calc(100vh - 120px);
}

.order .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.section-title p {
    color: #7f8c8d;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.order-form-container {
    max-width: 1200px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.order-form {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.order-info-panel {
    flex: 0 0 350px;
    background: #2c3e50;
    color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
}

.order-info-panel h3 {
    color: #fff;
    margin-top: 0;
    font-size: 1.5rem;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-info-panel h4 {
    color: #ecf0f1;
    margin: 25px 0 15px;
    font-size: 1.1rem;
}

.order-info-panel ul {
    padding-left: 20px;
    margin: 0;
}

.order-info-panel li {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #ecf0f1;
}

.order-info-panel .icon {
    margin-right: 10px;
    color: #3498db;
}

.contact-promo {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-promo a {
    color: #3498db;
    text-decoration: none;
}

.contact-promo a:hover {
    text-decoration: underline;
}

/* Form Styles */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1em;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label input {
    margin-right: 10px;
}

.btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    font-weight: 600;
}

.btn:hover {
    background-color: #2980b9;
}

#order-response {
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    margin-top: 20px;
    display: none;
}

#order-response.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

#order-response.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .order-form-container {
        flex-direction: column;
    }
    
    .order-info-panel {
        display: none; /* Hide the info panel on tablets and phones */
    }
    
    .order-form {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .order {
        padding: 50px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .order-form {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .order {
        padding: 40px 0;
    }
}
/* Success Panel Styles */
/* Add to order.css */
#order-response {
    display: none;
    margin-top: 20px;
}

.success-panel {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 20px;
    color: #155724;
    text-align: center;
}

.success-panel .success-icon {
    color: #28a745;
    font-size: 48px;
    margin-bottom: 15px;
}

.success-panel h3 {
    color: #28a745;
    margin-bottom: 15px;
}

.error-message {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 20px;
    color: #721c24;
    text-align: center;
}

.error-message i {
    color: #dc3545;
    font-size: 24px;
    margin-bottom: 10px;
}

#returnHomeBtn {
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 15px;
    transition: background-color 0.3s;
}

#returnHomeBtn:hover {
    background-color: #218838;
}
/* Add these new styles for the success page */
.order-success {
    padding: 80px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.success-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.success-icon {
    font-size: 80px;
    color: #28a745;
    margin-bottom: 20px;
    animation: scaleIn 0.6s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.order-success h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 700;
}

.order-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.detail-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.detail-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.detail-content h3 {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 5px;
    font-weight: 600;
}

.detail-content p {
    font-size: 1.1rem;
    color: #2c3e50;
    margin: 0;
    font-weight: 700;
}

.status-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge.in-progress {
    background: #d1ecf1;
    color: #0c5460;
}

.status-badge.completed {
    background: #d4edda;
    color: #155724;
}

.success-message {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
}

.success-message h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.success-message p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.next-steps {
    margin-top: 30px;
    text-align: left;
}

.next-steps h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

.next-steps ul {
    list-style: none;
    padding: 0;
}

.next-steps li {
    padding: 8px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.next-steps li i {
    color: #28a745;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px 0;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-secondary {
    background: #28a745;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
    color: white;
}

.btn-outline {
    border: 2px solid #667eea;
    color: #667eea;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.support-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
}

.support-info h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.support-info a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.support-info a:hover {
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
    .success-container {
        padding: 20px;
        margin: 0 15px;
    }
    
    .order-details {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }
    
    .success-message {
        padding: 20px;
    }
}

/* Animation for elements appearing */
.detail-card,
.success-message,
.action-buttons,
.support-info {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.detail-card:nth-child(1) { animation-delay: 0.1s; }
.detail-card:nth-child(2) { animation-delay: 0.2s; }
.detail-card:nth-child(3) { animation-delay: 0.3s; }
.success-message { animation-delay: 0.4s; }
.action-buttons { animation-delay: 0.5s; }
.support-info { animation-delay: 0.6s; }