@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #f0f2f5; color: #1e293b; min-height: 100vh; -webkit-font-smoothing: antialiased; }

.navbar { background: #2d2d2d; border-bottom: 3px solid #FA8072; padding: 0; display: flex; align-items: center; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,0.12); }
.nav-brand { padding: 0.75rem 1.5rem; font-size: 1.1rem; font-weight: 700; color: #ffffff; white-space: nowrap; border-right: 1px solid rgba(255,255,255,0.1); letter-spacing: 0.5px; }
.nav-brand span { color: #FA8072; font-weight: 600; }
.nav-links { display: flex; flex: 1; overflow-x: auto; }
.nav-links a { padding: 0.85rem 1.2rem; color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.82rem; font-weight: 500; white-space: nowrap; border-bottom: 3px solid transparent; transition: all 0.2s; letter-spacing: 0.2px; }
.nav-links a:hover { color: #ffffff; background: rgba(255,255,255,0.05); }
.nav-links a.active { color: #FA8072; border-bottom-color: #FA8072; background: rgba(250,128,114,0.08); }

.nav-user { display: flex; align-items: center; gap: 0.5rem; padding: 0 1rem; white-space: nowrap; }
.nav-user-name { color: rgba(255,255,255,0.7); font-size: 0.78rem; font-weight: 500; }
.nav-user-tier { font-size: 0.65rem; font-weight: 700; padding: 2px 8px; border-radius: 4px; letter-spacing: 0.5px; }
.tier-free { background: #374151; color: #9ca3af; }
.tier-pro { background: #FA8072; color: #ffffff; }
.tier-premium { background: linear-gradient(135deg, #7c3aed, #2563eb); color: #ffffff; }
.nav-admin-link { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 1.1rem; transition: color 0.2s; }
.nav-admin-link:hover { color: #FA8072; }
.nav-logout { color: rgba(255,255,255,0.4); text-decoration: none; font-size: 0.75rem; font-weight: 500; padding: 0.3rem 0.6rem; border: 1px solid rgba(255,255,255,0.15); border-radius: 4px; transition: all 0.2s; }
.nav-logout:hover { color: #ffffff; border-color: rgba(255,255,255,0.4); }

.container { max-width: 1100px; margin: 0 auto; padding: 1.5rem; }

.page-header { margin-bottom: 1.5rem; }
.page-header h1 { font-size: 1.5rem; color: #1a1a2e; margin-bottom: 0.25rem; font-weight: 700; letter-spacing: -0.3px; }
.page-header p { color: #6b7280; font-size: 0.88rem; }

.card { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 1.5rem; margin-bottom: 1rem; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.card h2 { color: #1a1a2e; font-size: 1.1rem; margin-bottom: 0.75rem; font-weight: 600; }
.card h3 { color: #374151; font-size: 1rem; margin-bottom: 0.5rem; }
.card p { color: #6b7280; font-size: 0.88rem; line-height: 1.6; }

.badge { display: inline-block; background: #FA8072; color: white; font-size: 0.68rem; padding: 2px 9px; border-radius: 10px; margin-left: 0.5rem; vertical-align: middle; font-weight: 600; letter-spacing: 0.3px; }

.chat-container { display: flex; flex-direction: column; height: calc(100vh - 140px); background: #ffffff; }
.chat-messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; background: #fafafa; }
.chat-input-area { padding: 1rem; background: #ffffff; border-top: 1px solid #e5e7eb; border-radius: 0 0 10px 10px; }
.chat-input-row { display: flex; gap: 0.5rem; }
.chat-input-row textarea { flex: 1; background: #f9fafb; border: 1.5px solid #d1d5db; border-radius: 8px; color: #1e293b; padding: 0.75rem; font-size: 0.88rem; font-family: inherit; resize: none; min-height: 50px; max-height: 150px; transition: border-color 0.2s, box-shadow 0.2s; }
.chat-input-row textarea:focus { outline: none; border-color: #FA8072; box-shadow: 0 0 0 3px rgba(250,128,114,0.15); }
.chat-input-row button { background: #FA8072; color: white; border: none; border-radius: 8px; padding: 0.75rem 1.5rem; font-size: 0.88rem; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background 0.2s, transform 0.1s; }
.chat-input-row button:hover { background: #e8705f; }
.chat-input-row button:active { transform: scale(0.97); }
.chat-input-row button:disabled { background: #c4c4c4; cursor: not-allowed; transform: none; }

.msg { padding: 0.85rem 1.1rem; border-radius: 10px; max-width: 90%; font-size: 0.88rem; line-height: 1.65; }
.msg.user { background: #FA8072; color: white; align-self: flex-end; border-bottom-right-radius: 3px; }
.msg.assistant { background: #ffffff; color: #1e293b; align-self: flex-start; border: 1px solid #e5e7eb; box-shadow: 0 1px 3px rgba(0,0,0,0.04); border-bottom-left-radius: 3px; position: relative; overflow: hidden; }
.msg.assistant pre { background: #f3f4f6; padding: 0.75rem; border-radius: 6px; overflow-x: auto; margin: 0.5rem 0; font-size: 0.8rem; border: 1px solid #e5e7eb; }
.msg.assistant code { font-family: 'Consolas', 'Monaco', monospace; color: #c0392b; font-size: 0.85em; }
.msg.system { background: #fff5f4; color: #9b4d43; align-self: center; font-size: 0.82rem; text-align: center; border: 1px solid #fcd5d0; }

.msg.assistant ul, .msg.assistant ol { margin: 0.5rem 0 0.5rem 1.5rem; }
.msg.assistant li { margin-bottom: 0.25rem; }
.msg.assistant strong { color: #c0392b; }
.msg.assistant h1, .msg.assistant h2, .msg.assistant h3 { color: #1a1a2e; margin: 0.75rem 0 0.25rem; }
.msg.assistant h1 { font-size: 1.1rem; }
.msg.assistant h2 { font-size: 1rem; }
.msg.assistant h3 { font-size: 0.93rem; }
.msg.assistant table { border-collapse: collapse; margin: 0.5rem 0; width: 100%; font-size: 0.8rem; }
.msg.assistant th, .msg.assistant td { border: 1px solid #d1d5db; padding: 0.4rem 0.6rem; text-align: left; }
.msg.assistant th { background: #fff5f4; color: #9b4d43; font-weight: 600; }

.msg.freemium-blur { max-height: 280px; overflow: hidden; }
.msg.freemium-blur::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 180px; background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 30%, rgba(255,255,255,0.95) 100%); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); pointer-events: none; }

.quick-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }
.quick-actions button { background: #ffffff; border: 1.5px solid #FA8072; color: #c0392b; padding: 0.4rem 0.85rem; border-radius: 6px; font-size: 0.78rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.quick-actions button:hover { background: #FA8072; color: #ffffff; }

.stats-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.stat-card { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 1.25rem 1.5rem; text-align: center; flex: 1; min-width: 140px; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.stat-card .num { font-size: 1.4rem; font-weight: 700; color: #1a1a2e; }
.stat-card .label { font-size: 0.78rem; color: #6b7280; margin-top: 0.25rem; font-weight: 500; }
.stat-card .status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; margin-right: 0.35rem; vertical-align: middle; }

.doc-list { list-style: none; }
.doc-list li { padding: 0.6rem 0.75rem; border-bottom: 1px solid #f3f4f6; display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; }
.doc-list li:last-child { border-bottom: none; }
.doc-icon { font-size: 0.65rem; font-weight: 700; color: #9b4d43; background: #fff5f4; padding: 3px 6px; border-radius: 4px; min-width: 32px; text-align: center; }
.doc-name { color: #374151; }
.doc-type { color: #9ca3af; font-size: 0.7rem; text-transform: uppercase; }

.download-section { margin-top: 1rem; }
.download-list { list-style: none; }
.download-list li { padding: 0.5rem 0; }
.download-list a { color: #c0392b; text-decoration: none; font-size: 0.88rem; font-weight: 500; }
.download-list a:hover { text-decoration: underline; }

.gen-btn { display: inline-block; background: #FA8072; color: white; border: none; border-radius: 8px; padding: 0.55rem 1.3rem; font-size: 0.85rem; font-weight: 600; cursor: pointer; margin-top: 0.75rem; text-decoration: none; transition: background 0.2s, transform 0.1s; }
.gen-btn:hover { background: #e8705f; }
.gen-btn:active { transform: scale(0.97); }

.download-btn { display: inline-block; background: #FA8072; color: white !important; padding: 0.65rem 1.3rem; border-radius: 8px; text-decoration: none !important; font-size: 0.85rem; font-weight: 600; margin-top: 0.5rem; transition: background 0.2s, transform 0.1s; letter-spacing: 0.2px; border: none; cursor: pointer; }
.download-btn:hover { background: #e8705f; }
.download-btn:active { transform: scale(0.97); }

.loading { display: none; align-items: center; gap: 0.5rem; color: #6b7280; font-size: 0.85rem; padding: 0.5rem; }
.loading.active { display: flex; }
.spinner { width: 18px; height: 18px; border: 2.5px solid #e5e7eb; border-top-color: #FA8072; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-banner { background: linear-gradient(135deg, #2d2d2d 0%, #3d3d3d 50%, #4a4a4a 100%); border: none; border-radius: 14px; padding: 2.5rem 2rem; margin-bottom: 1.5rem; text-align: center; box-shadow: 0 4px 16px rgba(0,0,0,0.15); position: relative; overflow: hidden; }
.hero-banner::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: #FA8072; }
.hero-banner h2 { color: #ffffff; font-size: 1.6rem; margin-bottom: 0.5rem; font-weight: 700; letter-spacing: 1.5px; }
.hero-banner p { color: rgba(255,255,255,0.85); font-size: 0.93rem; }
.hero-banner .subtitle { color: rgba(255,255,255,0.55); font-size: 0.82rem; margin-top: 0.5rem; }
.hero-banner .accent { color: #FA8072; }

.topic-bar { display: none; align-items: center; justify-content: space-between; background: #fff5f4; border: 1px solid #fcd5d0; border-radius: 8px; padding: 0.5rem 1rem; margin-bottom: 1rem; }
.topic-badge-text { color: #9b4d43; font-size: 0.85rem; font-weight: 600; }
.reset-btn { background: none; border: 1.5px solid #d4736a; color: #9b4d43; padding: 0.3rem 0.85rem; border-radius: 6px; font-size: 0.75rem; font-weight: 600; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.reset-btn:hover { background: #9b4d43; color: #ffffff; border-color: #9b4d43; }

.progress-bar-container { background: #ffffff; border-bottom: 1px solid #e5e7eb; padding: 0.75rem 1.5rem; }
.progress-steps { display: flex; align-items: center; justify-content: center; max-width: 700px; margin: 0 auto; gap: 0; }
.progress-step { display: flex; align-items: center; gap: 0.4rem; text-decoration: none; padding: 0.35rem 0.6rem; border-radius: 6px; transition: all 0.2s; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; font-size: 0.72rem; font-weight: 700; border: 2px solid #d1d5db; color: #9ca3af; background: #ffffff; transition: all 0.2s; flex-shrink: 0; }
.step-label { font-size: 0.75rem; font-weight: 500; color: #9ca3af; white-space: nowrap; transition: color 0.2s; }
.step-connector { flex: 1; height: 2px; background: #e5e7eb; min-width: 20px; max-width: 60px; transition: background 0.2s; }
.step-connector.filled { background: #FA8072; }
.progress-step.active .step-num { border-color: #FA8072; background: #FA8072; color: #ffffff; }
.progress-step.active .step-label { color: #FA8072; font-weight: 600; }
.progress-step.completed .step-num { border-color: #22c55e; background: #22c55e; color: #ffffff; }
.progress-step.completed .step-label { color: #22c55e; }
.progress-step:hover .step-label { color: #FA8072; }

.nav-sequential { text-align: center; margin: 0.75rem 0 0; }
.nav-seq-btn { display: inline-block; background: #2d2d2d; color: #ffffff !important; padding: 0.65rem 1.8rem; border-radius: 10px; text-decoration: none !important; font-size: 0.88rem; font-weight: 700; letter-spacing: 0.3px; animation: pulse-btn 2s ease-in-out infinite; }
.nav-seq-btn:hover { background: #FA8072; animation: none; transform: translateY(-1px); }
.nav-seq-btn:active { transform: scale(0.98); animation: none; }
@keyframes pulse-btn { 0%, 100% { box-shadow: 0 0 0 0 rgba(250,128,114,0.4); } 50% { box-shadow: 0 0 0 8px rgba(250,128,114,0); } }

.delete-btn { color: #9b4d43; background: none; border: none; font-size: 1.1rem; padding: 0.2rem 0.5rem; border-radius: 4px; cursor: pointer; transition: background 0.2s, color 0.2s; margin-left: 0.5rem; }
.delete-btn:hover { background: #fee2e2; color: #dc2626; }
.bulk-delete-btn { background: #dc2626; color: #fff; border: none; padding: 0.35rem 0.75rem; border-radius: 6px; font-size: 0.78rem; cursor: pointer; font-weight: 500; transition: background 0.2s; }
.bulk-delete-btn:hover { background: #b91c1c; }
.doc-checkbox { accent-color: #FA8072; cursor: pointer; margin-right: 0.4rem; }

.auth-container { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 60px); padding: 2rem; }
.auth-card { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 2.5rem; width: 100%; max-width: 420px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.auth-title { font-size: 1.5rem; color: #1a1a2e; font-weight: 700; margin-bottom: 0.25rem; text-align: center; }
.auth-subtitle { color: #6b7280; font-size: 0.85rem; text-align: center; margin-bottom: 1.5rem; }
.auth-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.3rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: #374151; }
.form-group input { padding: 0.7rem 0.9rem; border: 1.5px solid #d1d5db; border-radius: 8px; font-size: 0.88rem; font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s; background: #f9fafb; }
.form-group input:focus { outline: none; border-color: #FA8072; box-shadow: 0 0 0 3px rgba(250,128,114,0.15); }
.auth-btn { background: #FA8072; color: white; border: none; border-radius: 8px; padding: 0.75rem; font-size: 0.92rem; font-weight: 600; cursor: pointer; transition: background 0.2s, transform 0.1s; margin-top: 0.5rem; }
.auth-btn:hover { background: #e8705f; }
.auth-btn:active { transform: scale(0.97); }
.auth-link { text-align: center; margin-top: 1.25rem; font-size: 0.82rem; color: #6b7280; }
.auth-link a { color: #FA8072; font-weight: 600; text-decoration: none; }
.auth-link a:hover { text-decoration: underline; }

.flash-container { max-width: 1100px; margin: 0 auto; padding: 0.75rem 1.5rem 0; }
.flash-msg { padding: 0.65rem 1rem; border-radius: 8px; font-size: 0.82rem; font-weight: 500; margin-bottom: 0.5rem; }
.flash-error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.flash-success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.flash-info { background: #fff5f4; color: #9b4d43; border: 1px solid #fcd5d0; }

.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.admin-table th { background: #f9fafb; color: #374151; font-weight: 600; padding: 0.65rem 0.9rem; text-align: left; border-bottom: 2px solid #e5e7eb; }
.admin-table td { padding: 0.6rem 0.9rem; border-bottom: 1px solid #f3f4f6; color: #374151; }
.admin-table tr:hover td { background: #fafafa; }
.tier-badge { display: inline-block; font-size: 0.7rem; font-weight: 700; padding: 2px 10px; border-radius: 4px; letter-spacing: 0.5px; }
.tier-toggle-btn { background: #ffffff; border: 1.5px solid #FA8072; color: #c0392b; padding: 0.3rem 0.75rem; border-radius: 6px; font-size: 0.75rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.tier-toggle-btn:hover { background: #FA8072; color: #ffffff; }
.tier-toggle-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.cert-banner { background: linear-gradient(135deg, #2d2d2d 0%, #3d3d3d 50%, #4a4a4a 100%); border-radius: 14px; padding: 3rem 2rem; text-align: center; color: #ffffff; position: relative; overflow: hidden; }
.cert-banner::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: #FA8072; }
.cert-icon { font-size: 3rem; margin-bottom: 0.75rem; }
.cert-banner h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.75rem; }
.cert-desc { color: rgba(255,255,255,0.8); font-size: 0.88rem; line-height: 1.6; max-width: 600px; margin: 0 auto 1.5rem; }
.cert-benefits { display: flex; flex-direction: column; gap: 0.6rem; max-width: 500px; margin: 0 auto 1.5rem; text-align: left; }
.cert-benefit { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: rgba(255,255,255,0.9); }
.cert-check { color: #22c55e; font-weight: 700; font-size: 1rem; }
.cert-btn-disabled { background: #555; color: #999; border: none; border-radius: 8px; padding: 0.75rem 1.8rem; font-size: 0.92rem; font-weight: 600; cursor: not-allowed; }
.cert-note { color: rgba(255,255,255,0.4); font-size: 0.75rem; margin-top: 0.75rem; }

.paywall-modal { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); z-index: 1000; align-items: center; justify-content: center; padding: 1rem; }
.paywall-modal-content { background: #ffffff; border-radius: 16px; padding: 2.5rem; max-width: 520px; width: 100%; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.paywall-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.paywall-modal-content h2 { color: #1a1a2e; font-size: 1.3rem; margin-bottom: 0.5rem; }
.paywall-modal-content > p { color: #6b7280; font-size: 0.85rem; line-height: 1.6; margin-bottom: 1.5rem; }
.paywall-options { display: flex; align-items: center; gap: 1rem; justify-content: center; margin-bottom: 1.5rem; }
.paywall-option { background: #f9fafb; border: 2px solid #e5e7eb; border-radius: 12px; padding: 1.25rem 1.5rem; flex: 1; }
.paywall-option-pro { border-color: #FA8072; background: #fff5f4; }
.paywall-price { font-size: 1.5rem; font-weight: 700; color: #1a1a2e; }
.paywall-price span { font-size: 0.85rem; font-weight: 500; color: #6b7280; }
.paywall-label { font-size: 0.78rem; color: #6b7280; margin-top: 0.25rem; }
.paywall-divider { color: #9ca3af; font-weight: 600; font-size: 0.85rem; }
.paywall-contact { color: #9ca3af; font-size: 0.78rem; margin-bottom: 1rem; }
.paywall-close { background: #2d2d2d; color: #ffffff; border: none; border-radius: 8px; padding: 0.6rem 2rem; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.paywall-close:hover { background: #FA8072; }
.paywall-trigger { background: #2d2d2d !important; }
.paywall-trigger:hover { background: #FA8072 !important; }

.doc-locked { color: #9ca3af !important; }
.doc-locked-icon { margin-left: 0.3rem; font-size: 0.8rem; }

@media (max-width: 768px) {
    .nav-brand { padding: 0.5rem 0.75rem; font-size: 0.9rem; }
    .nav-links a { padding: 0.6rem 0.8rem; font-size: 0.75rem; }
    .container { padding: 1rem; }
    .stats-row { flex-direction: column; }
    .progress-bar-container { padding: 0.5rem 0.75rem; }
    .step-label { display: none; }
    .step-connector { min-width: 16px; }
    .nav-user { padding: 0 0.5rem; gap: 0.3rem; }
    .nav-user-name { display: none; }
    .auth-card { padding: 1.5rem; }
    .paywall-options { flex-direction: column; }
}

.csv-export-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #2d2d2d;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.2s;
}
.csv-export-btn:hover {
    background: #FA8072;
}

.admin-delete-btn {
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.35rem 0.6rem;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    transition: background 0.2s;
}
.admin-delete-btn:hover {
    background: #a71d2a;
}

.paywall-btn {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: opacity 0.2s;
}
.paywall-btn:hover {
    opacity: 0.85;
}
.paywall-btn-indiv {
    background: #2d2d2d;
    color: #fff;
}
.paywall-btn-pro {
    background: #FA8072;
    color: #fff;
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.password-wrapper input {
    flex: 1;
    padding-right: 2.5rem;
}
.eye-toggle {
    position: absolute;
    right: 0.6rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.2rem;
    line-height: 1;
    color: #6b7280;
    transition: color 0.2s;
}
.eye-toggle:hover {
    color: #FA8072;
}

.admin-reset-btn {
    background: #f59e0b;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.35rem 0.6rem;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 500;
    transition: background 0.2s;
    white-space: nowrap;
}
.admin-reset-btn:hover {
    background: #d97706;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.profile-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}
.profile-label {
    font-weight: 600;
    color: #374151;
    min-width: 120px;
}

.marketing-toggle {
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 0.3rem 0.6rem;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background 0.2s;
    white-space: nowrap;
}
.marketing-toggle:hover {
    background: #f3f4f6;
}

.text-primary { color: #FA8072; }
.underline { text-decoration: underline; }

.status-tracker {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.status-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.92rem;
}
.status-done {
    background: #dcfce7;
    color: #166534;
}
.status-pending {
    background: #f3f4f6;
    color: #6b7280;
}
.status-icon {
    font-size: 1.2rem;
}

.eval-toggle {
    border: none;
    border-radius: 6px;
    padding: 0.35rem 0.7rem;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: background 0.2s;
}
.eval-on {
    background: #dcfce7;
    color: #166534;
}
.eval-off {
    background: #fee2e2;
    color: #991b1b;
}
.eval-toggle:hover {
    opacity: 0.8;
}

.normative-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.normative-modal-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 550px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.cert-license-btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    background: #2d2d2d;
    color: #fff;
    transition: background 0.2s;
}
.cert-license-btn:hover {
    background: #FA8072;
}
.cert-license-annual {
    background: #FA8072;
}
.cert-license-annual:hover {
    background: #e8705f;
}
