
    /* 会员弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(3px);
}
.modal-container {
    position: relative;
    width: 90%;
    max-width: 420px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    z-index: 10000;
    overflow: hidden;
    animation: modalFadeIn 0.3s;
}
@keyframes modalFadeIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #1a365d, #2d4a7c);
    color: white;
}
.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
}
.modal-header h3 i {
    margin-right: 8px;
    color: #d4af37;
}
.modal-close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.modal-close:hover {
    color: #d4af37;
}
.modal-tabs {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
}
.modal-tabs .tab-link {
    flex: 1;
    padding: 12px 0;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
}
.modal-tabs .tab-link.active {
    color: #1a365d;
    border-bottom-color: #d4af37;
}
.modal-tabs .tab-link:hover {
    background: #f5f5f5;
}
.modal-content {
    padding: 20px;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
}
.form-group label i {
    width: 20px;
    color: #d4af37;
}
.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.form-group input:focus {
    outline: none;
    border-color: #d4af37;
}
.btn-submit {
    width: 100%;
    padding: 12px;
    background: #1a365d;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-submit:hover {
    background: #2d4a7c;
}
.form-msg {
    margin-top: 10px;
    padding: 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    display: none;
}
.error-msg {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.success-msg {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
