@font-face {
    font-family: 'iransans';
    src: url(../fonts/Iranian-Sans.ttf);
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    direction: rtl;
    overflow: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    transform: rotate(-45deg);
    z-index: -1;
    animation: pulse 6s linear infinite;
}

@keyframes pulse {
    0% {
        transform: rotate(-45deg) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: rotate(-45deg) scale(1.05);
        opacity: 1;
    }
    100% {
        transform: rotate(-45deg) scale(1);
        opacity: 0.8;
    }
}

.reset-container {
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 48px 36px;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
    margin: 0 auto;
}

.reset-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 36px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.reset-container input[type="email"],
.reset-container input[type="password"],
.reset-container input[type="number"],
.reset-container input[type="text"] {
    width: 100%;
    padding: 14px;
    margin: 16px 0;
    border: none;
    background-color: rgba(255, 255, 255, 0.75);
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.07);
    color: #555;
}

.reset-container input[type="email"]:focus,
.reset-container input[type="password"]:focus,
.reset-container input[type="number"]:focus,
.reset-container input[type="text"]:focus {
    background-color: rgba(255, 255, 255, 0.95);
    outline: none;
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
}

.reset-container button {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    font-family: iransans;
    color: white;
    padding: 14px 0;
    margin: 24px 0 0 0;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.6px;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
}

.reset-container button:hover {
    background: linear-gradient(to right, #5a0ebb, #1565ea);
    transform: translateY(-3px);
    box-shadow: 0 7px 16px rgba(0, 0, 0, 0.3);
}

.reset-message {
    background-color: rgba(248, 215, 218, 0.85);
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 18px;
    font-size: 15px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.reset-success {
    background-color: rgba(212, 237, 218, 0.85);
    color: #155724;
    border: 1px solid #c3e6cb;
}

@media (max-width: 576px) {
    .reset-container {
        padding: 18px 8px;
        border-radius: 0;
        box-shadow: none;
    }
    .reset-container h2 {
        font-size: 20px;
        margin-bottom: 18px;
    }
    body::before {
        display: none;
    }
}
