/* Importul automat al agențiilor (views/user/import*.ejs, views/admin/import*.ejs, views/pages/import-doc.ejs) */
.ix { background: #f8fafc; padding: 24px 0 56px; }
.ix-wrap { max-width: 1060px; margin: 0 auto; padding: 0 16px; }
.ix-back { display: inline-block; margin-bottom: 12px; font-weight: 600; font-size: .9rem; color: #1d4ed8; }
.ix h1, .ix-head h1, .ix-hero h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; color: #0f172a; line-height: 1.2; margin-bottom: 6px; overflow-wrap: anywhere; }
.ix-lead { color: #475569; font-size: .98rem; line-height: 1.6; max-width: 70ch; margin-bottom: 18px; }
.ix-lead a, .ix-card a:not(.ix-btn) { color: #1d4ed8; text-decoration: underline; }
.ix-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 18px; margin-bottom: 16px; min-width: 0; }
.ix-card h2 { font-size: 1.08rem; font-weight: 800; color: #0f172a; margin-bottom: 10px; }
.ix-card p { color: #334155; font-size: .93rem; line-height: 1.55; }
.ix-msg { margin-bottom: 14px; padding: 10px 14px; border-radius: 12px; font-weight: 600; font-size: .92rem; background: #fee2e2; color: #991b1b; overflow-wrap: anywhere; }
.ix-msg.ok { background: #dcfce7; color: #166534; }
.ix-msg.info { background: #eff6ff; color: #1e40af; }
.ix-row { display: grid; gap: 6px; margin-bottom: 14px; }
.ix-row label { font-size: .86rem; font-weight: 700; color: #334155; }
.ix-row input[type="text"], .ix-row input[type="url"], .ix-row select, .ix-row textarea { width: 100%; min-width: 0; padding: 10px 12px; border-radius: 12px; border: 1px solid #cbd5e1; font: inherit; font-size: .95rem; background: #fff; color: #0f172a; }
.ix-row small { color: #64748b; font-size: .8rem; line-height: 1.4; }
.ix-or { text-align: center; color: #64748b; font-size: .85rem; font-weight: 700; margin: -4px 0 10px; }
.ix-check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: #0f172a; margin-bottom: 14px; line-height: 1.45; }
.ix-check input { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.ix-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 16px; border-radius: 12px; border: 1px solid #2563eb; background: #2563eb; color: #fff; font-weight: 700; font-size: .9rem; text-decoration: none; cursor: pointer; font-family: inherit; }
.ix-btn:hover { background: #1d4ed8; }
.ix-btn.ghost { background: #fff; color: #1d4ed8; border-color: #bfdbfe; }
.ix-btn.ghost:hover { background: #eff6ff; }
.ix-btn.green { background: #16a34a; border-color: #16a34a; }
.ix-btn.red { background: #fff; color: #b91c1c; border-color: #fecaca; }
.ix-btn.red:hover { background: #fef2f2; }
.ix-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ix-actions form { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.ix-badge { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: .78rem; font-weight: 700; background: #f1f5f9; color: #334155; vertical-align: middle; }
.ix-badge.active { background: #dcfce7; color: #166534; } .ix-badge.pending { background: #fef3c7; color: #92400e; } .ix-badge.rejected { background: #fee2e2; color: #991b1b; } .ix-badge.paused { background: #e2e8f0; color: #334155; } .ix-badge.draft { background: #eff6ff; color: #1e40af; }
.ix-list { display: grid; gap: 10px; }
.ix-feed { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px 16px; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; color: inherit; text-decoration: none; }
.ix-feed:hover { border-color: #93c5fd; }
.ix-feed b { color: #0f172a; overflow-wrap: anywhere; }
.ix-feed small { grid-column: 1 / -1; color: #64748b; overflow-wrap: anywhere; }
.ix-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 6px 0 12px; }
@media (min-width: 700px) { .ix-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.ix-stats div { border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px 12px; }
.ix-stats b { display: block; font-size: 1.3rem; font-weight: 800; color: #0f172a; }
.ix-stats span { font-size: .78rem; color: #64748b; }
.ix-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.ix-table th, .ix-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #e2e8f0; vertical-align: top; }
.ix-table th { font-size: .78rem; color: #64748b; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.ix-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ix-map { display: grid; gap: 8px; }
@media (min-width: 760px) { .ix-map { grid-template-columns: 1fr 1fr; column-gap: 18px; } }
.ix-map .ix-row { margin: 0; }
.ix-map .ix-row label .req { color: #b91c1c; }
.ix-samples { display: grid; gap: 10px; }
@media (min-width: 760px) { .ix-samples { grid-template-columns: 1fr 1fr; } }
.ix-sample { border: 1px solid #e2e8f0; border-radius: 14px; padding: 12px; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
.ix-sample img, .ix-sample .ph { width: 84px; height: 84px; border-radius: 10px; object-fit: cover; background: #e2e8f0; display: block; }
.ix-sample b { display: block; color: #0f172a; font-size: .92rem; line-height: 1.3; overflow-wrap: anywhere; }
.ix-sample span { display: block; color: #475569; font-size: .82rem; margin-top: 3px; overflow-wrap: anywhere; }
.ix-sample .err { color: #b91c1c; } .ix-sample .warn { color: #92400e; }
.ix-problems { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; font-size: .88rem; color: #92400e; }
.ix-log { margin-top: 6px; } .ix-log summary { cursor: pointer; color: #1d4ed8; font-weight: 600; font-size: .85rem; }
.ix-log ul { list-style: disc; margin: 6px 0 0 18px; font-size: .82rem; color: #475569; display: grid; gap: 2px; }
.ix-danger { border-color: #fecaca; }
/* pagina publică */
.ix-doc h2 { margin-top: 6px; }
.ix-doc pre { background: #0f172a; color: #e2e8f0; padding: 14px; border-radius: 12px; overflow-x: auto; font-size: .8rem; line-height: 1.5; white-space: pre; }
.ix-doc code { background: #f1f5f9; padding: 1px 6px; border-radius: 6px; font-size: .85em; overflow-wrap: anywhere; }
.ix-doc ol { list-style: decimal; } .ix-doc ul.ix-ul { list-style: disc; }
.ix-doc ol, .ix-doc ul.ix-ul { margin: 6px 0 0 20px; display: grid; gap: 6px; color: #334155; font-size: .93rem; line-height: 1.55; }
.ix-hero { background: linear-gradient(135deg, #172554, #1e40af 55%, #2563eb); color: #fff; padding: 34px 0 30px; }
.ix-hero h1 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 10px; }
.ix-hero p { color: #dbeafe; max-width: 70ch; line-height: 1.6; }
.ix-hero .ix-actions { margin-top: 16px; }
.ix-hero .ix-btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.ix-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ix-pills span { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); border-radius: 99px; padding: 4px 12px; font-size: .85rem; font-weight: 600; }
