/* 
 * Forgot Password Page Styles
 * 忘记密码页面样式
 */

.forgot-password-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.forgot-password-card {
    width: 100%;
    max-width: 500px;
    padding: 50px 40px;
}

.system-title {
    color: var(--primary-blue);
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.95em;
    margin-bottom: 30px;
    line-height: 1.6;
}

.forgot-password-form {
    margin-top: 30px;
}

.input-hint {
    display: block;
    margin-top: 5px;
    font-size: 0.8em;
    color: var(--text-gray);
    font-style: italic;
}

.select-input {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232196F3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 40px;
    cursor: pointer;
}

.select-input:focus {
    outline: none;
}

.back-to-login {
    text-align: center;
    margin-top: 25px;
    color: var(--text-gray);
    font-size: 0.95em;
}

.back-to-login a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-to-login a:hover {
    color: var(--primary-blue-dark);
    text-decoration: underline;
}

/* Toast通知样式 */
.toast {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #333;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transition: top 0.3s ease;
    font-size: 0.95em;
    min-width: 250px;
    text-align: center;
}

.toast.show {
    top: 20px;
}

.toast-success {
    border-left: 4px solid #4caf50;
    color: #2e7d32;
}

.toast-error {
    border-left: 4px solid #f44336;
    color: #c62828;
}

.toast-info {
    border-left: 4px solid #2196F3;
    color: #1565c0;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .forgot-password-card {
        padding: 40px 30px;
    }
    
    .system-title {
        font-size: 1.5em;
        margin-bottom: 10px;
    }

    .subtitle {
        font-size: 0.9em;
    }
}
