/* ===== RESET PASSWORD CONTAINER ===== */
.main-reset-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    padding-top: 40px;
    padding-bottom: 30px;
}

.reset-container {
    background: var(--card);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 450px;
    border: 1px solid var(--border);
    text-align: center;
}

.reset-container h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: var(--text);
}

.reset-description {
    color: var(--muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===== MESSAGES ===== */
.messages-container {
    margin-bottom: 1.5rem;
}

.message {
    padding: 0.8rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.message-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.message-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.message-info {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* ===== FORM FIELDS ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    color: var(--text);
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    font-size: 1rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 0.8rem;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
    background: var(--surface);
    color: var(--text);
}

.form-group input::placeholder {
    color: var(--muted);
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--ring);
    transform: scale(1.02);
}

/* ===== RESET BUTTON ===== */
.reset-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 0.8rem;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 1.5rem;
}

.reset-btn:hover {
    background: linear-gradient(135deg, var(--primary-2), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.reset-btn:active {
    transform: translateY(0);
}

/* ===== BACK LINK ===== */
.back-link {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.back-link a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.back-link a:hover {
    color: var(--text);
    text-decoration: underline;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet screens */
@media screen and (max-width: 1024px) {
    .main-reset-container {
        padding: 20px;
    }
    .reset-container {
        max-width: 500px;
        padding: 2.5rem;
    }
}

/* Mobile screens */
@media screen and (max-width: 768px) {
    .main-reset-container {
        padding: 15px;
        padding-top: 30px;
    }
    .reset-container {
        max-width: 100%;
        padding: 2rem;
    }
    
    .reset-container h2 {
        font-size: 1.6rem;
    }
    
    .form-group input {
        font-size: 0.95rem;
        padding: 0.9rem;
    }
    
    .reset-btn {
        padding: 0.9rem;
        font-size: 1rem;
    }
}

/* Animation for input focus */
@keyframes pulse {
    0% { box-shadow: 0 0 0 4px var(--ring); }
    50% { box-shadow: 0 0 0 8px rgba(79, 70, 229, 0.1); }
    100% { box-shadow: 0 0 0 4px var(--ring); }
}

.form-group input:focus {
    animation: pulse 2s infinite;
}
