/* =====================================================
   WHATSAPP SİPARİŞ MODAL
   ===================================================== */

.whatsapp-order-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--dark-gray);
    border: 1px solid var(--gold);
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-gray);
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: var(--gold);
    color: var(--black);
    transform: rotate(90deg);
}

.modal-header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid var(--border-gray);
}

.modal-header i {
    font-size: 48px;
    color: #25D366;
    margin-bottom: 15px;
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--gold);
    margin: 0;
}

.modal-body {
    padding: 30px;
}

/* Sipariş Özeti */
.order-summary {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.order-summary h3 {
    font-size: 18px;
    color: var(--gold);
    margin-bottom: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-gray);
}

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

.summary-item span {
    color: var(--text-gray);
    font-size: 14px;
}

.summary-item strong {
    color: var(--white);
    font-size: 14px;
}

.summary-item.total {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid var(--gold);
}

.summary-item.total span {
    font-size: 16px;
    font-weight: 600;
}

.summary-item.total strong {
    font-size: 20px;
    color: var(--gold);
}

.variations-summary {
    margin: 10px 0;
    padding: 10px 0;
    border-top: 1px dashed var(--border-gray);
    border-bottom: 1px dashed var(--border-gray);
}

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

.order-form label {
    display: block;
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 8px;
}

.order-form input,
.order-form textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--light-gray);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    color: var(--white);
    font-size: 14px;
    transition: var(--transition);
}

.order-form input:focus,
.order-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
}

.order-form textarea {
    resize: vertical;
    min-height: 60px;
}

.btn-submit-order {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit-order:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

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

.btn-submit-order i {
    font-size: 20px;
}

/* Başarı Mesajı */
.order-success-message {
    text-align: center;
    padding: 40px 20px;
}

.order-success-message i {
    font-size: 64px;
    color: var(--success);
    margin-bottom: 20px;
}

.order-success-message h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 15px;
}

.order-success-message p {
    color: var(--text-gray);
    margin-bottom: 10px;
}

.order-success-message strong {
    color: var(--gold);
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-header i {
        font-size: 40px;
    }

    .modal-header h2 {
        font-size: 20px;
    }

    .modal-body {
        padding: 20px;
    }

    .order-summary {
        padding: 15px;
    }
}