/* ═══ Domain Settings ═══ */

/* Onboarding */
.ds-onboarding { text-align:center; padding:20px 0; }
.ds-onboarding-icon { font-size:48px; margin-bottom:8px; }
.ds-onboarding h2 { font-size:24px; color:#1a1a2e; margin:0 0 8px; }
.ds-onboarding > p { color:#666; max-width:500px; margin:0 auto 32px; }

.ds-path-cards { display:grid; grid-template-columns:1fr 1fr; gap:20px; max-width:700px; margin:0 auto 32px; }
@media(max-width:640px) { .ds-path-cards { grid-template-columns:1fr; } }

.ds-path-card { background:#fff; border:2px solid #e8e8e8; border-radius:14px; padding:28px 24px; text-align:left; cursor:pointer; transition:all 0.2s; position:relative; }
.ds-path-card:hover { border-color:#6c5ce7; transform:translateY(-2px); box-shadow:0 8px 24px rgba(108,92,231,0.12); }
.ds-path-card h3 { margin:0 0 8px; font-size:17px; color:#1a1a2e; }
.ds-path-card p { color:#666; font-size:13px; margin:0 0 12px; line-height:1.5; }

.ds-path-badge { position:absolute; top:12px; right:12px; background:#6c5ce7; color:#fff; font-size:11px; font-weight:700; padding:3px 10px; border-radius:12px; }
.ds-path-icon { font-size:32px; margin-bottom:12px; }

.ds-path-examples { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:16px; }
.ds-path-examples span { background:#f5f3ff; color:#6c5ce7; font-size:12px; padding:3px 10px; border-radius:12px; font-weight:500; }

.ds-skip-note { max-width:500px; margin:0 auto; padding:16px; background:#f9fafb; border-radius:10px; }
.ds-skip-note p { font-size:13px; color:#666; margin:0 0 6px; }
.ds-skip-note a { color:#6c5ce7; font-size:13px; text-decoration:none; }
.ds-skip-note a:hover { text-decoration:underline; }

/* Dashboard */
.ds-dashboard { }
.ds-dash-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; flex-wrap:wrap; gap:12px; }
.ds-dash-header h2 { margin:0; font-size:20px; color:#1a1a2e; }
.ds-dash-header p { margin:4px 0 0; font-size:13px; color:#999; }
.ds-dash-actions { display:flex; gap:8px; }

/* Domain cards */
.ds-domain-card { background:#fff; border:1px solid #e8e8e8; border-radius:10px; padding:16px 20px; margin-bottom:8px; display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; transition:all 0.15s; }
.ds-domain-card:hover { box-shadow:0 2px 12px rgba(0,0,0,0.06); }
.ds-domain-card.ds-primary { border-color:#6c5ce7; border-width:2px; }

.ds-domain-name-row { display:flex; align-items:center; gap:8px; margin-bottom:4px; }
.ds-domain-name { font-size:16px; font-weight:600; color:#1a1a2e; }

.ds-card-status { display:flex; align-items:center; gap:12px; font-size:13px; }
.ds-status { font-weight:500; }
.ds-status-ready { color:#2e7d32; }
.ds-status-partial { color:#f57f17; }
.ds-status-pending { color:#999; }
.ds-linked-to { color:#6c5ce7; }
.ds-not-linked { color:#bbb; font-style:italic; }

.ds-card-right { display:flex; gap:6px; align-items:center; flex-wrap:wrap; }
.ds-btn-icon { background:none; border:1px solid #ddd; width:32px; height:32px; display:flex; align-items:center; justify-content:center; font-size:16px; }

/* Buttons */
.ds-btn { padding:8px 16px; border:none; border-radius:8px; font-size:13px; font-weight:500; cursor:pointer; transition:all 0.15s; display:inline-flex; align-items:center; gap:6px; }
.ds-btn:hover { transform:translateY(-1px); }
.ds-btn:disabled { opacity:0.6; cursor:not-allowed; transform:none; }
.ds-btn-primary { background:#6c5ce7; color:#fff; }
.ds-btn-primary:hover { background:#5a4bd1; box-shadow:0 2px 8px rgba(108,92,231,0.3); }
.ds-btn-secondary { background:#f0f0f0; color:#333; }
.ds-btn-secondary:hover { background:#e0e0e0; }
.ds-btn-sm { padding:5px 12px; font-size:12px; }
.ds-btn-lg { padding:12px 24px; font-size:15px; width:100%; justify-content:center; }
.ds-btn-lg + .ds-btn-lg { margin-top:8px; }

/* Badges */
.ds-badge { padding:2px 8px; border-radius:4px; font-size:11px; font-weight:500; }
.ds-badge-green { background:#e8f5e9; color:#2e7d32; }
.ds-badge-amber { background:#fff8e1; color:#f57f17; }
.ds-badge-purple { background:#f3e8ff; color:#6c5ce7; }
.ds-badge-grey { background:#f5f5f5; color:#999; }

/* Modal */
.ds-modal-overlay { position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.5); display:none; align-items:center; justify-content:center; z-index:10000; backdrop-filter:blur(2px); }
.ds-modal { background:#fff; border-radius:16px; padding:32px; max-width:540px; width:90%; max-height:85vh; overflow-y:auto; }

/* Flow */
.ds-flow { }
.ds-flow-step { font-size:12px; color:#999; margin-bottom:4px; }
.ds-flow h3 { margin:0 0 8px; font-size:20px; color:#1a1a2e; }
.ds-flow p { color:#666; font-size:14px; margin:0 0 16px; }

/* Inputs */
.ds-input { width:100%; padding:10px 14px; border:1px solid #ddd; border-radius:8px; font-size:14px; box-sizing:border-box; }
.ds-input:focus { outline:none; border-color:#6c5ce7; box-shadow:0 0 0 3px rgba(108,92,231,0.1); }
.ds-input-lg { padding:14px 16px; font-size:16px; }
.ds-label { display:block; font-size:13px; color:#666; margin:12px 0 4px; }

/* Search */
.ds-search-box { display:flex; gap:8px; margin-bottom:16px; }
.ds-search-box .ds-input { flex:1; margin:0; }
.ds-search-box .ds-btn { white-space:nowrap; }

.ds-results-label { font-size:12px; color:#999; margin-bottom:8px; text-transform:uppercase; letter-spacing:0.5px; }
.ds-result { display:flex; justify-content:space-between; align-items:center; padding:10px 14px; border:1px solid #eee; border-radius:8px; margin-bottom:6px; }
.ds-result:hover { background:#fafafa; }
.ds-result-taken { opacity:0.4; }
.ds-result-left { display:flex; align-items:center; gap:8px; }
.ds-result-right { display:flex; align-items:center; gap:8px; }
.ds-taken { font-size:12px; color:#ccc; }

/* Confirm */
.ds-confirm-domain { text-align:center; padding:20px; margin-bottom:20px; }
.ds-big-domain { font-size:24px; font-weight:700; color:#6c5ce7; margin-bottom:8px; }
.ds-free-label { color:#2e7d32; font-size:14px; }
.ds-paid-label { color:#666; font-size:14px; }

.ds-what-happens { background:#f9fafb; border-radius:10px; padding:16px; margin-bottom:20px; }
.ds-what-happens h4 { margin:0 0 12px; font-size:14px; color:#333; }
.ds-step-item { display:flex; align-items:center; gap:10px; margin-bottom:8px; font-size:14px; color:#444; }
.ds-step-num { background:#6c5ce7; color:#fff; width:22px; height:22px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:600; flex-shrink:0; }

.ds-confirm-actions { display:flex; flex-direction:column; gap:8px; }

/* Success */
.ds-success-flow { text-align:center; }
.ds-success-icon { font-size:48px; margin-bottom:8px; }
.ds-next-step-box { background:#f0fdf4; border-radius:10px; padding:16px; margin:16px 0; text-align:left; }
.ds-next-step-box h4 { margin:0 0 6px; font-size:14px; }
.ds-next-step-box p { margin:0; font-size:13px; color:#333; }
.ds-upgrade-note { font-size:13px; color:#999; }

/* DNS Instructions */
.ds-dns-instructions { margin-bottom:20px; }
.ds-dns-record-box { background:#f9fafb; border:1px solid #e8e8e8; border-radius:10px; padding:14px; margin-bottom:12px; }
.ds-dns-label { font-size:13px; font-weight:600; color:#333; margin-bottom:8px; }
.ds-dns-table { width:100%; border-collapse:collapse; font-size:13px; }
.ds-dns-table td { padding:4px 8px; border-bottom:1px solid #eee; }
.ds-dns-table td:first-child { color:#999; width:90px; }
.ds-dns-tip { background:#fffbeb; border-radius:8px; padding:10px 14px; font-size:13px; color:#92400e; }
.ds-copyable { background:#e8e8e8; padding:2px 8px; border-radius:4px; cursor:pointer; font-size:12px; word-break:break-all; }
.ds-copyable:hover { background:#ddd; }

/* Subdomain */
.ds-subdomain-row { display:flex; align-items:center; gap:4px; }
.ds-subdomain-row .ds-input { flex:1; }
.ds-sub-suffix { color:#999; font-size:14px; white-space:nowrap; }
.ds-sub-preview { color:#6c5ce7; font-size:13px; margin:4px 0 12px; }

/* Publish prompt */
.ds-publish-prompt-icon { font-size:48px; text-align:center; margin-bottom:8px; }
.ds-publish-options { display:flex; flex-direction:column; gap:8px; margin-top:20px; }

/* Inline prompt (builder settings) */
.ds-inline-prompt { padding:12px; background:#f9fafb; border-radius:8px; }
.ds-inline-prompt p { margin:0 0 4px; font-size:13px; color:#666; }
.ds-inline-prompt a { color:#6c5ce7; font-size:13px; }

/* Toast */
.ds-toast { position:fixed; bottom:20px; right:20px; padding:12px 20px; border-radius:8px; font-size:14px; z-index:10001; animation:ds-slide-up 0.3s; }
.ds-toast-error { background:#fee2e2; color:#991b1b; border:1px solid #fca5a5; }
@keyframes ds-slide-up { from { transform:translateY(20px); opacity:0; } to { transform:translateY(0); opacity:1; } }

/* Loading */
.ds-loading { text-align:center; padding:40px; color:#999; font-size:14px; }
.ds-empty-results { text-align:center; padding:20px; color:#999; }
.ds-error { color:#dc2626; font-size:13px; margin-top:8px; }
