/* Password Reset Forms Styling */

.password-reset-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.password-reset-container h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.8rem;
}

.password-reset-container p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

.password-reset-container .form-group {
    margin-bottom: 20px;
}

.password-reset-container .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.password-reset-container .form-group input[type="email"],
.password-reset-container .form-group input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.password-reset-container .form-group input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.1);
}

.password-requirements {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
    padding-left: 20px;
}

.password-requirements li {
    margin: 3px 0;
}

.btn-reset-submit {
    width: 100%;
    padding: 12px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-reset-submit:hover {
    background: #45a049;
}

.btn-reset-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.reset-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    display: none;
}

.reset-message.show {
    display: block;
}

.reset-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.reset-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.reset-back-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #007bff;
    text-decoration: none;
    font-size: 1rem;
}

.reset-back-link:hover {
    text-decoration: underline;
}

.reset-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin-reset 0.6s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

@keyframes spin-reset {
    to { transform: rotate(360deg); }
}

/* Alternative button style for links that look like buttons */
.btn-reset-link {
    display: inline-block;
    padding: 12px 30px;
    background: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-reset-link:hover {
    background: #45a049;
}