/* LilLinks — dark modern theme for Kutt v3.2.2 */
:root {
  --bg-color: #0b1220;
  --text-color: #e6edf7;
  --color-primary: #38bdf8;
  --outline-color: #67e8f9;
  --button-bg: linear-gradient(135deg, #1e293b, #111827);
  --button-bg-box-shadow-color: rgba(15, 23, 42, 0.75);
  --button-bg-primary: linear-gradient(135deg, #0ea5e9, #2563eb);
  --button-bg-primary-box-shadow-color: rgba(14, 165, 233, 0.35);
  --button-bg-secondary: linear-gradient(135deg, #4f46e5, #7c3aed);
  --button-bg-secondary-box-shadow-color: rgba(99, 102, 241, 0.35);
  --button-bg-danger: linear-gradient(135deg, #ef4444, #dc2626);
  --button-bg-danger-box-shadow-color: rgba(239, 68, 68, 0.32);
  --button-bg-success: linear-gradient(135deg, #10b981, #059669);
  --button-bg-success-box-shadow-color: rgba(16, 185, 129, 0.32);
  --button-action-shadow-color: rgba(56, 189, 248, 0.12);
  --underline-color: #334155;
  --secondary-text-color: #94a3b8;
  --send-icon-hover-color: #a5b4fc;
  --send-spinner-icon-color: #94a3b8;
  --success-icon-color: #34d399;
  --error-icon-color: #f87171;
  --copy-icon-color: #34d399;
  --copy-icon-bg-color: rgba(16, 185, 129, 0.13);
  --copy-icon-shadow-color: rgba(16, 185, 129, 0.16);
  --focus-outline-color: rgba(103, 232, 249, 0.55);
  --checkbox-bg-color: #6366f1;
  --input-shadow-color: rgba(15, 23, 42, 0.6);
  --input-hover-shadow-color: rgba(56, 189, 248, 0.22);
  --input-label-color: #cbd5e1;
  --table-bg-color: #101a2d;
  --table-shadow-color: rgba(2, 6, 23, 0.45);
  --table-tr-border-color: #1e293b;
  --table-tr-hover-bg-color: #16233b;
  --table-head-tr-border-color: #334155;
  --table-status-gray-bg-color: #1e293b;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(900px circle at 8% -8%, rgba(14, 165, 233, 0.15), transparent 45%),
    radial-gradient(760px circle at 96% 8%, rgba(99, 102, 241, 0.13), transparent 42%),
    var(--bg-color);
}

::selection {
  color: #08111f;
  background: #67e8f9;
}

header {
  width: 100%;
  max-width: none;
  height: 82px;
  padding: 0 max(24px, calc((100vw - 1168px) / 2));
  background: rgba(11, 18, 32, 0.82);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.2);
  backdrop-filter: blur(14px);
}

header a.logo {
  color: #f8fafc;
  font-size: 23px;
  letter-spacing: -0.5px;
}

header .logo img {
  width: 28px !important;
  height: 28px !important;
  margin-right: 10px !important;
  object-fit: contain;
}

header ul.logo-links li a,
header nav ul li a.nav {
  color: #94a3b8;
}

header ul.logo-links li a:hover,
header nav ul li a.nav:hover {
  color: #e2e8f0;
}

main,
.content {
  position: relative;
}

input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
  color: #e6edf7 !important;
  background-color: #101a2d !important;
  border-color: #334155 !important;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
  color: #64748b;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.16) !important;
}

table,
.dialog .content {
  background-color: #101a2d;
}

hr {
  background-color: #26364e;
}

footer {
  margin-top: 2rem;
  padding: 1.25rem 1rem;
  color: #94a3b8;
  border-top: 1px solid rgba(148, 163, 184, 0.13);
  background: rgba(2, 6, 23, 0.24);
}

footer .lillinks-wordmark {
  color: #e2e8f0;
  font-weight: 800;
  letter-spacing: -0.2px;
}

footer .lillinks-tagline {
  color: #67e8f9;
}

footer .lillinks-private {
  color: #64748b;
}

@media (max-width: 640px) {
  header {
    height: 72px;
    padding: 0 16px;
  }

  header a.logo {
    font-size: 21px;
  }

  header .logo img {
    width: 25px !important;
    height: 25px !important;
  }
}
