/* 验证码验证弹窗样式 */
.verification-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    animation: fadeIn 0.3s ease-in-out;
}

.verification-modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.5s ease-out;
}

.verification-modal-header {
    margin-bottom: 30px;
}

.verification-modal-header h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 2em;
}

.verification-modal-header p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

.verification-form {
    margin-bottom: 30px;
}

.verification-input-group {
    margin-bottom: 20px;
    text-align: left;
}

.verification-input-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 16px;
}

.verification-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 18px;
    text-align: center;
    letter-spacing: 5px;
    font-weight: bold;
    transition: border-color 0.3s ease;
    background: #f8f9fa;
}

.verification-input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
}

.verification-input::placeholder {
    color: #999;
    letter-spacing: 2px;
}

.verification-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.verification-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.verification-btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

.verification-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.verification-btn-secondary {
    background: #6c757d;
    color: white;
}

.verification-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.4);
}

.verification-btn-danger {
    background: #e74c3c;
    color: white;
}

.verification-btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.verification-info {
    background: #f8f9fa;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.verification-info h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 18px;
}

.verification-info ul {
    color: #666;
    line-height: 1.8;
    padding-left: 20px;
}

.verification-error {
    color: #e74c3c;
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #fdf2f2;
    border-radius: 8px;
    border: 1px solid #fecaca;
    font-weight: bold;
}

.verification-success {
    color: #27ae60;
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f0f9f4;
    border-radius: 8px;
    border: 1px solid #86efac;
    font-weight: bold;
}

.verification-loading {
    text-align: center;
    color: #666;
    font-style: italic;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .verification-modal-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .verification-modal-header h2 {
        font-size: 1.5em;
    }
    
    .verification-buttons {
        flex-direction: column;
    }
    
    .verification-btn {
        width: 100%;
    }
}

/* 微信公众号弹窗样式 */
.wechat-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100000;
    animation: fadeIn 0.3s ease-in-out;
}

.wechat-modal-content {
    background: white;
    border-radius: 20px;
    padding: 0;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.5s ease-out;
    overflow: hidden;
}

.wechat-modal-header {
    background: linear-gradient(45deg, #07c160, #00d4aa);
    color: white;
    padding: 25px 30px;
    position: relative;
}

.wechat-modal-header h2 {
    margin: 0;
    font-size: 1.8em;
    font-weight: 600;
}

.wechat-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.wechat-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.wechat-modal-body {
    padding: 30px;
}

.wechat-qr-section {
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border: 2px solid #e1e5e9;
}

.wechat-icon {
    font-size: 4em;
    margin-bottom: 15px;
}

.wechat-name {
    color: #07c160;
    font-size: 2.2em;
    font-weight: bold;
    margin: 10px 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.wechat-desc {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.wechat-steps {
    text-align: left;
    margin-bottom: 25px;
}

.wechat-steps h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.wechat-steps ol {
    color: #555;
    line-height: 2;
    padding-left: 25px;
    margin: 0;
}

.wechat-steps li {
    margin-bottom: 8px;
    font-size: 15px;
}

.wechat-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
}

.wechat-note p {
    color: #856404;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.wechat-modal-footer {
    padding: 20px 30px 30px;
    background: #f8f9fa;
}

.wechat-btn {
    padding: 15px 40px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.wechat-btn-primary {
    background: linear-gradient(45deg, #07c160, #00d4aa);
    color: white;
    box-shadow: 0 4px 15px rgba(7, 193, 96, 0.3);
}

.wechat-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7, 193, 96, 0.4);
}

/* 微信公众号弹窗响应式设计 */
@media (max-width: 768px) {
    .wechat-modal-content {
        margin: 20px;
        max-width: none;
    }
    
    .wechat-modal-header {
        padding: 20px;
    }
    
    .wechat-modal-header h2 {
        font-size: 1.5em;
    }
    
    .wechat-modal-body {
        padding: 20px;
    }
    
    .wechat-name {
        font-size: 1.8em;
    }
    
    .wechat-steps ol {
        padding-left: 20px;
    }
    
    .wechat-steps li {
        font-size: 14px;
    }
}

/* 验证码弹窗广告样式 */
.verification-ad-section {
    margin: 20px 0;
    padding: 0;
    text-align: center;
}

.verification-text-ad {
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.verification-text-ad:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.verification-ad-section img {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    border-radius: 6px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.verification-ad-section img:hover {
    transform: translateY(-2px);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .verification-ad-section {
        margin: 15px 0;
        padding: 0;
    }
    
    .verification-text-ad {
        font-size: 13px;
        padding: 8px;
    }
}
