/* DPS Web Design — Portali i klientëve */
:root {
  --radius: 0.75rem;
  --background: oklch(0.985 0.005 250);
  --foreground: oklch(0.22 0.05 265);
  --card: oklch(1 0 0);
  --primary: oklch(0.47 0.15 262);
  --primary-foreground: oklch(0.99 0 0);
  --secondary: oklch(0.95 0.02 255);
  --muted: oklch(0.96 0.01 255);
  --muted-foreground: oklch(0.52 0.04 260);
  --accent: oklch(0.94 0.03 250);
  --accent-foreground: oklch(0.35 0.13 262);
  --destructive: oklch(0.58 0.22 27);
  --success: oklch(0.62 0.15 155);
  --warning: oklch(0.75 0.15 75);
  --warning-foreground: oklch(0.25 0.06 60);
  --navy: oklch(0.27 0.09 266);
  --border: oklch(0.91 0.015 255);
  --input: oklch(0.89 0.02 255);
  --ring: oklch(0.55 0.15 262);
  --gradient-brand: linear-gradient(120deg, oklch(0.32 0.11 266) 0%, oklch(0.47 0.15 262) 55%, oklch(0.62 0.13 245) 100%);
  --shadow-soft: 0 1px 2px oklch(0.3 0.08 265 / 0.06), 0 8px 24px -8px oklch(0.3 0.08 265 / 0.14);
  --shadow-lift: 0 18px 40px -16px oklch(0.4 0.15 262 / 0.35);
  --font-display: "Barlow Condensed", ui-sans-serif, sans-serif;
  --font-sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; border-color: var(--border); }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-sans); background: var(--background); color: var(--foreground); line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: 0.01em; line-height: 1.05; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
.inline { display: inline; }

/* Icons */
.icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.icon-xl { width: 2.5rem; height: 2.5rem; margin: 0 auto; }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--destructive); }

/* Text helpers */
.muted { color: var(--muted-foreground); }
.small { font-size: 0.875rem; }
.xs { font-size: 0.75rem; }
.strong { font-weight: 600; }
.medium { font-weight: 500; }
.navy { color: var(--navy); }
.text-right { text-align: right; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link { color: var(--primary); }
.link:hover { text-decoration: underline; }
.display-sm { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.display-md { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.display-lg { font-family: var(--font-display); font-size: 1.875rem; font-weight: 600; }
.display-xl { font-family: var(--font-display); font-size: 1.875rem; font-weight: 600; }
.kind { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--primary); }
.mt-1 { margin-top: 0.25rem; } .mt-3 { margin-top: 0.75rem; } .mt-4 { margin-top: 1rem; } .mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; }
.grow { flex: 1; } .min0 { min-width: 0; } .relative { position: relative; } .push-right { margin-left: auto; }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.stack-sm { display: flex; flex-direction: column; gap: 0.5rem; }
.row-center { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; }
.row-between { display: flex; justify-content: space-between; }
.grid-2 { display: grid; gap: 1rem; }
.align-start { align-items: start; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* Layout */
.shell { display: flex; min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; width: 16rem; flex-shrink: 0; border-right: 1px solid var(--border); background: var(--card); display: none; }
.sidebar-inner { display: flex; flex-direction: column; gap: 0.25rem; height: 100%; padding: 1rem; overflow-y: auto; }
.sidebar-logo { display: block; margin-bottom: 1.5rem; padding: 0 0.5rem; }
.sidebar-logo img { height: 3rem; width: auto; }
.nav-link { display: flex; align-items: center; gap: 0.75rem; padding: 0.625rem 0.75rem; border-radius: calc(var(--radius) - 2px); font-size: 15px; font-weight: 500; color: oklch(0.22 0.05 265 / 0.8); transition: background .15s, color .15s; }
.nav-link .icon { color: var(--primary); }
.nav-link:hover, .nav-link.active { background: var(--accent); color: var(--accent-foreground); }
.pill { margin-left: auto; border-radius: 999px; background: var(--primary); color: var(--primary-foreground); padding: 0 0.5rem; font-size: 0.75rem; font-weight: 700; }
.divider { height: 1px; background: var(--border); margin: 0.75rem 0; }
.help-box { margin-top: auto; border-radius: calc(var(--radius) + 4px); background: var(--gradient-brand); color: var(--primary-foreground); padding: 1rem; }
.help-title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; }
.help-text { font-size: 0.875rem; opacity: .85; margin-top: 0.25rem; }
.help-box a { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; font-size: 0.875rem; font-weight: 600; }
.help-box .icon { width: 1rem; height: 1rem; }
.backdrop { display: none; }
.menu-open .sidebar { display: block; position: fixed; inset: 0 auto 0 0; z-index: 60; width: 18rem; }
.menu-open .backdrop { display: block; position: fixed; inset: 0; z-index: 55; background: oklch(0.27 0.09 266 / 0.4); }

.content { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 0.75rem; height: 4rem; padding: 0 1rem; border-bottom: 1px solid var(--border); background: oklch(0.985 0.005 250 / 0.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.topbar-logo { height: 2rem; width: auto; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; }
.main { flex: 1; padding: 2rem 1rem; }
.footer { border-top: 1px solid var(--border); padding: 1.5rem 1rem; font-size: 0.875rem; color: var(--muted-foreground); }
.hide-sm { display: none; }
@media (min-width: 640px) { .hide-sm { display: inline; } }
@media (min-width: 768px) {
  .topbar { padding: 0 2rem; }
  .main { padding: 3rem 2.5rem; }
  .footer { padding: 1.5rem 2.5rem; }
}
@media (min-width: 1024px) {
  .sidebar { display: block; }
  .topbar .menu-btn, .topbar .topbar-logo { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; white-space: nowrap; border-radius: calc(var(--radius) - 2px); font-size: 0.875rem; font-weight: 600; height: 2.5rem; padding: 0 1rem; border: 1px solid transparent; transition: background .15s, transform .15s, box-shadow .15s, opacity .15s; }
.btn .icon { width: 1rem; height: 1rem; }
.btn:disabled { opacity: .6; pointer-events: none; }
.btn-sm { height: 2.25rem; padding: 0 0.75rem; }
.btn-lg { height: 2.75rem; padding: 0 1.5rem; font-size: 1rem; }
.btn-xl { height: 3.5rem; padding: 0 2rem; font-size: 1rem; border-radius: var(--radius); }
.btn-icon { width: 2.5rem; padding: 0; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: oklch(0.47 0.15 262 / 0.9); }
.btn-brand { background: var(--gradient-brand); color: var(--primary-foreground); box-shadow: var(--shadow-lift); }
.btn-brand:hover { transform: translateY(-1px); opacity: .95; }
.btn-hero { background: var(--card); color: var(--navy); box-shadow: var(--shadow-soft); }
.btn-hero:hover { background: var(--accent); }
.btn-outline { border-color: var(--input); background: var(--card); }
.btn-outline:hover { background: var(--accent); color: var(--accent-foreground); }
.btn-ghost:hover { background: var(--accent); color: var(--accent-foreground); }
.menu-btn { display: inline-flex; padding: 0.25rem; }

/* Cards */
.card { border: 1px solid var(--border); border-radius: calc(var(--radius) + 8px); background: var(--card); padding: 1.5rem; box-shadow: var(--shadow-soft); }
.card-flush { padding: 0; overflow: hidden; }
.card-head { border-bottom: 1px solid var(--border); padding: 1rem 1.5rem; font-weight: 600; }
.card-link { display: block; transition: transform .2s, box-shadow .2s; }
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card-link h2 { margin-top: 1.25rem; font-size: 1.875rem; font-weight: 600; color: var(--navy); }
.card-link .muted { margin-top: 0.5rem; }
.card-cta { display: inline-flex; align-items: center; gap: 0.25rem; margin-top: 1.25rem; font-weight: 600; color: var(--primary); }
.card-cta .icon { width: 1rem; height: 1rem; transition: transform .2s; }
.card-link:hover .card-cta .icon { transform: translateX(4px); }
.icon-box { display: flex; width: 3rem; height: 3rem; align-items: center; justify-content: center; border-radius: calc(var(--radius) + 4px); background: var(--accent); color: var(--primary); flex-shrink: 0; }
.icon-box .icon { width: 1.5rem; height: 1.5rem; }
.icon-box-sm { width: 2.75rem; height: 2.75rem; }
.icon-box-sm .icon { width: 1.25rem; height: 1.25rem; }
.divide > * + * { border-top: 1px solid var(--border); }
.empty { border: 1px dashed var(--border); border-radius: calc(var(--radius) + 8px); background: var(--card); padding: 3rem; text-align: center; }
.empty-inline { padding: 2rem; text-align: center; }

/* Page title */
.page-title { margin-bottom: 2rem; }
.page-title h1 { font-size: 2.25rem; font-weight: 700; color: var(--navy); }
.page-title p { margin-top: 0.5rem; max-width: 42rem; color: var(--muted-foreground); }
@media (min-width: 768px) { .page-title h1 { font-size: 3rem; } }

/* Hero */
.hero { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 12px); background: var(--gradient-brand); color: var(--primary-foreground); padding: 2rem; box-shadow: var(--shadow-lift); }
.grid-bg { position: absolute; inset: 0; opacity: .6; pointer-events: none; background-image: linear-gradient(oklch(1 0 0 / 0.07) 1px, transparent 1px), linear-gradient(90deg, oklch(1 0 0 / 0.07) 1px, transparent 1px); background-size: 32px 32px; }
.hero-inner { position: relative; max-width: 48rem; }
.eyebrow { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; opacity: .8; }
.hero h1 { margin-top: 0.75rem; font-size: 3rem; font-weight: 700; line-height: .95; }
.hero-text { margin-top: 1rem; max-width: 36rem; font-size: 1.125rem; opacity: .9; }
.search-row { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.search-input { display: flex; flex: 1; align-items: center; overflow: hidden; border-radius: var(--radius); background: var(--card); color: var(--foreground); }
.search-input input { height: 3.5rem; flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 1rem; outline: none; }
.prefix-plain { padding-left: 1rem; color: var(--muted-foreground); }
.prefix-plain + input { padding-left: 0.5rem; }
.prefix { align-self: stretch; display: flex; align-items: center; border-right: 1px solid var(--border); background: var(--muted); padding: 0 1rem; color: var(--muted-foreground); }
.tld-select { height: 3.5rem; border-radius: var(--radius); border: 0; background: var(--card); color: var(--foreground); padding: 0 1rem; outline: none; }
@media (min-width: 640px) { .hero .search-row { flex-direction: row; } }
@media (min-width: 768px) {
  .hero { padding: 3.5rem; }
  .hero h1 { font-size: 4.5rem; }
  .domain-band .search-row { flex-direction: row; }
}

.cards-3 { margin-top: 2.5rem; display: grid; gap: 1.25rem; }
.features-3 { margin-top: 2.5rem; display: grid; gap: 1rem; }
.feature { display: flex; gap: 0.75rem; border-radius: calc(var(--radius) + 4px); background: var(--muted); padding: 1.25rem; }
.feature .icon { width: 1.5rem; height: 1.5rem; }
@media (min-width: 640px) { .features-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }

/* Domain page */
.mode-list { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.radio, .check { display: flex; align-items: center; gap: 0.75rem; cursor: pointer; font-size: 15px; }
.check { gap: 0.5rem; font-size: 0.875rem; }
.radio input, .check input { width: 1rem; height: 1rem; accent-color: var(--primary); }
.domain-band { position: relative; background: var(--gradient-brand); color: var(--primary-foreground); padding: 1.5rem; }
.domain-band .grid-bg { opacity: .5; }
.domain-band .search-row { margin-top: 1.25rem; }
@media (min-width: 768px) { .mode-list { padding: 2rem 3rem; } .domain-band { padding: 2.5rem 3rem; } }
.result-big { display: flex; flex-direction: column; gap: 1rem; border: 2px solid oklch(0.47 0.15 262 / 0.3); border-radius: calc(var(--radius) + 8px); background: var(--card); padding: 1.5rem; box-shadow: var(--shadow-soft); }
.result-row { display: flex; flex-direction: column; gap: 0.75rem; padding: 1rem 1.5rem; }
.result-name { display: flex; flex: 1; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.result-buy { display: flex; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .result-row { flex-direction: row; align-items: center; } }
@media (min-width: 768px) { .result-big { flex-direction: row; align-items: center; } }

/* Badges */
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 0.125rem 0.625rem; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.badge-success { background: oklch(0.62 0.15 155 / 0.15); color: oklch(0.45 0.13 155); }
.badge-warning { background: oklch(0.75 0.15 75 / 0.2); color: var(--warning-foreground); }
.badge-danger { background: oklch(0.58 0.22 27 / 0.12); color: var(--destructive); }
.badge-info { background: var(--accent); color: var(--accent-foreground); }
.badge-muted { background: var(--muted); color: var(--muted-foreground); }

/* Packages */
.packages { display: grid; gap: 1.5rem; padding-top: 0.75rem; }
@media (min-width: 768px) { .packages { grid-template-columns: repeat(2, 1fr); } .packages-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .packages { grid-template-columns: repeat(3, 1fr); } }
.package { position: relative; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: calc(var(--radius) + 8px); background: var(--card); padding: 1.5rem; box-shadow: var(--shadow-soft); transition: transform .2s, box-shadow .2s; }
.package:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.package.featured { border-color: var(--primary); box-shadow: 0 0 0 3px oklch(0.47 0.15 262 / 0.2), var(--shadow-soft); }
.package-badge { position: absolute; top: -0.75rem; right: 1.25rem; border-radius: 999px; background: var(--gradient-brand); color: var(--primary-foreground); padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 700; }
.package-tag { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); }
.package h3 { margin-top: 0.25rem; font-size: 1.875rem; font-weight: 600; color: var(--navy); }
.package-price { margin-top: 1rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--primary); }
.features { list-style: none; padding: 0; margin-top: 1.5rem; flex: 1; display: flex; flex-direction: column; gap: 0.625rem; }
.features li { display: flex; gap: 0.5rem; font-size: 15px; }
.features .icon { width: 1rem; height: 1rem; margin-top: 0.2rem; }
.package .btn { margin-top: 1.5rem; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 0.375rem; }
.field > span { font-size: 0.875rem; font-weight: 500; }
.field input, .field textarea, .summary textarea, .box-input input { width: 100%; border: 1px solid var(--input); border-radius: calc(var(--radius) - 2px); background: var(--card); padding: 0.5rem 0.75rem; height: 2.5rem; outline: none; transition: box-shadow .15s, border-color .15s; }
.field textarea, .summary textarea { height: auto; min-height: 5rem; resize: vertical; }
.field input:focus, .field textarea:focus, .summary textarea:focus, .box-input:focus-within { border-color: var(--ring); box-shadow: 0 0 0 3px oklch(0.55 0.15 262 / 0.2); }
.box-input { display: flex; align-items: center; overflow: hidden; border: 1px solid var(--input); border-radius: calc(var(--radius) - 2px); }
.box-input input { border: 0; border-radius: 0; box-shadow: none !important; min-width: 0; flex: 1; }
.box-input span { background: var(--muted); padding: 0.625rem 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { border: 1px solid var(--border); border-radius: 999px; padding: 0.25rem 0.75rem; font-size: 0.75rem; }
.chip:hover { background: var(--accent); }

/* Dialog */
.dialog { border: 0; padding: 0; border-radius: calc(var(--radius) + 4px); width: min(32rem, calc(100% - 2rem)); max-height: 90vh; background: var(--card); color: var(--foreground); box-shadow: var(--shadow-lift); margin: auto; }
.dialog::backdrop { background: oklch(0.2 0.05 265 / 0.5); }
.dialog[open] { animation: rise .25s ease-out; }
.dialog-body { position: relative; display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; }
.dialog-title { font-size: 1.5rem; font-weight: 600; padding-right: 2rem; }
.dialog-close { position: absolute; top: 1rem; right: 1rem; opacity: .7; }
.dialog-close:hover { opacity: 1; }
.dialog-footer { display: flex; justify-content: flex-end; }

/* Cart */
.cart-grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 1024px) { .cart-grid { grid-template-columns: 1fr 360px; } .summary { position: sticky; top: 6rem; } }
.cart-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem; }
.summary { display: flex; flex-direction: column; gap: 1rem; }
.total { border-top: 1px solid var(--border); padding-top: 1rem; font-size: 1.125rem; font-weight: 700; }

/* Account */
.stats { display: grid; gap: 1rem; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 1.25rem; }
.stat-value { margin-top: 0.75rem; font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; color: var(--navy); line-height: 1.1; }
.tabs { display: inline-flex; gap: 0.25rem; border-radius: calc(var(--radius) - 2px); background: var(--muted); padding: 0.25rem; }
.tabs-2 { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.tab { padding: 0.375rem 0.875rem; border-radius: calc(var(--radius) - 4px); font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground); text-align: center; }
.tab.active { background: var(--card); color: var(--foreground); box-shadow: 0 1px 3px oklch(0.3 0.08 265 / 0.1); }
.filter-row { margin-bottom: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.filter { border-radius: 999px; padding: 0.375rem 1rem; font-size: 0.875rem; font-weight: 500; background: var(--muted); color: var(--muted-foreground); transition: background .15s; }
.filter:hover { background: var(--accent); }
.filter.active { background: var(--primary); color: var(--primary-foreground); }
.service { padding: 1.25rem; }
.service-head { display: flex; align-items: flex-start; gap: 0.75rem; }
.tags { margin-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.375rem; }
.tag { border-radius: calc(var(--radius) - 4px); background: var(--muted); padding: 0.125rem 0.5rem; font-size: 0.75rem; }
.service-meta { margin-top: 1rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; font-size: 0.875rem; }
.progress { height: 6px; overflow: hidden; border-radius: 999px; background: var(--muted); }
.progress-bar { height: 100%; border-radius: 999px; }
.bar-success { background: var(--success); } .bar-warning { background: var(--warning); } .bar-danger { background: var(--destructive); }
.order-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
.order-row:last-child { border-bottom: 0; }

/* Auth */
.auth { display: grid; min-height: 100vh; }
.auth-side { position: relative; overflow: hidden; background: var(--gradient-brand); color: var(--primary-foreground); padding: 3rem; display: none; flex-direction: column; justify-content: flex-end; }
.auth-side h1 { font-size: 3.75rem; font-weight: 700; line-height: 1; }
.auth-side p { margin-top: 1rem; max-width: 28rem; font-size: 1.125rem; opacity: .9; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.auth-box { width: 100%; max-width: 28rem; }
.auth-logo { height: 3.5rem; width: auto; margin-bottom: 2rem; }
.center-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.center-page .auth-logo { margin-bottom: 0.5rem; }
@media (min-width: 1024px) { .auth { grid-template-columns: 1fr 1fr; } .auth-side { display: flex; } }

/* Toasts */
.toasts { position: fixed; top: 1rem; right: 1rem; z-index: 100; display: flex; flex-direction: column; gap: 0.5rem; max-width: calc(100% - 2rem); }
.toast { min-width: 16rem; max-width: 24rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); padding: 0.875rem 1rem; font-size: 0.875rem; font-weight: 500; box-shadow: var(--shadow-lift); border-left: 4px solid var(--primary); animation: rise .3s ease-out both; transition: opacity .3s, transform .3s; }
.toast-success { border-left-color: var(--success); }
.toast-error { border-left-color: var(--destructive); }
.toast-info { border-left-color: var(--primary); }
.toast.hide { opacity: 0; transform: translateY(-6px); }

/* Animation */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .45s ease-out both; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Pagesat / Notes */
.tab .pill { margin-left: 0.375rem; }


/* Topbar — mobile polish */
.topbar-brand { display: inline-flex; align-items: center; min-width: 0; }
.topbar-logo { height: 2.25rem; max-width: 100%; object-fit: contain; }
.menu-btn { align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; padding: 0; border-radius: calc(var(--radius) - 2px); flex-shrink: 0; color: var(--navy); }
.menu-btn:hover, .menu-btn:active { background: var(--accent); }
.menu-btn .icon { width: 1.5rem; height: 1.5rem; }
.btn-cart, .btn-account { position: relative; }
.cart-count { display: inline-flex; align-items: center; justify-content: center; min-width: 1.25rem; height: 1.25rem; padding: 0 0.35rem; border-radius: 999px; background: var(--primary); color: var(--primary-foreground); font-size: 0.7rem; font-weight: 700; line-height: 1; }
.topbar-actions .btn { flex-shrink: 0; }
.topbar-actions form { display: flex; }
@media (max-width: 639px) {
  .topbar { height: 3.5rem; padding: 0 0.75rem; gap: 0.5rem; }
  .topbar-actions { gap: 0.25rem; }
  .topbar-actions .btn-cart, .topbar-actions .btn-account, .topbar-actions .btn-icon { width: 2.5rem; height: 2.5rem; padding: 0; gap: 0.25rem; }
  .topbar-actions .btn .icon { width: 1.25rem; height: 1.25rem; }
  .btn-cart .cart-count { position: absolute; top: 0.1rem; right: 0.05rem; min-width: 1.05rem; height: 1.05rem; font-size: 0.62rem; padding: 0 0.25rem; }
  .topbar-actions .btn-primary { height: 2.25rem; padding: 0 0.9rem; }
  .main { padding: 1.5rem 1rem; }
}
@media (max-width: 360px) { .topbar-logo { height: 2rem; } }


/* ==========================================================
   Llogaria ime — paraqitje e re (kompakte, e pastër, mobile-first)
   ========================================================== */

/* Statistikat: 2×2 në celular, 4 në rresht në ekran më të gjerë */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.stats-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .stats:not(.stats-2) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; } }
.stat { display: flex; align-items: center; gap: 0.75rem; padding: 0.875rem 1rem; border-radius: 1rem; box-shadow: none; min-width: 0; }
.stat-ic { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; flex-shrink: 0; border-radius: 0.75rem; background: var(--accent); color: var(--primary); }
.stat-ic .icon { width: 1.25rem; height: 1.25rem; }
.stat-ic.tone-success { background: oklch(0.62 0.15 155 / 0.14); color: oklch(0.48 0.14 155); }
.stat-ic.tone-warning { background: oklch(0.75 0.15 75 / 0.2); color: oklch(0.52 0.12 65); }
.stat-ic.tone-danger { background: oklch(0.58 0.22 27 / 0.12); color: var(--destructive); }
.stat-value { margin: 0; font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; line-height: 1; color: var(--navy); }
.stat-value.is-money { font-size: 1.375rem; white-space: nowrap; }
.stat-label { margin: 0.25rem 0 0; font-size: 0.78rem; line-height: 1.25; color: var(--muted-foreground); }

/* Skedat: një rresht që rrëshqet, kurrë nuk e zgjerojnë faqen */
.tabs { display: flex; max-width: 100%; gap: 0.25rem; padding: 0.25rem; overflow-x: auto; border-radius: 0.875rem; background: var(--muted); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabs::-webkit-scrollbar { display: none; }
.tabs.tabs-2 { display: grid; grid-template-columns: 1fr 1fr; width: 100%; overflow: visible; }
.tab { display: inline-flex; flex: 1 0 auto; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.55rem 1rem; border-radius: 0.65rem; font-size: 0.9rem; font-weight: 600; white-space: nowrap; color: var(--muted-foreground); transition: background .15s, color .15s; }
.tab:hover { color: var(--foreground); }
.tab.active { background: var(--card); color: var(--navy); box-shadow: 0 1px 3px oklch(0.3 0.08 265 / 0.12); }
.tab .pill { margin: 0; min-width: 1.25rem; padding: 0 0.4rem; line-height: 1.25rem; text-align: center; }

/* Titulli i seksionit + filtrat */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.875rem; }
.toolbar h2 { font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; color: var(--navy); }
.filter-row { display: flex; flex-wrap: nowrap; gap: 0.5rem; margin: 0 -1rem 1.25rem; padding: 0 1rem 0.25rem; overflow-x: auto; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .filter-row { flex-wrap: wrap; margin: 0 0 1.25rem; padding: 0; overflow: visible; } }
.filter { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 0.4rem; padding: 0.4rem 0.9rem; border: 1px solid var(--border); border-radius: 999px; background: var(--card); font-size: 0.85rem; font-weight: 600; color: var(--muted-foreground); }
.filter:hover { background: var(--accent); color: var(--accent-foreground); }
.filter.active { border-color: var(--primary); background: var(--primary); color: var(--primary-foreground); }
.filter .count { min-width: 1.1rem; padding: 0 0.3rem; border-radius: 999px; background: oklch(0.5 0.05 260 / 0.12); font-size: 0.7rem; line-height: 1.1rem; text-align: center; }
.filter.active .count { background: oklch(1 0 0 / 0.22); }

/* Kartat e shërbimeve */
.services-grid { align-items: start; }
.service { display: flex; flex-direction: column; gap: 1rem; padding: 1.125rem; border-radius: 1.25rem; box-shadow: var(--shadow-soft); }
.service-head { display: flex; align-items: center; gap: 0.75rem; }
.service-head .badge { align-self: flex-start; }
.service-name { font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 700; line-height: 1.25; letter-spacing: 0; color: var(--navy); overflow-wrap: anywhere; }
.kind { text-transform: none; letter-spacing: 0; font-size: 0.78rem; font-weight: 600; color: var(--primary); }
.service .tags { margin-top: 0; }
.service-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; margin: 0; padding: 0.75rem; border-radius: 0.875rem; background: var(--muted); }
.service-meta dt, .kv dt { font-size: 0.72rem; color: var(--muted-foreground); }
.service-meta dd, .kv dd { margin: 0.15rem 0 0; font-size: 0.875rem; font-weight: 600; overflow-wrap: anywhere; }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.625rem 1rem; margin: 0; padding: 0.75rem; border: 1px dashed var(--input); border-radius: 0.875rem; }
.life { display: flex; flex-direction: column; gap: 0.375rem; }
.service-section { padding-top: 0.875rem; border-top: 1px solid var(--border); }
.section-label { margin-bottom: 0.5rem; font-size: 0.82rem; font-weight: 600; color: var(--muted-foreground); }
.service-section .tags { margin-top: 0; }
.notice { padding: 0.75rem; border-radius: 0.875rem; background: var(--accent); }
.ns-form summary { display: inline-flex; list-style: none; cursor: pointer; }
.ns-form summary::-webkit-details-marker { display: none; }
.service-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-top: 0.875rem; border-top: 1px solid var(--border); }
.service-actions form { display: flex; }
@media (max-width: 479px) { .service-actions .btn, .service-actions form { flex: 1 1 100%; } .service-actions form .btn { width: 100%; } }
.kind-hosting .icon-box { background: oklch(0.62 0.13 245 / 0.16); color: oklch(0.45 0.14 250); }

/* Porositë, pagesat, faturat: rreshta të qartë */
.bill-list { display: flex; flex-direction: column; }
.bill { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ic main side" ". actions actions"; align-items: center; gap: 0.625rem 0.875rem; padding: 1rem; border-bottom: 1px solid var(--border); }
.bill:last-child { border-bottom: 0; }
.bill-ic { grid-area: ic; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; background: var(--accent); color: var(--primary); flex-shrink: 0; }
.bill-ic .icon { width: 1.15rem; height: 1.15rem; }
.bill-ic-paid { background: oklch(0.62 0.15 155 / 0.14); color: oklch(0.48 0.14 155); }
.bill-ic-due { background: oklch(0.75 0.15 75 / 0.2); color: oklch(0.52 0.12 65); }
.bill-main { grid-area: main; min-width: 0; }
.bill-title { font-size: 0.95rem; font-weight: 600; line-height: 1.3; color: var(--foreground); overflow-wrap: anywhere; }
.bill-meta { display: flex; flex-wrap: wrap; gap: 0.1rem 0.75rem; margin-top: 0.25rem; font-size: 0.78rem; color: var(--muted-foreground); }
.bill-meta b { font-weight: 700; color: var(--navy); }
.bill-note { margin-top: 0.375rem; font-size: 0.82rem; line-height: 1.4; color: var(--muted-foreground); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bill-side { grid-area: side; display: flex; flex-direction: column; align-items: flex-end; gap: 0.35rem; text-align: right; }
.bill-amount { font-size: 1rem; font-weight: 700; white-space: nowrap; color: var(--navy); }
.bill-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.25rem; }
.bill-actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.bill-actions .btn { flex: 1 1 auto; }
@media (min-width: 768px) {
  .bill { grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "ic main side actions"; padding: 1rem 1.25rem; gap: 1rem; }
  .bill-actions .btn { flex: 0 0 auto; }
}

/* Shënimet */
.note { display: flex; flex-direction: column; gap: 0.875rem; padding: 1.125rem; border-radius: 1.25rem; }
.note-head { display: flex; align-items: center; gap: 0.75rem; }
.note-title { font-family: var(--font-sans); font-size: 1rem; font-weight: 700; letter-spacing: 0; line-height: 1.25; color: var(--navy); }
.note-body { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 0.95rem; line-height: 1.6; padding: 0.875rem; border-radius: 0.875rem; background: var(--muted); }

/* Gjendje bosh */
.empty { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; padding: 2.25rem 1.25rem; border-radius: 1.25rem; }
.empty-ic { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 0.5rem; border-radius: 999px; background: var(--accent); color: var(--primary); }
.empty p { max-width: 24rem; }
.empty .muted { color: var(--muted-foreground); }

/* Qasja në email */
.mail-acc { display: grid; gap: 0.375rem; padding: 0.625rem 0.75rem; margin-bottom: 0.5rem; background: var(--muted); border-radius: 0.75rem; }
.mail-row { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.mail-k { flex: 0 0 5.5rem; font-size: 0.72rem; color: var(--muted-foreground); }
.mail-v { flex: 1 1 auto; min-width: 0; font-size: 0.875rem; font-weight: 600; overflow-wrap: anywhere; }
.mail-pass { border: 0; background: transparent; padding: 0; color: inherit; font-family: inherit; outline: none; }
.mail-btn { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 1.875rem; height: 1.875rem; border: 1px solid var(--border); border-radius: 0.5rem; background: var(--background, #fff); color: var(--muted-foreground); cursor: pointer; }
.mail-btn:hover { color: inherit; }
.mail-btn .icon { width: 1rem; height: 1rem; }
