/* 认证相关样式 */

/* 模态框背景 */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* 模态框内容 */
.modal-content {
    background-color: #fff;
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    padding: 30px;
    position: relative;
}

/* 关闭按钮 */
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #000;
}

/* 表单标题 */
.modal-content h2 {
    margin-top: 0;
    margin-bottom: 30px;
    color: #333;
    font-size: 28px;
    text-align: center;
    font-weight: 600;
}

/* 表单组 */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #666;
    font-size: 16px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #1e1e1e;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s;
    background-color: #222;
    color: #fff;
}

.form-group input::placeholder {
    color: #999;
    opacity: 0.7;
}

.form-group input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
    background-color: #2a2a2a;
}

/* 表单操作区 */
.form-actions {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.form-actions .btn {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.form-actions .btn-primary {
    background-color: #4CAF50;
    color: white;
    letter-spacing: 1px;
}

.form-actions .btn-primary:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 表单切换链接 */
.form-switch {
    text-align: center;
    margin-top: 24px;
    font-size: 15px;
    color: #666;
}

.form-switch a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
}

.form-switch a:hover {
    text-decoration: underline;
} 