:root{
  --blue:#2563EB; --blue600:#1D4ED8; --text:#0F172A; --muted:#64748B;
  --bg:#FFFFFF; --border:#E5E7EB; --ring:#93C5FD; --shadow:0 10px 30px rgba(37,99,235,.10);
  --footer-height: 60px;
  --footer-height-mobile-collapsed: 54px;
  --footer-height-mobile-expanded: 96px;
  --sidebar-width: 260px;
  --sidebar-bg: #0F172A;
  --sidebar-text: #94A3B8;
  --sidebar-text-hover: #F8FAFC;
  --sidebar-active-bg: #1E293B;
  --sidebar-active-accent: #3B82F6;
  --card-bg: #FFFFFF;
  --input-bg: #FFFFFF;
  --table-head-bg: #F8FAFC;
  --table-row-hover: #F1F5F9;
  --text-heading: #0F172A;
}

:root[data-theme="dark"] {
  --bg: #0F172A;
  --text: #E2E8F0;
  --muted: #94A3B8;
  --border: #1E293B;
  --card-bg: #1E293B;
  --input-bg: #0F172A;
  --table-head-bg: #0F172A;
  --table-row-hover: #334155;
  --text-heading: #F8FAFC;
  --shadow: 0 10px 30px rgba(0,0,0,0.3);
}

*{box-sizing:border-box}
html,body{
  margin:0;padding:0;
  background:var(--bg);color:var(--text);
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
  line-height:1.6;
  scroll-behavior: auto;
  padding-bottom: var(--footer-height); 
}

html.admin-html, body.admin-body {
    padding-top: 0;
    padding-bottom: 0 !important;
    background: var(--bg);
    display: block;
    height: 100%; 
}

h1, h2, h3, h4 {
    color: var(--text-heading);
}
h1{
  font-size:clamp(26px,5.5vw,46px);
  line-height:1.15;
  margin:0 0 8px;
}
h2{
  font-size:clamp(20px,3.2vw,30px);
  margin:0 0 18px;
}
.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
}
.text-block{
  max-width:720px;
  margin:0 auto;
}
.site-header{
  position:sticky;top:0;z-index:20;
  background:rgba(255, 255, 255, 0.95);
  border-bottom:1px solid var(--border);
  backdrop-filter:saturate(120%) blur(6px);
}
.navbar{
  display:flex;align-items:center;justify-content:space-between;
  height:84px;gap:12px;
}
.brand img{
  height:96px;
  width:auto;display:block;
}
.nav{
  display:flex;align-items:center;gap:12px;
}
.nav ul{
  display:flex;align-items:center;gap:10px;
  list-style:none;margin:0;padding:0;
}
.nav a{
  color:var(--text);font-weight:600;
}
.nav-link{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px 10px;
  border-radius:8px;
  font-size:13px;
  font-weight:500;
  color:var(--text);
  text-decoration:none;
  white-space:nowrap;
  transition:color .15s, background .15s, box-shadow .15s, transform .1s;
}
.nav-link::after{
  content:"";
  position:absolute;
  left:10px;right:10px;bottom:-2px;
  height:2px;border-radius:999px;
  background:transparent;
  transition:background .15s;
}
.nav-link:hover{
  color:var(--blue600);
  background:rgba(37,99,235,0.05);
  box-shadow:0 4px 12px rgba(15,23,42,0.08);
  transform:translateY(-1px);
}
.nav-link.is-active{
  color:var(--blue600);
}
.nav-link.is-active::after{
  background:var(--blue600);
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  height:40px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid var(--blue);
  background:var(--blue);
  color:#fff;
  font-weight:600;
  font-size:14px;
  line-height:1;
  text-decoration:none;
  white-space:nowrap;
  box-shadow:0 3px 8px rgba(15,23,42,.12);
  transition:transform .12s,box-shadow .12s,background .2s,color .2s,border-color .2s;
  cursor: pointer;
}
.btn:hover{
  background:var(--blue600);
  border-color:var(--blue600);
  transform:translateY(-1px);
  text-decoration:none;
}
.btn:active{
  transform:translateY(0);
  box-shadow:0 2px 5px rgba(15,23,42,.18);
}
.btn:focus-visible{
  outline:3px solid var(--ring);
  outline-offset:2px;
}
.btn-nav{
  background:linear-gradient(135deg,#3B82F6,#2563EB);
  border:none;
  box-shadow:0 6px 18px rgba(37,99,235,.25);
  padding:0 22px;
}
.btn-tariff{
  background:linear-gradient(180deg,#2563EB,#1D4ED8);
  border:none;
}
.btn-outline{
  background:var(--card-bg);
  color:var(--blue);
  border:1px solid rgba(37,99,235,0.5);
  box-shadow:0 2px 5px rgba(15,23,42,.06);
}
.btn-outline:hover{
  background:var(--blue600);
  color:#fff;
  border-color:var(--blue600);
}
.burger{
  display:none;
  background:transparent;border:0;
  width:40px;height:40px;padding:0;
  cursor: pointer;
}
.burger span{
  display:block;height:2px;background:var(--text);
  margin:7px 6px;border-radius:2px;transition:.2s;
}
.hero{
  padding:min(6vw,60px) 0 24px;
  background:linear-gradient(180deg, var(--bg), rgba(37,99,235,.05));
  scroll-margin-top:96px;
}
.section{
  padding:24px 0;
  scroll-margin-top:96px;
}
.section:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
}
.hero-grid{
  display:grid;grid-template-columns:1.2fr 1fr;
  gap:28px;align-items:center;
}
.lead{
  font-size:clamp(15px,2.5vw,18px);
  color:var(--muted);margin:0 0 16px;
  max-width:720px;
}
.bullets{
  list-style:none;margin:8px 0 0;padding:0;
  color:var(--muted);display:grid;gap:8px;
  max-width:720px;
}
.bullets.big li{font-size:clamp(14px,2.6vw,16px);}
.icon-check{
  display:inline-block;width:18px;height:18px;
  margin-right:8px;border-radius:50%;
  background:var(--blue);vertical-align:-3px;position:relative;
}
.icon-check::after{
  content:'';position:absolute;left:5px;top:3px;
  width:6px;height:10px;border:2px solid #fff;
  border-top:0;border-left:0;transform:rotate(45deg);
}
.hero-art{position:relative;min-height:240px;}
.blob{
  position:absolute;inset:0;
  background:radial-gradient(120% 120% at 20% 10%,
    rgba(59,130,246,.30) 0%,rgba(37,99,235,.12) 40%,transparent 70%);
  filter:blur(16px);
}
.card-illus{
  position:relative;margin:18px auto 0;
  max-width:360px;width:100%;aspect-ratio:4/3;
  background:#fff;border:1px solid var(--border);
  border-radius:20px;box-shadow:0 12px 40px rgba(15,23,42,.12);
  display:flex;align-items:center;justify-content:center;
}
.id-icon{
  width:min(70%,240px);height:min(46%,150px);
  border:2px solid var(--blue);border-radius:14px;
  position:relative;padding:14px;display:flex;gap:12px;
  align-items:center;background:linear-gradient(#fff,#F3F6FF);
}
.id-icon::before{
  content:'';position:absolute;top:-10px;left:50%;
  transform:translateX(-50%);width:22px;height:12px;
  border-radius:4px;background:var(--blue);
}
.avatar{
  width:56px;height:56px;border-radius:50%;
  background:var(--blue);
}
.lines{
  flex:1;height:56px;border-radius:8px;
  background:repeating-linear-gradient(0deg,#E5EDFF,#E5EDFF 8px,#fff 8px,#fff 16px);
}
.grid{display:grid;gap:18px;}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr));}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
.card{
  border:1px solid var(--border);border-radius:18px;
  padding:18px;background:var(--card-bg);
  box-shadow:0 10px 30px rgba(15,23,42,.06);
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.card:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 34px rgba(15,23,42,0.12);
}
.feature,
.audience,
#legal .card,
#faq .card{
  background:var(--card-bg);
}
.feature:hover,
.audience:hover,
#legal .card:hover,
#faq .card:hover{
  background:linear-gradient(135deg, var(--bg), var(--card-bg));
  border-color:#BFDBFE;
}
.timeline{display:grid;gap:14px;}
.t-item{
  display:grid;grid-template-columns:40px 1fr;
  gap:12px;align-items:start;
}
.t-dot{
  width:40px;height:40px;border-radius:12px;
  background:var(--blue);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-weight:800;
}
.t-body h3{margin:0 0 6px;font-size:18px;}
.tariffs{
  display:grid;gap:18px;
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.tariff{
  position:relative;
  border:1px solid var(--border);border-radius:18px;
  padding:20px;background:var(--card-bg);
  display:flex;flex-direction:column;
  box-shadow:0 10px 30px rgba(15,23,42,.06);
}
.tariff:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 34px rgba(15,23,42,0.12);
}
.tariff.best{
  border-color:#22c55e;
}
.tariff-label{
  position:absolute;
  top:12px;right:12px;
  font-size:11px;
  font-weight:600;
  padding:3px 8px;
  border-radius:999px;
  background:transparent;
  color:transparent;
}
.tariff-label-best{
  background:rgba(34,197,94,.12);
  color:#16a34a;
  border:1px solid rgba(34,197,94,.4);
}
.tariff-label-standard{
  background:rgba(37,99,235,.12);
  color:var(--blue);
  border:1px solid rgba(37,99,235,.4);
}
.period{color:var(--muted);}
.price{
  font-size:clamp(20px,3vw,28px);
  color:var(--blue);font-weight:800;
  margin:6px 0 10px;
}
.tariff ul{margin:10px 0 16px 18px;}
.tariff .cta .btn{width:100%;}
.tariff-note {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
}
.small{font-size:12px;}
.dim{color:var(--muted);}
.contact-grid{
  display:grid;grid-template-columns:1.1fr 1fr;
  gap:18px;
}
.contact-box{
  padding:16px;
  border-radius:16px;
  border:1px solid #dbeafe;
  background:linear-gradient(145deg, var(--card-bg), var(--bg));
  box-shadow:0 12px 30px rgba(15,23,42,0.06);
}
.contact-header{
  font-weight:700;
  margin-bottom:8px;
  color:#1d4ed8;
}
.contact-row{
  font-size:14px;
  margin-bottom:4px;
}
.form label{
  display:block;font-weight:600;
  margin:6px 0 2px;
}
.form input:not([type="checkbox"]), 
.form textarea {
  width:100%;padding:12px;
  border:1px solid var(--border);border-radius:12px;
}
.form textarea{
  resize:none;
}
.form-note{
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 10px !important;
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.4;
  width: 100%;
  flex-wrap: nowrap !important;
}
.form .form-note input, 
.form input[type="checkbox"],
input[type="checkbox"] {
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
  flex-basis: 18px !important;
  display: inline-block !important;
  margin: 3px 0 0 0 !important;
  padding: 0 !important;
  border-radius: 4px !important;
  cursor: pointer;
  -webkit-appearance: checkbox;
}
.form-note span, .form-note label {
  display: block;
  cursor: pointer;
}
.field-error{
  font-size:12px;
  color:#dc2626;
  margin-top:2px;
  min-height:8px;
}
.input-error{
  border-color:#dc2626;
}
.footer{
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  border-top: 1px solid var(--border);
  padding: 12px 0;
  margin-top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  z-index: 900;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
  transition: height .3s ease;
}
.footer-inner{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  height: 100%;
}
.footer-left{
  justify-self:flex-start;
}
.footer-center{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
}
.footer-right{
  justify-self:flex-end;
}
.footer-logo{
  height:24px;
  width:auto;
  display:block;
}
.footer-text{
  text-align:left;
}
.floating-cta{
  position:fixed;
  right:16px;
  bottom: 80px; 
  z-index:800;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:40px;
  padding:0 18px;
  border-radius:999px;
  background:linear-gradient(135deg,#3B82F6,#2563EB);
  color:#fff;
  font-size:14px;
  font-weight:600;
  text-decoration:none;
  box-shadow:0 8px 24px rgba(15,23,42,.25);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease, bottom 0.3s ease;
}
.floating-cta--hidden{
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}
@media (max-width: 768px){
  .floating-cta{
    left:16px;
    right:16px;
    justify-content:center;
  }
}
.privacy-overlay{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,0.55);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:2000;
}
.privacy-overlay.visible{
  display:flex;
}
.privacy-modal{
  max-width:860px;
  max-height:80vh;
  background:var(--card-bg);
  border-radius:18px;
  padding:24px 24px 20px;
  box-shadow:0 24px 80px rgba(15,23,42,0.45);
  position:relative;
  overflow:hidden;
}
.privacy-body{
  max-height:70vh;
  overflow:auto;
  padding-right:8px;
}
.privacy-body h2{
  margin-top:0;
}
.privacy-body h3{
  margin-top:16px;
}
.privacy-close{
  position:absolute;
  top:10px;
  right:14px;
  border:none;
  background:transparent;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  color: var(--text);
}
.cookie-banner{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:2500;
  display:none;
  justify-content:center;
  padding:10px 12px;
}
.cookie-banner.visible{
  display:flex;
}
.cookie-body{
  max-width:960px;
  width:100%;
  background:var(--card-bg);
  border-radius:16px 16px 0 0;
  border:1px solid #dbeafe;
  box-shadow:0 -4px 30px rgba(15,23,42,0.25);
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.cookie-text{
  font-size:13px;
  color:var(--text);
}
.cookie-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-shrink:0;
}
.btn-cookie{
  background:#2563EB;
  border-color:#1D4ED8;
  color:#fff;
  height:34px;
  padding:0 14px;
  font-size:13px;
  box-shadow:0 4px 14px rgba(37,99,235,.35);
}
.cookie-more{
  border:none;
  background:transparent;
  color:#1D4ED8;
  font-size:12px;
  text-decoration:underline;
  padding:4px 6px;
  border-radius:8px;
  cursor: pointer;
}
.cookie-more:hover{
  background:rgba(191,219,254,0.6);
}
@media (max-width: 1200px){
  .grid-4{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 960px){
  html, body {
    padding-bottom: calc(var(--footer-height-mobile-expanded) + 12px);
  }
  .navbar{height:72px;}
  .brand img{height:64px;}
  .hero-grid{grid-template-columns:1fr;}
  .burger{display:inline-block;}
  .nav ul{
    display:none;position:absolute;right:16px;top:72px;
    background:var(--card-bg);border:1px solid var(--border);
    border-radius:16px;box-shadow:0 10px 30px rgba(0,0,0,.08);
    padding:12px 10px;min-width:220px;
    z-index: 100;
  }
  .nav ul.show{
    display:flex;flex-direction:column;gap:4px;
  }
  .nav-link{
    width:100%;
    justify-content:flex-start;
    padding:10px 12px;
    border-radius:10px;
  }
  .nav-link::after{
    left:12px;right:12px;bottom:4px;
  }
  .btn.btn-nav{
    display:inline-flex;
    height:36px;
    padding:0 14px;
    font-size:13px;
  }
  .tariffs, .grid-3 {
      grid-template-columns: 1fr !important;
  }
  .section {
      padding: 16px 0;
  }
  .footer {
      padding: 0;
      height: var(--footer-height-mobile-collapsed);
      overflow: hidden;
  }
  .footer-inner {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 0 16px;
      height: 100%;
  }
  .footer-center {
      display: none; 
      position: static;
      transform: none;
      width: 100%;
      text-align: center;
  }
  .footer-left {
      order: 0;
      flex-grow: 1;
      text-align: left;
      display: block; 
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      font-size: 11px;
  }
  .footer-right {
      order: 1;
      flex-shrink: 0;
  }
  .footer.footer--expanded {
      padding: 8px 0; 
      height: var(--footer-height-mobile-expanded);
  }
  .footer--expanded .footer-inner {
      display: flex;
      flex-direction: column; 
      justify-content: center; 
      gap: 8px; 
      padding: 0 16px;
  }
  .footer--expanded .footer-center {
      order: 0; 
      display: flex; 
      width: 100%;
      justify-content: center;
      margin: 0;
  }
  .footer--expanded .footer-left,
  .footer--expanded .footer-right {
      display: inline-flex;
  }
  .footer--expanded .footer-inner {
      flex-direction: row;
      flex-wrap: wrap;
      align-content: center;
      justify-content: space-between;
      gap: 0;
  }
  .footer--expanded .footer-center {
      order: -1;
      width: 100%;
      margin-bottom: 8px;
  }
  .footer--expanded .footer-left {
      order: 1;
      flex-grow: 1;
      white-space: normal;
  }
  .footer--expanded .footer-right {
      order: 2;
      flex-shrink: 0;
      padding-left: 12px;
  }
  .floating-cta {
      bottom: calc(var(--footer-height-mobile-collapsed) + 20px);
  }
  .footer--expanded ~ .floating-cta {
      bottom: calc(var(--footer-height-mobile-expanded) + 20px);
  }
  .contact-grid{grid-template-columns:1fr;}
  .cookie-body{
    flex-direction:column;
    align-items:flex-start;
  }
}
@media (max-width: 560px){
  .navbar{height:68px;}
  .brand img{height:60px;}
}
.form-toast{
  position:fixed;
  top:100px;
  left:50%;
  transform:translateX(-50%);
  padding:12px 24px;
  border-radius:12px;
  background:#10B981;
  color:#fff;
  font-size:14px;
  font-weight: 600;
  box-shadow:0 10px 30px rgba(0,0,0,0.15);
  opacity:0;
  pointer-events:none;
  z-index:99999;
  text-align:center;
  transition:opacity .3s ease, transform .3s ease;
  white-space: nowrap;
}
.form-toast--visible{
  opacity:1;
  transform:translateX(-50%) translateY(10px);
}
.form-toast--error{
  background:#EF4444;
}
@media (max-width: 640px){
  .form-toast{
    top: 90px;
    width: 92%;
    max-width: 400px;
    white-space: normal;
    line-height: 1.4;
    padding: 14px 16px;
  }
}
.footer-policy{
  transition: all 0.2s;
}
.footer-policy:hover,
.footer-policy:focus,
.footer-policy:active {
  background-color: var(--blue) !important;
  color: #ffffff !important;
  border-color: var(--blue) !important;
}
@media (max-width: 960px) {
    .footer-policy {
        font-size: 12px;
        padding: 4px 12px;
        height: 32px;
        white-space: nowrap;
    }
}
.admin-wrapper {
    display: flex;
    min-height: 100vh;
    background: var(--bg);
}
.admin-sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    color: var(--sidebar-text);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    z-index: 1000;
}
.admin-brand {
    height: 70px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.admin-brand img {
    height: 40px !important;
    max-height: 40px !important;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}
.admin-menu {
    flex: 1;
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.admin-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 8px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}
.admin-link:hover {
    color: var(--sidebar-text-hover);
    background: rgba(255,255,255,0.05);
}
.admin-link.active {
    color: #fff;
    background: var(--blue600);
    font-weight: 600;
}
.admin-link i {
    font-size: 20px;
}
.admin-footer-nav {
    padding: 16px 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.admin-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-x: hidden;
}
.admin-mobile-header {
    display: none;
    height: 60px;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border);
    align-items: center;
    padding: 0 20px;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 900;
}
.admin-burger {
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.admin-page-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}
.admin-main-content {
    padding: 30px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}
@media (max-width: 1024px) {
    .admin-sidebar {
        position: fixed;
        transform: translateX(-100%);
        box-shadow: 4px 0 24px rgba(0,0,0,0.2);
    }
    .admin-sidebar.show {
        transform: translateX(0);
    }
    .admin-mobile-header {
        display: flex;
    }
    .admin-main-content {
        padding: 20px;
    }
}
.admin-card {
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    min-width: 0;
}
.stat-card {
    position: relative;
    background: var(--card-bg);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 120px;
    min-width: 0;
}
.sparkline-container {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 100px;
    height: 40px;
}
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.badge-new { background: #FEF2F2; color: #EF4444; border: 1px solid #FECACA; }
.badge-work { background: #FFFBEB; color: #F59E0B; border: 1px solid #FDE68A; }
.badge-done { background: #ECFDF5; color: #10B981; border: 1px solid #A7F3D0; }
.avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-right: 10px;
    flex-shrink: 0;
}
.lead-name-wrapper {
    display: flex;
    align-items: center;
}
.date-input {
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    background: var(--input-bg);
    color: var(--text);
    font-family: inherit;
}
.copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: 6px;
    color: var(--muted);
    border-radius: 4px;
    transition: all 0.2s ease;
}
.copy-btn:hover {
    background: rgba(37,99,235,0.1);
    color: var(--blue);
}
.ua-cell {
    max-width: 240px;
    display: flex;
    align-items: center;
}
.ua-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
    color: var(--muted);
    font-size: 12px;
    cursor: help;
}
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
}
.message-cell {
    min-width: 300px;
}
.message-text {
    background: var(--table-row-hover);
    border: 1px solid var(--border);
    padding: 8px 12px;
    border-radius: 12px 12px 12px 0;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text);
    line-height: 1.5;
}
.message-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.tech-badge {
    font-size: 11px;
    background: var(--bg);
    color: var(--muted);
    padding: 2px 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    border: 1px solid var(--border);
}
.message-note {
    display: flex;
    gap: 4px;
}
.message-note input {
    font-size: 12px;
    padding: 6px;
    border: 1px solid var(--border);
    background: var(--input-bg);
    color: var(--text);
}
.info-details { 
    display: block;
    width: 100%;
}
.info-details > summary {
    list-style: none;
    cursor: pointer;
    outline: none;
}
.info-details > summary::-webkit-details-marker {
    display: none;
}
.info-content {
    margin-top: 8px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 10px;
    border-radius: 8px;
    font-size: 12px;
    color: var(--text);
}

/* Maintenance block styles */
.maintenance-block {
    background: var(--table-row-hover);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
}
/* New styles for the status box errors */
.form-status-error {
    background: #FEF2F2;
    color: #EF4444;
    border: 1px solid #FECACA;
}
/* New styles for grouping maintenance actions */
.maintenance-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}
/* New styles for compact profile form */
.profile-form {
    max-width: 400px;
    display: grid;
    gap: 15px;
}

/* Admin Mobile Overlay */
.admin-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.admin-mobile-overlay.show {
    opacity: 1;
    pointer-events: auto;
}
/* Override mobile padding for admin */
@media (max-width: 960px) {
    html.admin-html, body.admin-body {
        padding-bottom: 0 !important;
    }
}