﻿html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'BYekan', sans-serif;
    direction: rtl;
    background: linear-gradient(135deg, #0B8F98, #57C5C6);
    background-size: cover;
    overflow: hidden;
}

.container-otp {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 1.5rem;
}

.otp-box {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1.8rem;
    padding: 2.5rem 2rem;
    text-align: center;
    color: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    animation: fadeInUp 0.8s ease-in-out;
}

.otp-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
    animation: float 3s ease-in-out infinite;
}

    .otp-logo img {
        width: 70%;
        height: 70%;
    }

.otp-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.otp-timer {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ffeb3b;
    margin-bottom: 1.5rem;
}

.otp-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.otp-input {
    padding: 1rem;
    font-size: 1.2rem;
    text-align: center;
    border-radius: 1rem;
    border: none;
    background: rgba(255,255,255,0.95);
    color: #0B8F98;
    outline: none;
    transition: 0.3s;
    font-weight: bold;
    letter-spacing: 6px;
}

    .otp-input:focus {
        box-shadow: 0 0 10px rgba(87,197,198,0.7);
    }

.otp-btn {
    background-color: #0B8F98;
    color: white;
    font-size: 1.2rem;
    padding: 1rem;
    border-radius: 1rem;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    font-weight: bold;
}

    .otp-btn:hover {
        background-color: #09737B;
        transform: scale(1.03);
    }

.otp-resend {
    margin-top: 1rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

.otp-resend-btn {
    color: #ffeb3b;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: bold;
    text-decoration: underline;
    transition: 0.3s;
}

    .otp-resend-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .otp-box {
        width: 92%;
        max-width: 92%;
        padding: 2rem 1.5rem;
        border-radius: 2rem;
    }

    .otp-input {
        font-size: 1.3rem;
        padding: 1.2rem;
    }

    .otp-btn {
        font-size: 1.3rem;
        padding: 1.2rem;
    }

    .otp-logo {
        width: 85px;
        height: 85px;
        margin-bottom: 1rem;
    }
}
