/* 登录/注册页面样式 */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 10;
}

.auth-card {
    background: rgba(22, 27, 45, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 28px;
    color: #e8a838;
    margin-bottom: 8px;
}

.auth-header p {
    color: #8a93a8;
    font-size: 16px;
}

.auth-card .form-group {
    margin-bottom: 20px;
}

.auth-card .form-group label {
    display: block;
    color: #c4c9d4;
    margin-bottom: 8px;
    font-size: 14px;
}

.auth-card .form-control {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #e1e5eb;
    font-size: 15px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.auth-card .form-control:focus {
    outline: none;
    border-color: #e8a838;
    background: rgba(255, 255, 255, 0.08);
}

.auth-card .btn-block {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-top: 10px;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-footer p {
    color: #8a93a8;
    margin: 8px 0;
    font-size: 14px;
}

.auth-footer a {
    color: #e8a838;
    text-decoration: none;
    transition: color 0.3s;
}

.auth-footer a:hover {
    color: #f5c96a;
    text-decoration: underline;
}

.alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.alert-success {
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ecc71;
}

.alert-error {
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

/* 响应式 */
@media (max-width: 480px) {
    .auth-card {
        padding: 30px 20px;
    }

    .auth-header h1 {
        font-size: 24px;
    }
}

/* ===== 免责声明弹窗（居中） ===== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.modal-overlay.show {
    display: flex;
}

.modal-box {
    background: #1a1f35;
    border: 2px solid #e63946;
    border-radius: 16px;
    padding: 40px;
    max-width: 620px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 0 60px rgba(230, 57, 70, 0.4), 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: popIn 0.4s ease;
}

@keyframes popIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-box h2 {
    color: #e63946;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.modal-content {
    color: #b0b8c8;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
    white-space: normal;
}
.modal-content p {
    margin: 0 0 9px;
}
.modal-content p:last-child {
    margin-bottom: 0;
}
.modal-content br { line-height: 1.5; }

.modal-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #e63946, #c62828);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-btn:hover {
    background: linear-gradient(135deg, #f04d57, #d32f2f);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
}
