/* ueb.css -- UltraEmailBox.com public pages (company.css is the shared look; mail.css is the mail app). */

.name-check { margin-top: 26px; max-width: 520px; }
.name-check label { display: block; font-weight: 700; margin-bottom: 8px; }
.nc-row { display: flex; align-items: center; border: 2px solid var(--border); border-radius: 14px; background: var(--surface);
          overflow: hidden; box-shadow: var(--shadow); }
.nc-row:focus-within { border-color: var(--ac); }
.nc-row input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 1.1rem;
                padding: 14px 6px 14px 16px; outline: none; }
.nc-domain { padding-right: 16px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.nc-result { min-height: 1.6em; margin-top: 8px; font-weight: 700; }
.nc-result.ok { color: #16884a; } .nc-result.bad { color: #c92a2a; }
html.theme-dark .nc-result.ok { color: #4fd08a; } html.theme-dark .nc-result.bad { color: #ff8787; }
@media (max-width: 420px) { .nc-domain { font-size: .85rem; } }

.inbox-art { border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg);
             overflow: hidden; }
.ia-bar { display: flex; gap: 6px; padding: 12px 14px; background: var(--bg-2); }
.ia-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--border); }
.ia-row { display: flex; flex-direction: column; padding: 14px 18px; border-top: 1px solid var(--border); }
.ia-row b { font-size: .95rem; } .ia-row span { color: var(--muted); font-size: .92rem; }
.ia-row.unread { border-left: 4px solid var(--ac); } .ia-row.unread span { color: var(--text); font-weight: 600; }
.ia-row.spam { opacity: .6; text-decoration: line-through; }
@media (max-width: 900px) { .inbox-art { display: none; } }

.price-card .pc-price { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; }
.price-card .pc-price span { font-size: 1rem; color: var(--muted); font-weight: 600; }
.steps-list { padding-left: 1.2em; margin: 0; } .steps-list li { margin-bottom: 8px; }

.form-hero { padding-block: clamp(36px, 7vw, 80px); }
.narrow { max-width: 560px; }
.ueb-form { display: grid; gap: 14px; margin-top: 18px; }
.ueb-form label { display: grid; gap: 6px; font-weight: 700; }
.ueb-form input:not([type=checkbox]):not([type=radio]), .biz input, .biz select, .admin-body input {
    font: inherit; font-weight: 400; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--border);
    background: var(--surface); color: var(--text); width: 100%; }
.ueb-form input:focus { outline: none; border-color: var(--ac); }
.addr-row { display: flex; align-items: center; gap: 6px; } .addr-row span { color: var(--muted); white-space: nowrap; font-weight: 700; }
.ueb-form .check, .choice .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.ueb-form .check input { margin-top: 5px; width: auto; }
.choice { display: grid; gap: 8px; }
.hint { color: var(--muted); font-size: .92rem; margin: -4px 0 0; font-weight: 500; }
.hint.ok { color: #16884a; } .hint.bad { color: #c92a2a; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { min-height: 1.4em; font-weight: 700; } .form-msg.bad { color: #c92a2a; } .form-msg.ok { color: #16884a; }
html.theme-dark .form-msg.bad, html.theme-dark .hint.bad { color: #ff8787; }
.below-form { margin-top: 16px; color: var(--muted); }

.prose { max-width: 820px; } .prose h2 { margin-top: 1.6em; font-size: 1.35rem; }

.biz { display: grid; gap: 20px; margin-top: 24px; }
.biz .row { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.biz .row > label { display: grid; gap: 6px; font-weight: 700; flex: 1 1 160px; }
.dns-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.dns-table th, .dns-table td { text-align: left; padding: 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.dns-table code { word-break: break-all; background: var(--bg-2); padding: 2px 6px; border-radius: 6px; }
.table-wrap { overflow-x: auto; }
.status { font-weight: 800; } .status.good { color: #16884a; } .status.wait { color: #b8860b; } .status.bad { color: #c92a2a; }
.sandbox-note { background: color-mix(in srgb, #f59f00 15%, transparent); border-radius: 12px; padding: 10px 14px; font-weight: 600; }

.admin-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.admin-tabs button { font: inherit; font-weight: 700; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--border);
                     background: var(--surface); color: var(--text); cursor: pointer; }
.admin-tabs button.active { background: var(--ac); color: #fff; border-color: var(--ac); }
.admin-body table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.admin-body th, .admin-body td { padding: 8px; border-bottom: 1px solid var(--border); text-align: left; }
.admin-body .stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.admin-body .stat { padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.admin-body .stat b { display: block; font-size: 1.6rem; }
.mini-btn { font: inherit; font-size: .85rem; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--border);
            background: var(--surface); color: var(--text); cursor: pointer; }
