/* ================= 🌟 基础与排版 ================= */
.caid-wrapper { padding: 32px 0; }
.caid-header { text-align: center; margin-bottom: 32px; }
.caid-title { font-size: 1.8rem; font-weight: 800; color: var(--text-main); margin-bottom: 12px; }
.caid-subtitle { color: var(--text-muted); max-width: 800px; margin: 0 auto; line-height: 1.6; }

/* ================= 🌟 网格布局 ================= */
.caid-workspace { display: grid; grid-template-columns: 320px 1fr; gap: 24px; align-items: stretch; }
.caid-col-left { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.caid-col-right { display: flex; flex-direction: column; gap: 24px; height: 100%; min-height: 0; min-width: 0; }
@media(max-width: 900px) { .caid-workspace { grid-template-columns: 1fr; } }

/* ================= 🌟 卡片风格 ================= */
.caid-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 20px; padding: 28px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); display: flex; flex-direction: column; box-sizing: border-box; }
.caid-panel-title { font-weight: 700; color: var(--text-main); font-size: 1.1rem; border-bottom: 1px solid var(--border-color); padding-bottom: 16px; margin-bottom: 24px; }

/* ================= 🌟 表单与按钮 ================= */
.caid-form-group { margin-bottom: 24px; display: flex; flex-direction: column; }
.caid-label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }

.caid-select { 
    width: 100%; box-sizing: border-box; padding: 12px 14px; 
    border: 2px solid var(--border-color); border-radius: 10px; 
    background: var(--bg-body); color: var(--text-main); 
    font-size: 1rem; font-weight: 600; transition: 0.2s; outline: none; cursor: pointer;
}
.caid-select:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1); }

.caid-btn-primary { width: 100%; padding: 14px; background: var(--primary-color); color: #fff; font-size: 1.1rem; font-weight: bold; border: none; border-radius: 12px; cursor: pointer; transition: 0.2s; }
.caid-btn-primary:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3); }

.caid-disclaimer { margin-top: auto; padding-top: 24px; font-size: 0.8rem; color: #ff4757; line-height: 1.5; font-weight: 500; }

/* ================= 🌟 苹果风名片列表 ================= */
.caid-profile-list { display: flex; flex-direction: column; gap: 4px; }
.caid-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--bg-body); border-radius: 10px; transition: 0.2s; }
.caid-row:hover { background: rgba(var(--primary-rgb), 0.05); }

.caid-row-label { width: 160px; font-size: 0.9rem; color: var(--text-muted); font-weight: 600; flex-shrink: 0; }
.caid-row-val { flex: 1; font-size: 1.05rem; color: var(--text-main); font-weight: 700; font-family: monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 16px; }
.caid-row-val.highlight { color: var(--primary-color); font-size: 1.15rem; }
.caid-row-val.pwd { color: #e1b12c; letter-spacing: 1px; }

.caid-copy-btn { background: transparent; border: none; color: var(--text-muted); cursor: pointer; font-size: 1.1rem; padding: 4px; transition: 0.2s; }
.caid-copy-btn:hover { color: var(--primary-color); transform: scale(1.1); }

.caid-divider { height: 1px; background: var(--border-color); margin: 8px 0; opacity: 0.5; }

/* ================= 🌟 SEO 文章 ================= */
.caid-seo-box { margin-top: 32px; background: var(--bg-surface); padding: 32px; border-radius: 20px; border: 1px solid var(--border-color); box-sizing: border-box; width: 100%; }
.caid-seo-box h2 { font-size: 1.25rem; margin-bottom: 16px; color: var(--text-main); margin-top: 24px; }
.caid-seo-box h2:first-child { margin-top: 0; }
.caid-seo-box p { color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; }