
/* === OTP PRO STYLE AVANCÉ === */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700;900&display=swap');

.hc-otp-box {
    max-width: 500px;
    margin: 60px auto;
    padding: 35px;
    border-radius: 18px;
    background: linear-gradient(to bottom right, #4b6cb7, #182848);
    font-family: 'Tajawal', sans-serif;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: #fff;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-in-out;
}

.hc-otp-box::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 160px;
    height: 160px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    animation: pulse 3s infinite ease-in-out;
}

.hc-otp-box h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 900;
    color: #fff;
}

.hc-otp-box input[type="text"],
.hc-otp-box input[type="number"],
.hc-otp-box input[type="submit"] {
    width: 100%;
    padding: 14px;
    margin-top: 15px;
    border-radius: 10px;
    border: none;
    font-size: 17px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.hc-otp-box input[type="text"],
.hc-otp-box input[type="number"] {
    background: rgba(255,255,255,0.9);
    color: #333;
}

.hc-otp-box input[type="submit"] {
    background: #ff6b00;
    color: white;
    font-weight: bold;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.hc-otp-box input[type="submit"]:hover {
    background: #e55a00;
    transform: translateY(-2px);
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}
/* MODAL */
.hc-otp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.hc-otp-modal {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: center;
}

.hc-otp-modal-buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.hc-otp-modal-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

#hc-otp-modal-confirm {
    background: #4CAF50;
    color: white;
}

#hc-otp-modal-cancel {
    background: #f44336;
    color: white;
}

/* FORMULAIRE */
.hc-otp-container {
    max-width: 500px;
    margin: 40px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #f9f9f9;
}

.hc-otp-message {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.hc-otp-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.hc-otp-button {
    width: 100%;
    padding: 12px;
    background: #2196F3;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.hc-otp-error {
    color: #f44336;
    text-align: center;
    margin-bottom: 15px;
}

/* PAGE DE CONFIRMATION */
.hc-otp-thank-you {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    text-align: center;
    border: 1px solid #4CAF50;
    border-radius: 10px;
    background: #f0fff4;
}

.hc-otp-order-details {
    margin-top: 30px;
    text-align: left;
    border-top: 1px dashed #ddd;
    padding-top: 20px;
}