/* ============================================================
   ACBIZ GLOBAL — Domain Transfer Standalone
   Font: Syne (display) + DM Sans (body)
   Theme: Deep navy, electric cyan accents
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg:          #080e1a;
    --bg2:         #0d1629;
    --bg3:         #111e35;
    --border:      rgba(255,255,255,0.07);
    --border-hi:   rgba(6,182,212,0.35);
    --text:        #e2e8f0;
    --text-muted:  #64748b;
    --text-soft:   #94a3b8;
    --cyan:        #06b6d4;
    --cyan-dark:   #0891b2;
    --blue:        #1d4ed8;
    --blue-light:  #3b82f6;
    --green:       #22c55e;
    --red:         #ef4444;
    --amber:       #f59e0b;
    --radius:      14px;
    --radius-sm:   8px;
    --shadow:      0 8px 40px rgba(0,0,0,0.5);
    --shadow-cyan: 0 0 30px rgba(6,182,212,0.15);
    --font-display:'Syne', sans-serif;
    --font-body:   'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── Layout ─────────────────────────────────────── */
.tf-wrap {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

/* ── Header ─────────────────────────────────────── */
.tf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 48px;
}

.tf-logo {
    height: 38px;
    width: auto;
}

.tf-back-link {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color .2s;
}

.tf-back-link:hover { color: var(--cyan); }

/* ── Hero ───────────────────────────────────────── */
.tf-hero {
    text-align: center;
    margin-bottom: 44px;
    position: relative;
}

.tf-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(6,182,212,0.08);
    border: 1px solid rgba(6,182,212,0.2);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--cyan);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.tf-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 30%, var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 14px;
}

.tf-hero p {
    font-size: 1rem;
    color: var(--text-soft);
    max-width: 480px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

/* ── Steps pill bar ─────────────────────────────── */
.tf-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 36px;
}

.tf-step {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.3;
    transition: opacity .3s;
    white-space: nowrap;
}

.tf-step.active  { opacity: 1; }
.tf-step.done    { opacity: 0.65; }

.tf-step-num {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1.5px solid rgba(255,255,255,0.12);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: all .3s;
}

.tf-step.active .tf-step-num {
    background: var(--cyan);
    border-color: var(--cyan);
    color: #000;
    box-shadow: 0 0 16px rgba(6,182,212,0.4);
}

.tf-step.done .tf-step-num {
    background: rgba(34,197,94,0.12);
    border-color: var(--green);
    color: var(--green);
}

.tf-step-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-soft);
}

.tf-step.active .tf-step-label { color: var(--text); }

.tf-step-line {
    width: 40px;
    height: 1px;
    background: var(--border);
    margin: 0 4px;
    flex-shrink: 0;
}

/* ── Card ───────────────────────────────────────── */
.tf-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: border-color .3s;
}

.tf-card:focus-within { border-color: var(--border-hi); }

.tf-card-header {
    padding: 22px 28px 18px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.tf-card-icon {
    width: 36px; height: 36px;
    border-radius: 9px;
    background: rgba(6,182,212,0.1);
    border: 1px solid rgba(6,182,212,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.tf-card-header h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.tf-card-header p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 2px 0 0;
}

.tf-card-body { padding: 28px; }

/* ── Form Elements ──────────────────────────────── */
.tf-field { margin-bottom: 20px; }

.tf-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-soft);
    margin-bottom: 8px;
    letter-spacing: 0.03em;
}

.tf-label span { color: var(--red); margin-left: 3px; }

.tf-input {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.92rem;
    font-family: var(--font-body);
    color: var(--text);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.tf-input::placeholder { color: #2d3f5a; }

.tf-input:focus {
    border-color: rgba(6,182,212,0.4);
    box-shadow: 0 0 0 3px rgba(6,182,212,0.08);
}

.tf-input.error { border-color: rgba(239,68,68,0.5); }
.tf-input.mono  { font-family: 'Courier New', monospace; letter-spacing: 0.06em; }

.tf-input-wrap {
    position: relative;
}

.tf-input-wrap .tf-input { padding-right: 48px; }

.tf-input-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1rem;
    padding: 0;
    line-height: 1;
    transition: color .2s;
}

.tf-input-toggle:hover { color: var(--text-soft); }

textarea.tf-input {
    resize: vertical;
    min-height: 88px;
}

.tf-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 6px;
    line-height: 1.5;
}

.tf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 520px) { .tf-row { grid-template-columns: 1fr; } }

/* ── Price Badge ────────────────────────────────── */
.tf-price-banner {
    background: linear-gradient(135deg, rgba(6,182,212,0.08), rgba(29,78,216,0.08));
    border: 1px solid rgba(6,182,212,0.18);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.tf-price-banner-left .domain-label {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}

.tf-price-banner-left .tld-tag {
    display: inline-block;
    background: rgba(6,182,212,0.12);
    color: var(--cyan);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 6px;
    text-transform: uppercase;
}

.tf-price-banner-left .price-note {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.tf-price-value {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.tf-price-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: right;
    margin-top: 2px;
}

/* ── Checklist ──────────────────────────────────── */
.tf-checklist {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    margin-bottom: 24px;
}

.tf-checklist-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 12px;
}

.tf-check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    font-size: 0.83rem;
    color: var(--text-soft);
    line-height: 1.5;
    transition: color .2s;
}

.tf-check-item:last-child { border: none; padding-bottom: 0; }
.tf-check-item:hover { color: var(--text); }
.tf-check-item input[type="checkbox"] {
    margin-top: 2px;
    accent-color: var(--cyan);
    flex-shrink: 0;
    width: 14px; height: 14px;
}

.tf-check-item strong { color: var(--text); font-weight: 600; }

/* ── Summary Box ────────────────────────────────── */
.tf-summary {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 20px;
}

.tf-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 18px;
    border-bottom: 1px solid var(--border);
    gap: 12px;
}

.tf-summary-row:last-child { border: none; }

.tf-summary-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.tf-summary-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    text-align: right;
    word-break: break-all;
}

.tf-summary-value.price {
    font-family: var(--font-display);
    font-size: 1.15rem;
    background: linear-gradient(135deg, #fff, var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tf-summary-value.cyan { color: var(--cyan); }
.tf-summary-value.mono { font-family: monospace; letter-spacing: .05em; }

/* ── Buttons ─────────────────────────────────────── */
.tf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all .25s;
    white-space: nowrap;
}

.tf-btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--cyan-dark));
    color: #fff;
    box-shadow: 0 4px 20px rgba(6,182,212,0.25);
}

.tf-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(6,182,212,0.4);
    color: #fff;
    text-decoration: none;
}

.tf-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.tf-btn-ghost {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-soft);
}

.tf-btn-ghost:hover {
    border-color: rgba(255,255,255,0.2);
    color: var(--text);
    text-decoration: none;
}

.tf-btn-full { width: 100%; }

.tf-btn-row {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* ── Price Table ────────────────────────────────── */
.tf-price-table-wrap {
    margin-top: 48px;
}

.tf-section-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.tf-section-sub {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.tf-price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.tf-price-tile {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    transition: border-color .2s, transform .2s;
    cursor: default;
}

.tf-price-tile:hover {
    border-color: rgba(6,182,212,0.25);
    transform: translateY(-2px);
}

.tf-price-tile .ptld {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--cyan);
    margin-bottom: 4px;
}

.tf-price-tile .pprice {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
}

.tf-price-tile .psub {
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ── Alerts ─────────────────────────────────────── */
.tf-alert {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.tf-alert-error {
    background: rgba(239,68,68,0.08);
    border: 1px solid rgba(239,68,68,0.25);
    color: #fca5a5;
}

.tf-alert-success {
    background: rgba(34,197,94,0.08);
    border: 1px solid rgba(34,197,94,0.25);
    color: #86efac;
}

.tf-alert-info {
    background: rgba(6,182,212,0.06);
    border: 1px solid rgba(6,182,212,0.2);
    color: var(--text-soft);
}

/* ── Error list ─────────────────────────────────── */
.tf-errors {
    background: rgba(239,68,68,0.06);
    border: 1px solid rgba(239,68,68,0.2);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 20px;
}

.tf-errors ul {
    margin: 0;
    padding-left: 18px;
    font-size: 0.83rem;
    color: #fca5a5;
    line-height: 1.8;
}

/* ── Spinner ────────────────────────────────────── */
.tf-spinner {
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,0.25);
    border-top-color: #fff;
    border-radius: 50%;
    animation: tf-spin .6s linear infinite;
    display: inline-block;
    flex-shrink: 0;
}

@keyframes tf-spin { to { transform: rotate(360deg); } }

/* ── Success Page ───────────────────────────────── */
.tf-success-wrap {
    text-align: center;
    padding: 60px 0;
}

.tf-success-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(34,197,94,0.1);
    border: 2px solid rgba(34,197,94,0.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    margin: 0 auto 24px;
    animation: tf-pop .5s cubic-bezier(.34,1.56,.64,1) both;
}

@keyframes tf-pop {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.tf-success-wrap h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.tf-success-wrap p {
    color: var(--text-soft);
    font-size: 0.92rem;
    max-width: 420px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.tf-ref-badge {
    display: inline-block;
    background: rgba(6,182,212,0.08);
    border: 1px solid rgba(6,182,212,0.2);
    border-radius: 8px;
    padding: 10px 22px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 0.06em;
    margin-bottom: 28px;
}

/* ── Footer ─────────────────────────────────────── */
.tf-footer {
    text-align: center;
    padding: 32px 0 20px;
    border-top: 1px solid var(--border);
    margin-top: 60px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.tf-footer a { color: var(--cyan); text-decoration: none; }
.tf-footer a:hover { text-decoration: underline; }

/* ── Animations ─────────────────────────────────── */
.tf-fade-in {
    animation: tf-fadein .35s ease both;
}

@keyframes tf-fadein {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Admin panel ────────────────────────────────── */
.adm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
}

.adm-table th {
    padding: 11px 16px;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.adm-table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-soft);
    vertical-align: middle;
}

.adm-table tr:last-child td { border: none; }
.adm-table tr:hover td { background: rgba(255,255,255,0.02); }
.adm-table td strong { color: var(--text); font-weight: 600; }

.adm-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 28px;
}

.adm-stat {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    text-align: center;
}

.adm-stat .val {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    margin-bottom: 4px;
}

.adm-stat .lbl {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.adm-actions { display: flex; gap: 6px; flex-wrap: wrap; }

.adm-btn {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
    display: inline-block;
}

.adm-btn-view       { background: rgba(59,130,246,0.12); color: #60a5fa; }
.adm-btn-view:hover { background: rgba(59,130,246,0.22); color: #93c5fd; text-decoration: none; }

.adm-btn-ok         { background: rgba(34,197,94,0.1); color: #4ade80; }
.adm-btn-ok:hover   { background: rgba(34,197,94,0.2); text-decoration: none; color: #4ade80; }

.adm-btn-reject       { background: rgba(239,68,68,0.1); color: #f87171; }
.adm-btn-reject:hover { background: rgba(239,68,68,0.2); text-decoration: none; color: #f87171; }

.adm-detail-grid {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 0;
}

.adm-detail-row {
    display: contents;
}

.adm-detail-row > span:first-child {
    padding: 11px 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.adm-detail-row > span:last-child {
    padding: 11px 16px;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    word-break: break-all;
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 600px) {
    .tf-card-body { padding: 20px 16px; }
    .tf-header { padding: 16px 0 14px; }
    .tf-price-grid { grid-template-columns: repeat(2, 1fr); }
    .adm-table { font-size: 0.78rem; }
    .adm-table th, .adm-table td { padding: 10px 10px; }
}
