/**
 * Smart Subscribe - 前台订阅表单样式（金色主题）
 */

.smart-subscribe-wrapper {
    max-width: 420px;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.smart-subscribe-wrapper h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: #1e293b;
}

.smart-subscribe-form .field-group {
    margin-bottom: 12px;
}

.smart-subscribe-form input[type="text"],
.smart-subscribe-form input[type="email"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #f8fafc;
    box-sizing: border-box;
}

/* 聚焦时金色边框和阴影 */
.smart-subscribe-form input[type="text"]:focus,
.smart-subscribe-form input[type="email"]:focus {
    border-color: #D4AF37;
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
    background: #ffffff;
}

/* 提交按钮 - 金色渐变背景 */
.smart-subscribe-form .subscribe-btn {
    width: 100%;
    padding: 10px 20px;
    background: #D4AF37;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.smart-subscribe-form .subscribe-btn:hover {
    background: #b8962e;  /* 深金色悬停 */
}

.smart-subscribe-form .subscribe-btn:active {
    transform: scale(0.98);
}

.smart-subscribe-form .subscribe-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 提示信息颜色（保持默认，可微调） */
.smart-subscribe-message {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.95rem;
    display: none;
}

.smart-subscribe-message.success {
    display: block;
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.smart-subscribe-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* 简单响应式 */
@media (max-width: 480px) {
    .smart-subscribe-wrapper {
        max-width: 100%;
    }
}