/**
 * GeekLabx 找回密码页面样式 - 重构版本
 * 版本: 2.0.0
 * 符合CSP安全策略
 */

/* 重置链接显示样式 */
.reset-link-container {
    margin-top: 15px;
    padding: 15px;
    background: #f0f8ff;
    border: 1px solid #4CAF50;
    border-radius: 5px;
}

.reset-link-url {
    color: #4CAF50;
    text-decoration: none;
    word-break: break-all;
    font-weight: bold;
}

.reset-link-hint {
    margin-top: 10px;
    font-size: 12px;
    color: #666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
}

.header {
    text-align: center;
    margin-bottom: 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.title {
    font-size: 1.25rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 0.875rem;
    color: #718096;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.container .btn {
    width: 100%;
    padding: 0.75rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-bottom: 1rem;
}

.container .btn:hover {
    background: #5a67d8;
}

.container .btn:disabled {
    background: #a0aec0;
    cursor: not-allowed;
}

.message {
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.message.success {
    background: #f0fff4;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.message.error {
    background: #fed7d7;
    color: #742a2a;
    border: 1px solid #feb2b2;
}

.links {
    text-align: center;
    font-size: 0.875rem;
}

.links a {
    color: #667eea;
    text-decoration: none;
}

.links a:hover {
    text-decoration: underline;
}

.hidden {
    display: none;
}