/* public/assets/css/life/name-oracle.css */
:root {
    --primary: #8b5cf6; --primary-hover: #7c3aed; 
    --bg: #ffffff; --card: #f8fafc; --text-main: #0f172a; --text-sub: #475569;
    --border: #e2e8f0; --shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.seo-tool-wrapper { 
    width: 100%; max-width: 900px; margin: 0 auto;
    background: var(--bg); border-radius: 16px; overflow: hidden; 
    border: 1px solid var(--border); box-shadow: var(--shadow);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--text-main);
}

.tool-seo-header { padding: 40px 20px; text-align: center; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%); }
.tool-h1 { margin: 0 0 15px 0; font-size: 1.8rem; font-weight: 800; color: #1e293b; display:flex; align-items:center; justify-content:center;}
.tool-description { margin: 0 auto; max-width: 700px; font-size: 0.95rem; color: var(--text-sub); line-height: 1.6; }

.tool-workspace { padding: 30px; background: #f8fafc; min-height: 400px;}

.no-search-box { display: flex; gap: 16px; max-width: 600px; margin: 0 auto 40px auto; }
.no-input-wrap { flex: 1; position: relative; display: flex; align-items: center;}
.no-icon-user { position: absolute; left: 20px; color: #94a3b8; }
.no-input { 
    width: 100%; padding: 18px 20px 18px 52px; font-size: 1.2rem; font-weight: 700;
    border-radius: 12px; border: 2px solid var(--border); background: white; color: var(--text-main);
    outline: none; transition: 0.2s; box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.no-input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15); }
.no-input::placeholder { color: #cbd5e1; font-weight: 500;}

.no-btn-primary {
    padding: 0 32px; font-size: 1.1rem; font-weight: 700; border-radius: 12px; cursor: pointer;
    background: var(--primary); color: white; border: none; display: flex; align-items: center; gap: 10px;
    transition: 0.2s; box-shadow: 0 4px 6px -1px rgba(139, 92, 246, 0.4);
}
.no-btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 6px 12px -2px rgba(139, 92, 246, 0.5);}
.no-btn-primary:disabled { opacity: 0.7; cursor: not-allowed; transform: none; box-shadow: none; }

.no-spin { animation: spin 1s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }

.no-state-message { text-align: center; color: #94a3b8; font-size: 1rem; padding: 60px 20px; font-weight: 500;}

.no-result-dashboard { animation: fadeIn 0.4s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.no-target-name { text-align: center; font-size: 2.5rem; font-weight: 900; margin: 0 0 30px 0; color: #1e293b; text-transform: capitalize; letter-spacing: -1px;}

.no-cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.no-card-wide { grid-column: span 2; }

.no-card { background: white; border-radius: 16px; border: 1px solid var(--border); padding: 24px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); display: flex; flex-direction: column;}
.no-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.no-card-title { font-size: 0.9rem; font-weight: 800; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px;}
.no-card-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }

.no-icon-age { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.no-icon-gender { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.no-icon-nat { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.no-icon-gender.is-female { background: rgba(236, 72, 153, 0.1); color: #ec4899; }
.no-icon-gender.is-male { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }

.no-card-main { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 24px; }
.no-value-large { font-size: 3rem; font-weight: 900; color: #1e293b; line-height: 1;}
.no-value-unit { font-size: 1.2rem; font-weight: 700; color: #94a3b8; margin-bottom: 6px;}
.no-gender-prob { font-size: 1.2rem; font-weight: 800; color: #64748b; background: #f1f5f9; padding: 4px 10px; border-radius: 6px; }

.no-card-footer { margin-top: auto; border-top: 1px dashed var(--border); padding-top: 16px;}
.no-meta-label { font-size: 0.85rem; color: #94a3b8; font-weight: 600;}
.no-meta-val { font-size: 0.9rem; color: var(--text-main); font-weight: 700; font-family: monospace;}

.no-progress-bar { width: 100%; height: 8px; background: #f1f5f9; border-radius: 4px; overflow: hidden; }
.no-progress-fill { height: 100%; background: #3b82f6; border-radius: 4px; transition: width 0.5s ease-out; }
.no-progress-fill.is-female { background: #ec4899; }

.no-nat-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px;}
.no-nat-item { display: flex; flex-direction: column; align-items: center; background: #f8fafc; padding: 16px; border-radius: 12px; border: 1px solid #e2e8f0;}
.no-nat-flag { font-size: 2.5rem; margin-bottom: 8px; line-height: 1;}
.no-nat-code { font-size: 1rem; font-weight: 800; color: var(--text-main); margin-bottom: 4px;}
.no-nat-prob { font-size: 0.85rem; font-weight: 700; color: #64748b; background: white; padding: 2px 8px; border-radius: 4px; border: 1px solid #e2e8f0;}

.seo-article-content { padding: 40px; background: white; border-top: 1px solid var(--border); color: #334155; line-height: 1.8; }
.seo-article-content h2 { font-size: 1.5rem; color: #1e293b; margin-bottom: 20px; }
.seo-article-content ul { padding-left: 20px; }
.seo-article-content li { margin-bottom: 10px; }

[data-theme="dark"]:root { --bg: #0f172a; --card: #1e293b; --text-main: #f8fafc; --text-sub: #94a3b8; --border: #334155; }
[data-theme="dark"] .tool-seo-header, [data-theme="dark"] .seo-article-content { background: #0f172a; }
[data-theme="dark"] .tool-workspace { background: #020617; }
[data-theme="dark"] .no-input { background: #1e293b; border-color: #334155; color: #f8fafc; }
[data-theme="dark"] .no-card { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .no-target-name, [data-theme="dark"] .no-value-large { color: #f8fafc; }
[data-theme="dark"] .no-card-footer { border-top-color: #334155; }
[data-theme="dark"] .no-gender-prob, [data-theme="dark"] .no-progress-bar, [data-theme="dark"] .no-nat-item { background: #0f172a; border-color:#334155;}
[data-theme="dark"] .no-nat-prob { background: #1e293b; border-color:#334155; color: #cbd5e1;}

@media (max-width: 768px) {
    .no-search-box { flex-direction: column; }
    .no-btn-primary { justify-content: center; padding: 16px; }
    .no-cards-grid { grid-template-columns: 1fr; }
    .no-card-wide { grid-column: span 1; }
    .no-nat-list { grid-template-columns: 1fr; }
    .no-nat-item { flex-direction: row; justify-content: space-between; padding: 12px 20px;}
    .no-nat-flag { font-size: 1.8rem; margin-bottom: 0;}
}