/* public/assets/css/system/email-breach-check.css */

.breach-wrapper { padding: 32px; border-radius: var(--radius-lg); position: relative; }
.breach-header { text-align: center; margin-bottom: 40px; }
.breach-title { font-size: 2.2rem; font-weight: 800; color: var(--text-main); margin-bottom: 12px; letter-spacing: -0.5px; }
.breach-subtitle { font-size: 1.05rem; color: var(--text-muted); max-width: 700px; margin: 0 auto; line-height: 1.6; }

.breach-workspace { max-width: 800px; margin: 0 auto 40px auto; display: flex; flex-direction: column; gap: 24px; }

/* 搜索控制台 */
.breach-search-panel { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 16px; padding: 24px 32px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.breach-input-group { display: flex; flex-direction: column; gap: 12px; }
.breach-input-group label { font-size: 0.95rem; font-weight: 800; color: var(--text-main); }

.breach-search-bar { display: flex; gap: 12px; }
.breach-input { flex: 1; padding: 16px 20px; font-size: 1.15rem; font-weight: 600; color: var(--text-main); background: var(--bg-body); border: 2px solid var(--border-color); border-radius: 8px; outline: none; transition: 0.2s; }
.breach-input:focus { border-color: #3b82f6; box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1); }
.breach-input::placeholder { color: var(--text-muted); opacity: 0.5; }

.breach-btn-search { padding: 0 32px; font-size: 1.1rem; font-weight: 800; background: linear-gradient(135deg, #1e293b, #0f172a); color: #fff; border: 1px solid #334155; border-radius: 8px; cursor: pointer; transition: 0.2s; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); display: flex; align-items: center; justify-content: center; gap: 10px; height: 58px; white-space: nowrap; }
.breach-btn-search:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); background: linear-gradient(135deg, #334155, #1e293b); }

.breach-spinner { width: 20px; height: 20px; border: 3px solid rgba(255,255,255,0.3); border-top: 3px solid #fff; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* 查询结果卡片 */
.breach-result-card { border-radius: 16px; overflow: hidden; animation: fadeIn 0.4s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.result-status { display: flex; gap: 24px; padding: 32px; align-items: flex-start; }
.status-icon { font-size: 3rem; line-height: 1; }
.status-content h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.status-content p { font-size: 1.05rem; line-height: 1.6; margin-bottom: 16px; font-weight: 600; }

/* 绿色安全状态 */
.status-safe { background: rgba(16, 185, 129, 0.1); border: 2px solid rgba(16, 185, 129, 0.3); color: #047857; }
.status-safe h3 { color: #10b981; }
[data-theme="dark"] .status-safe { color: #a7f3d0; }

/* 红色警告状态 */
.status-pwned { background: rgba(239, 68, 68, 0.1); border: 2px solid rgba(239, 68, 68, 0.3); color: #b91c1c; }
.status-pwned h3 { color: #ef4444; }
[data-theme="dark"] .status-pwned { color: #fecaca; }

.breach-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.breach-list li { background: #ef4444; color: #fff; padding: 6px 16px; border-radius: 30px; font-size: 0.9rem; font-weight: 700; font-family: 'Courier New', Courier, monospace; letter-spacing: 0.5px; box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3); }

/* 补救指南区 */
.breach-guide-zone { max-width: 800px; margin: 0 auto; background: var(--bg-surface); padding: 32px; border-radius: 16px; border: 1px solid var(--border-color); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.guide-zone-title { font-size: 1.3rem; font-weight: 800; color: var(--text-main); margin-bottom: 24px; border-bottom: 1px solid var(--border-color); padding-bottom: 16px; }

.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.guide-item { display: flex; gap: 16px; align-items: flex-start; background: var(--bg-body); padding: 20px; border-radius: 12px; border: 1px solid var(--border-color); transition: 0.2s; }
.guide-item:hover { border-color: #3b82f6; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1); }
.guide-icon { font-size: 1.8rem; line-height: 1; }
.guide-item p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; margin: 0; font-weight: 600; }

.breach-info-card { background: var(--bg-surface); padding: 24px; border-radius: 16px; border: 1px solid var(--border-color); max-width: 800px; margin: 0 auto; box-sizing: border-box; }

@media (max-width: 768px) {
    .breach-search-bar { flex-direction: column; }
    .breach-btn-search { height: 52px; }
    .result-status { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
    .guide-grid { grid-template-columns: 1fr; }
}