/**
 * Password Recovery Form Styles
 */

/* Wrapper */
#cpr-wrapper {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

/* Form Styles */
#cpr-wrapper form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Input Fields */
#cpr-wrapper input[type="email"],
#cpr-wrapper input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

#cpr-wrapper input[type="email"]:focus,
#cpr-wrapper input[type="password"]:focus {
    outline: none;
    border-color: #3085d6;
}

/* Submit Button */
#cpr-wrapper button[type="submit"] {
    padding: 12px 20px;
    background-color: #3085d6;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#cpr-wrapper button[type="submit"]:hover {
    background-color: #2575c4;
}

#cpr-wrapper button[type="submit"]:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Message Box */
#cpr-wrapper .cpr-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    min-height: 20px;
}

/* Success Message */
#cpr-wrapper .cpr-success-message {
    color: #28a745;
    font-weight: bold;
}

/* Redirect Message */
#cpr-wrapper .cpr-redirect-message {
    margin-top: 15px;
    color: #666;
}

#cpr-wrapper .cpr-redirect-message #redirect-countdown {
    font-weight: bold;
    color: #3085d6;
}

/* Error State */
#cpr-wrapper .cpr-message:contains('Error') {
    color: #e74c3c;
    background-color: #fdf2f2;
}

/* Responsive */
@media (max-width: 480px) {
    #cpr-wrapper {
        padding: 15px;
    }

    #cpr-wrapper input[type="email"],
    #cpr-wrapper input[type="password"],
    #cpr-wrapper button[type="submit"] {
        font-size: 16px;
    }
}
