
@import url('./css/open-props-normalize.min.css');
@import url('./css/open-props.min.css');

:root {
  /* Account card variables */
  --account-card-bg: var(--surface-1);
  --account-card-border: var(--border-2);
  --account-card-title: var(--text-1);
  --account-card-label: var(--text-2);
  --account-card-value: var(--text-1);
  --account-card-shadow: 0 2px 16px rgba(30,34,40,0.07);
  --account-card-radius: 18px;
  --account-card-padding: 2.5rem 2rem 2rem 2rem;
  --account-card-gap: 1.5rem;
  --account-card-width: 100%;
  --account-card-max-width: 620px;
  --account-card-margin: 2rem auto;
  /* Footer theme variables */
  --footer-bg: var(--surface-2);
  --footer-text: var(--text-3);
  --footer-border: var(--border-1);
  /* Light mode fallbacks */
  --surface-1: #fff;
  --text-1: #181a1b;
  --surface-2: #f8f9fa;
  --surface-3: #f1f3f4;
  --surface-4: #e9ecef;
  --text-2: #444;
  --border-2: #e5e7eb;
  /* Dark mode fallbacks */
  --surface-1-dark: #181a1b;
  --text-1-dark: #7e7e7e;
  --surface-2-dark: #232425;
  --surface-3-dark: #232425;
  --surface-4-dark: #232425;
  --text-2-dark: #888888;
  --error-text: #b91c1c;
  --error-bg: #fef2f2;
  --error-border: #fca5a5;
  --error-text-dark: #fecaca;
  --error-bg-dark: #450a0a;
  --modal-bg: #fff;
  --modal-border: #e5e7eb;
  --modal-shadow: 0 2px 24px rgba(30,34,40,0.14);
  --modal-bg-dark: #232425;
  --modal-border-dark: #2c2c2c;
  --success-text: #166534;
  --success-bg: #dcfce7;
  --success-border: #4ade80;
  --success-text-dark: #bbf7d0;
  --success-bg-dark: #14532d;
  --success-border-dark: #22c55e;

  /* Plans section variables */
  --plans-title-color: var(--text-1);
  --plans-subtitle-color: var(--text-2);
  --plans-title-spacing: var(--size-4);
}

html[data-theme="dark"] {
  --account-card-bg: var(--surface-2-dark);
  --account-card-border: var(--border-2);
  --account-card-title: var(--text-1-dark);
  --account-card-label: var(--text-2-dark);
  --account-card-value: var(--text-1-dark);
  --account-card-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

/* Account card styles */
.account-fragment {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.account-card {
  background: var(--account-card-bg);
  border: 1px solid var(--account-card-border);
  border-radius: var(--account-card-radius);
  box-shadow: var(--account-card-shadow);
  padding: var(--account-card-padding);
  margin: var(--account-card-margin);
  max-width: var(--account-card-max-width);
  width: var(--account-card-width);
  display: flex;
  flex-direction: column;
  gap: var(--account-card-gap);
}

.account-card-title {
  color: var(--account-card-title);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  text-align: left;
}

.account-details {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(80px, 140px) 1fr;
  row-gap: 0.7rem;
  column-gap: 1.5rem;
}
.account-details dt {
  color: var(--account-card-label);
  font-weight: 500;
  font-size: 1rem;
  margin: 0;
}
.account-details dd {
  color: var(--account-card-value);
  font-weight: 400;
  font-size: 1rem;
  margin: 0;
  word-break: break-all;
}

.main-header {
  background: transparent;
  border-bottom: none;
  margin-bottom: var(--size-6);
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--size-4) var(--size-6);
  border-bottom: none;
  background: transparent;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid transparent;
  border-radius: var(--radius-2);
  background: transparent;
  cursor: pointer;
  padding: 0;
  margin-right: var(--size-3);
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-1);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--size-4);
  position: relative;
}

.brand {
  font-weight: var(--font-weight-7);
  font-size: var(--font-size-2);
  letter-spacing: -0.5px;
  color: var(--text-1);
}

.brand a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.brand a:hover {
  color: var(--indigo-7);
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--size-4);
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  overflow: visible;
}
.nav-link {
  color: var(--text-2);
  text-decoration: none;
  font-weight: var(--font-weight-5);
  font-size: var(--font-size-1);
  padding: var(--size-2) var(--size-3);
  border-radius: var(--radius-2);
  transition: color 0.2s ease, border-color 0.2s ease;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  box-sizing: border-box;
  border-bottom: 2px solid transparent;
  position: relative;
}

.nav-link:hover {
  color: var(--indigo-7);
  background: transparent;
}

.admin-nav-link.active, 
.nav-link.active {
  color: var(--indigo-7);
  font-weight: var(--font-weight-6);
  background: transparent;
  border-bottom-color: var(--indigo-7);
}

html[data-theme="dark"] .admin-nav-link.active, 
html[data-theme="dark"] .nav-link.active {
  color: var(--indigo-4);
  border-bottom-color: var(--indigo-4);
}

.nav-links > li {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-links > li .nav-button.hero-cta {
  padding: var(--size-2) var(--size-4);
  font-size: var(--font-size-1);
  height: auto;
  border-radius: var(--radius-2);
}

@media (max-width: 870px) {
  nav {
    padding: var(--size-4) var(--size-4);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-wrapper {
    align-items: center;
    gap: var(--size-2);
  }

  .nav-left {
    flex: 1 1 auto;
  }

  .nav-links {
    order: 3;
    width: 100%;
    display: none;
    position: static;
    transform: none;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--size-3);
    margin-top: var(--size-3);
    padding-top: var(--size-2);
    border-top: 1px solid var(--border-2);
    background: var(--surface-2);
  }

  .nav-wrapper.nav-open .nav-links {
    display: flex;
  }

  .nav-wrapper.nav-open .nav-left {
    display: none;
  }

  .nav-links > li {
    width: 100%;
  }

  .nav-links > li .nav-link,
  .nav-links > li .nav-button {
    width: 100%;
    justify-content: flex-start;
    font-size: var(--font-size-2);
    padding: var(--size-3) var(--size-4);
  }

  .nav-right {
    order: 4;
    display: none;
    width: 100%;
    justify-content: flex-start;
    gap: var(--size-2);
    margin-top: var(--size-2);
  }

  .nav-wrapper.nav-open .nav-right {
    display: flex;
  }
}

.btn-login,
.btn-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 1rem;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  box-sizing: border-box;
}

.nav-link svg,
.btn-logout svg {
  display: inline-block;
  vertical-align: middle;
  height: 1.3em;
  width: 1.3em;
  margin: 0;
}

.theme-toggle {
  margin-left: var(--size-2);
  background: var(--surface-3);
  color: var(--text-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-2);
  padding: var(--size-2) var(--size-3);
  cursor: pointer;
  font-size: 1.2em;
  transition: background 0.2s;
}
.theme-toggle:hover {
  background: var(--surface-4);
}
body {
  background: var(--surface-1);
  color: var(--text-1);
  min-height: 100vh;
  font-family: var(--font-sans);
  display: flex;
  flex-direction: column;
}
.container {
  max-width: 48rem;
  margin: 0 auto;
  padding: var(--size-6);
}

.container.container--flush {
  padding-left: 0;
  padding-right: 0;
}

.container.container--full {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.container.container--wide {
  max-width: var(--plans-max-width, 70rem);
}
.intro {
  text-align: center;
  margin-bottom: var(--size-8);
}

.intro-h1 {
  text-align: center;
  font-size: var(--font-size-6);
  font-weight: var(--font-weight-8);
  color: var(--text-1);
  margin-bottom: var(--size-6);
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .intro-h1 {
    font-size: var(--font-size-5);
  }
}

@media (max-width: 700px) {
  .intro-h1 {
    font-size: var(--font-size-4);
  }
}

@media (max-width: 550px) {
  .intro-h1 {
    font-size: var(--font-size-3);
  }
}

.intro h1 {
  font-size: var(--font-size-6);
  font-weight: var(--font-weight-8);
  color: var(--text-1);
  margin-bottom: var(--size-4);
  line-height: 1.2;
}

.intro-subtitle {
  font-size: var(--font-size-3);
  color: var(--text-1);
  font-weight: var(--font-weight-6);
  margin-bottom: var(--size-4);
}

.intro-description {
  font-size: var(--font-size-1);
  color: var(--text-2);
  line-height: 1.6;
  margin-top: var(--size-5);
  margin-bottom: 0;
  text-align: justify;
}

.intro-cta-text {
  font-size: var(--font-size-1);
  color: var(--text-2);
  font-weight: var(--font-weight-5);
  margin-bottom: var(--size-4);
}

.plans-section {
  padding: var(--size-6);
  text-align: center;
  max-width: var(--plans-max-width, 1100px);
  margin-left: auto;
  margin-right: auto;
}

.container > .plans-section {
  max-width: var(--plans-max-width, 1100px);
  width: 100%;
}

:root {
  --plans-max-width: 1100px;
}
/* Dark theme inherits plans max width from root */

.plans-title {
  color: var(--plans-title-color);
  text-align: center;
  margin: 0 auto var(--plans-title-spacing);
  max-width: 600px;
  font-size: var(--font-size-5);
  font-weight: var(--font-weight-7);
}

.plans-subtitle {
  color: var(--plans-subtitle-color);
  text-align: center;
  margin: 0 auto var(--size-6);
  max-width: 600px;
  font-size: var(--font-size-2);
}

.intro-content {
  display: flex;
  align-items: center;
  gap: var(--size-8);
  max-width: 1200px;
  margin: 0 auto;
}

.intro-text {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.intro-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.intro-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-3);
}

@media (max-width: 768px) {
  .intro-content {
    flex-direction: column;
  }
  
  .intro-text {
    text-align: center;
    align-items: center;
  }
}

.intro h1 {
  font-size: var(--font-size-5);
  font-weight: var(--font-weight-9);
  margin-bottom: var(--size-3);
}

.intro p {
  font-size: var(--font-size-2);
  color: var(--text-2);
  margin-bottom: var(--size-4);
}
.cta-btn {
  display: inline-block;
  background: var(--indigo-7);
  color: var(--text-1-invert);
  padding: var(--size-3) var(--size-6);
  border-radius: var(--radius-3);
  font-weight: var(--font-weight-7);
  font-size: var(--font-size-2);
  box-shadow: var(--shadow-2);
  text-decoration: none;
  transition: background 0.2s;
}
.cta-btn:hover {
  background: var(--indigo-8);
}

/* Trust Section */
.trust-section {
  padding: var(--size-8) var(--size-4);
  margin-bottom: var(--size-6);
  background: var(--surface-2);
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-heading {
  font-size: var(--font-size-2);
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: var(--font-weight-7);
  margin-bottom: var(--size-6);
  text-align: center;
  display: block;
  width: 100%;
  max-width: none;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--size-6);
  max-width: 900px;
  margin: 0 auto;
}

.trust-logo {
  opacity: 0.6;
  transition: opacity 0.3s ease;
  color: var(--text-1);
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--size-2);
  cursor: pointer;
}

.trust-logo:hover {
  opacity: 1;
  text-decoration: none;
}

.trust-logo img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.trust-logo-name {
  font-size: var(--font-size-0);
  color: var(--text-2);
  font-weight: var(--font-weight-5);
  text-align: center;
}

html[data-theme="dark"] .trust-section {
  background: var(--surface-2-dark);
  border-top-color: var(--border-2-dark);
  border-bottom-color: var(--border-2-dark);
}

html[data-theme="dark"] .trust-heading {
  color: var(--text-2-dark);
}

html[data-theme="dark"] .trust-logo {
  color: var(--text-1-dark);
}

html[data-theme="dark"] .trust-logo-name {
  color: var(--text-2-dark);
}

/* Monitoring Showcase Section */
.monitoring-showcase {
  margin: 0 auto;
}

.showcase-content {
  background: var(--surface-2);
  display: flex;
  align-items: center;
  gap: var(--size-10);
  padding: var(--size-10) var(--size-4);
  margin: 0;
}

.showcase-text {
  flex: 1;
}

.showcase-text h2 {
  font-size: var(--font-size-5);
  font-weight: var(--font-weight-7);
  color: var(--text-1);
  margin-bottom: var(--size-4);
}

.showcase-text p {
  font-size: var(--font-size-2);
  color: var(--text-2);
  margin-bottom: var(--size-5);
  line-height: 1.6;
}

.showcase-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.showcase-features li {
  font-size: var(--font-size-1);
  color: var(--text-2);
  margin-bottom: var(--size-3);
  padding-left: var(--size-2);
}

.showcase-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.showcase-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-3);
  box-shadow: var(--shadow-4);
}

@media (max-width: 968px) {
  .showcase-content {
    flex-direction: column-reverse;
    gap: var(--size-6);
  }
}

html[data-theme="dark"] .showcase-text h2 {
  color: var(--text-1-dark);
}

html[data-theme="dark"] .showcase-text p,
html[data-theme="dark"] .showcase-features li {
  color: var(--text-2-dark);
}

/* Features Section */
.features-section {
  margin: 0;
}

.features-content {
  margin-bottom: var(--size-4);
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--size-6);
  padding: var(--size-10) var(--size-4);
}

.features-title {
  text-align: center;
  font-size: var(--font-size-5);
  font-weight: var(--font-weight-7);
  color: var(--text-1);
  margin-bottom: var(--size-6);
}

html[data-theme="dark"] .features-title {
  color: var(--text-1-dark);
}

/* Why AlertsDown Section */
.why-alertsdown-section {
  /*background: var(--surface-2);*/
  padding: var(--size-10) var(--size-4);
  margin: 0;
}

.why-alertsdown-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.why-alertsdown-title {
  font-size: var(--font-size-5);
  font-weight: var(--font-weight-7);
  color: var(--text-1);
  margin-bottom: var(--size-3);
}

.why-alertsdown-subtitle {
  font-size: var(--font-size-2);
  color: var(--text-2);
  margin-bottom: var(--size-7);
}

.why-alertsdown-grid {
  display: grid;
  gap: var(--size-4);
  grid-template-columns: 1fr;
}

.why-alertsdown-card {
  width: 100%;
  max-width: none;
  min-width: 0;
  background: #f7f8fc;
  border-radius: var(--radius-3);
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(30, 34, 40, 0.08);
  padding: var(--size-5);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--size-2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-alertsdown-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

@media (min-width: 640px) {
  .why-alertsdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .why-alertsdown-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

html[data-theme="dark"] .why-alertsdown-section {
  background: var(--surface-2-dark);
}

html[data-theme="dark"] .why-alertsdown-title {
  color: var(--text-1-dark);
}

html[data-theme="dark"] .why-alertsdown-subtitle {
  color: var(--text-2-dark);
}

html[data-theme="dark"] .why-alertsdown-card {
  background: var(--surface-3-dark);
  border-color: var(--border-2-dark);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .feature-card {
  background: var(--feature-card-bg-dark, #232425);
  border-color: var(--feature-card-border-dark, #2c2c2c);
  color: var(--feature-card-text-dark, #e0e0e0);
}

.feature-card h3 {
  font-size: var(--font-size-3);
  font-weight: var(--font-weight-7);
  margin-bottom: var(--size-2);
  color: #181a1b;
}

html[data-theme="dark"] .feature-card h3 {
  color: var(--feature-card-text-dark, #e0e0e0);
}

.feature-card p {
  color: var(--text-2);
  font-size: var(--font-size-1);
}

/* FAQ Section */
.faq-section {
  max-width: 900px;
  margin: 0 auto var(--size-10);
  padding: var(--size-6) var(--size-4);
}

.faq-title {
  text-align: center;
  font-size: var(--font-size-5);
  font-weight: var(--font-weight-7);
  color: var(--text-1);
  margin-bottom: var(--size-3);
}

.faq-subtitle {
  text-align: center;
  font-size: var(--font-size-2);
  color: var(--text-2);
  margin-bottom: var(--size-8);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--size-5);
}

.faq-item {
  background: var(--surface-1);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-3);
  padding: var(--size-5);
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-3);
}

.faq-question {
  font-size: var(--font-size-3);
  font-weight: var(--font-weight-7);
  color: var(--text-1);
  margin-bottom: var(--size-3);
  line-height: 1.4;
}

.faq-answer {
  font-size: var(--font-size-2);
  color: var(--text-2);
  line-height: 1.6;
}

.faq-answer p {
  margin: 0;
}

.faq-empty {
  text-align: center;
  padding: var(--size-8);
  color: var(--text-2);
  font-size: var(--font-size-2);
}

/* Dark mode FAQ */
html[data-theme="dark"] .faq-title {
  color: var(--text-1-dark);
}

html[data-theme="dark"] .faq-subtitle {
  color: var(--text-2-dark);
}

html[data-theme="dark"] .faq-item {
  background: var(--surface-2-dark);
  border-color: var(--border-2-dark);
}

html[data-theme="dark"] .faq-question {
  color: var(--text-1-dark);
}

html[data-theme="dark"] .faq-answer {
  color: var(--text-2-dark);
}

html[data-theme="dark"] .intro h1 {
  color: var(--text-1-dark);
}

html[data-theme="dark"] .intro-h1 {
  color: var(--text-1-dark);
}

html[data-theme="dark"] .intro-subtitle {
  color: var(--text-1-dark);
}

html[data-theme="dark"] .intro-description {
  color: var(--text-2-dark);
}

html[data-theme="dark"] .intro-cta-text {
  color: var(--text-2-dark);
}

html[data-theme="dark"] {
  --plans-title-color: var(--text-1-dark);
  --plans-subtitle-color: var(--text-2-dark);
  --footer-bg: var(--surface-3-dark);
  --footer-text: var(--text-3-dark);
  --footer-border: var(--border-2-dark);
}

.footer-content {
  display: flex;
  flex-direction: column;
  color: var(--footer-text, var(--text-3));
  font-size: var(--font-size-1);
  background: var(--footer-bg, var(--surface-2));
  border-top: 1px solid var(--footer-border, var(--border-1));
  padding: var(--size-6) 0 var(--size-4);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--size-4) var(--size-6);
  width: 100%;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  margin-bottom: var(--size-4);
  padding: 0 var(--size-3);
}

.footer-nav {
  min-width: 220px;
}

.footer-section h3 {
  color: var(--text-1);
  font-size: var(--font-size-2);
  font-weight: var(--font-weight-7);
  margin-bottom: var(--size-3);
}

.footer-section p {
  margin-bottom: var(--size-2);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: var(--size-2);
}

.footer-section a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: var(--indigo-9);
  text-decoration: underline;
}

.footer-about {
  flex: 2;
  min-width: 280px;
}

.social-icons {
  display: flex;
  gap: var(--size-3);
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--text-2);
  transition: all 0.2s ease;
}

.social-icons a:hover {
  background: var(--indigo-9);
  color: white;
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--size-4);
  border-top: 1px solid var(--border-1);
  width: 100%;
}

html[data-theme="dark"] .footer-section h3 {
  color: var(--text-1-dark);
}

html[data-theme="dark"] .footer-section a:hover {
  color: var(--indigo-4);
}

html[data-theme="dark"] .social-icons a {
  background: var(--surface-4-dark);
  color: var(--text-2-dark);
}

html[data-theme="dark"] .social-icons a:hover {
  background: var(--indigo-7);
  color: white;
}

html[data-theme="dark"] .footer-bottom {
  border-color: var(--border-2-dark);
}

@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-section {
    width: 100%;
    max-width: 500px;
    margin-bottom: var(--size-6);
  }
  
  .footer-nav ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: var(--size-3);
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .main-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--size-2);
    padding: var(--size-3);
  }
  .nav-links {
    gap: var(--size-2);
  }
  .container:not(.container--full) { padding: var(--size-3); }
  .features { flex-direction: column; align-items: center; }
  .feature-card { width: 100%; max-width: 100%; }
}

#main-content > #content-wrapper {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}


/* Button System */
.btn {
  padding: var(--size-2) var(--size-4);
  border-radius: var(--radius-2);
  font-size: var(--font-size-2);
  border: 1px solid var(--border-2);
  background: var(--surface-3);
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: var(--font-weight-5);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--size-2);
}

.btn:hover {
  background: var(--surface-4);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus {
  outline: 2px solid var(--indigo-7);
  outline-offset: 2px;
}

/* Primary Button */
.btn.primary {
  background: var(--indigo-7);
  color: #fff;
  border-color: var(--indigo-7);
}

.btn.primary:hover {
  background: var(--indigo-8);
  border-color: var(--indigo-8);
}

/* Secondary Button */
.btn.secondary {
  background: var(--surface-2);
  color: var(--text-1);
  border-color: var(--border-2);
}

.btn.secondary:hover {
  background: var(--surface-3);
}

/* Danger Button */
.btn.danger {
  background: var(--red-7);
  color: #fff;
  border-color: var(--red-7);
}

.btn.danger:hover {
  background: var(--red-8);
  border-color: var(--red-8);
}

/* Success Button */
.btn.success {
  background: var(--green-7);
  color: #fff;
  border-color: var(--green-7);
}

.btn.success:hover {
  background: var(--green-8);
  border-color: var(--green-8);
}

/* Button Sizes */
.btn.small {
  padding: var(--size-1) var(--size-3);
  font-size: var(--font-size-1);
}

.btn.large {
  padding: var(--size-3) var(--size-6);
  font-size: var(--font-size-3);
}

/* Button States */
.btn:disabled,
.btn.url-disabled-row {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

.urls-table .url-down-row,
.urls-table .url-down-row td {
  background-color: rgba(248, 113, 113, 0.18) !important;
}

.urls-table .url-down-row:hover,
.urls-table .url-down-row:hover td {
  background-color: rgba(248, 113, 113, 0.25) !important;
}

html[data-theme="dark"] .urls-table .url-down-row,
html[data-theme="dark"] .urls-table .url-down-row td {
  background-color: rgba(248, 113, 113, 0.28) !important;
}

html[data-theme="dark"] .urls-table .url-down-row:hover,
html[data-theme="dark"] .urls-table .url-down-row:hover td {
  background-color: rgba(248, 113, 113, 0.36) !important;
}

.notification-pause {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-start;
}

.notification-pause__form {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.notification-pause-feedback {
  font-size: 0.9rem;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
}

.notification-pause-feedback--success {
  background: var(--success-bg);
  color: var(--success-text);
  border: 1px solid var(--success-border);
}

.notification-pause-feedback--error {
  background: var(--error-bg);
  color: var(--error-text);
  border: 1px solid var(--error-border);
}

html[data-theme="dark"] .notification-pause-feedback--success {
  background: var(--success-bg-dark);
  color: var(--success-text-dark);
  border-color: var(--success-border-dark);
}

html[data-theme="dark"] .notification-pause-feedback--error {
  background: var(--error-bg-dark);
  color: var(--error-text-dark);
  border-color: var(--error-border);
}

.embedded-support-widget {
  margin-top: 2rem;
  width: 100%;
}

#support-widget-frame {
  width: 100%;
  min-height: 520px;
  border: none;
  display: block;
}

.btn.loading {
  position: relative;
  color: transparent;
}

.btn.loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

/* Pagination Buttons */
.pagination-btn {
  padding: var(--size-2) var(--size-3);
  border-radius: var(--radius-2);
  font-size: var(--font-size-1);
  border: 1px solid var(--border-2);
  background: var(--surface-2);
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: var(--font-weight-5);
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pagination-btn:hover:not(.disabled):not(.active) {
  background: var(--surface-3);
  color: var(--text-1);
  border-color: var(--indigo-7);
}

.pagination-btn.active {
  background: var(--indigo-7);
  color: #fff;
  border-color: var(--indigo-7);
  font-weight: var(--font-weight-6);
}

.pagination-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination-controls,
.pagination {
  display: flex;
  gap: var(--size-2);
  align-items: center;
  justify-content: center;
  margin: var(--size-4) 0;
  flex-wrap: wrap;
}

.pagination-info {
  color: var(--text-2);
  font-size: var(--font-size-1);
  padding: 0 var(--size-2);
}

html[data-theme="dark"] .pagination-btn {
  background: var(--surface-2-dark);
  color: var(--text-2-dark);
  border-color: var(--border-2-dark);
}

html[data-theme="dark"] .pagination-btn:hover:not(.disabled):not(.active) {
  background: var(--surface-3-dark);
  color: var(--text-1-dark);
  border-color: var(--indigo-6);
}

html[data-theme="dark"] .pagination-btn.active {
  background: var(--indigo-6);
  border-color: var(--indigo-6);
  color: #fff;
}

html[data-theme="dark"] .pagination-info {
  color: var(--text-2-dark);
}

/* Form System */
.form-group {
  margin-bottom: var(--size-4);
}

.form-group label {
  display: block;
  margin-bottom: var(--size-2);
  font-weight: var(--font-weight-6);
  color: var(--text-1);
  font-size: var(--font-size-1);
}

.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--size-2) var(--size-3);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-2);
  font-size: var(--font-size-2);
  background: var(--surface-1);
  color: var(--text-1);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--indigo-7);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input[readonly],
.form-group select[disabled],
.form-group textarea[readonly] {
  background: var(--surface-2);
  color: var(--text-2);
  cursor: not-allowed;
}

.form-group input[type="checkbox"],
.form-group input[type="radio"] {
  width: auto;
  margin-right: var(--size-2);
  cursor: pointer;
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--size-3);
  margin-bottom: var(--size-4);
}

.form-actions {
  display: flex;
  gap: var(--size-3);
  margin-top: var(--size-5);
  justify-content: flex-end;
}

.form-footer {
  margin-top: var(--size-4);
  padding-top: var(--size-3);
  border-top: 1px solid var(--border-2);
  color: var(--text-2);
  font-size: var(--font-size-1);
  text-align: center;
}

.form-description {
  color: var(--text-2);
  font-size: var(--font-size-1);
  margin-bottom: var(--size-4);
}

/* Dark mode forms */
html[data-theme="dark"] .form-group label {
  color: var(--text-1-dark);
}

html[data-theme="dark"] .form-group input:not([type="checkbox"]):not([type="radio"]),
html[data-theme="dark"] .form-group select,
html[data-theme="dark"] .form-group textarea {
  background: var(--surface-2-dark);
  color: var(--text-1-dark);
  border-color: var(--border-2-dark);
}

html[data-theme="dark"] .form-group input:focus,
html[data-theme="dark"] .form-group select:focus,
html[data-theme="dark"] .form-group textarea:focus {
  border-color: var(--indigo-6);
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.15);
}

html[data-theme="dark"] .form-group input[readonly],
html[data-theme="dark"] .form-group select[disabled],
html[data-theme="dark"] .form-group textarea[readonly] {
  background: var(--surface-3-dark);
  color: var(--text-2-dark);
}

html[data-theme="dark"] .form-footer {
  border-top-color: var(--border-2-dark);
  color: var(--text-2-dark);
}

html[data-theme="dark"] .form-description {
  color: var(--text-2-dark);
}

/* Alert/Message System */
.alert, .message {
  padding: var(--size-3) var(--size-4);
  border-radius: var(--radius-2);
  margin-bottom: var(--size-3);
  border-left: 4px solid;
  font-size: var(--font-size-1);
  display: flex;
  align-items: flex-start;
  gap: var(--size-2);
}

.alert.success, .message.success, .success {
  background: rgba(34, 197, 94, 0.1);
  border-color: var(--green-7);
  color: var(--green-9);
}

.alert.error, .message.error, .error {
  background: rgba(239, 68, 68, 0.1);
  border-color: var(--red-7);
  color: var(--red-9);
}

.alert.warning, .message.warning, .warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--orange-7);
  color: var(--orange-9);
}

.alert.info, .message.info, .info {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--blue-7);
  color: var(--blue-9);
}

/* Dark mode alerts */
html[data-theme="dark"] .alert.success,
html[data-theme="dark"] .message.success,
html[data-theme="dark"] .success {
  background: rgba(34, 197, 94, 0.15);
  border-color: var(--green-6);
  color: var(--green-3);
}

html[data-theme="dark"] .alert.error,
html[data-theme="dark"] .message.error,
html[data-theme="dark"] .error {
  background: rgba(239, 68, 68, 0.15);
  border-color: var(--red-6);
  color: var(--red-3);
}

html[data-theme="dark"] .alert.warning,
html[data-theme="dark"] .message.warning,
html[data-theme="dark"] .warning {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--orange-6);
  color: var(--orange-3);
}

html[data-theme="dark"] .alert.info,
html[data-theme="dark"] .message.info,
html[data-theme="dark"] .info {
  background: rgba(59, 130, 246, 0.15);
  border-color: var(--blue-6);
  color: var(--blue-3);
}

/* Empty State Message */
.info-message {
  text-align: center;
  padding: 2rem;
  color: var(--text-2);
  background: var(--surface-1);
  border-radius: var(--radius-2);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin: var(--size-4) 0;
}

html[data-theme="dark"] .info-message {
  color: var(--text-2-dark);
  background: var(--surface-1-dark);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Card System */
.card {
  background: var(--surface-1);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-3);
  padding: var(--size-5);
  box-shadow: 0 2px 8px rgba(30, 34, 40, 0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 16px rgba(30, 34, 40, 0.12);
}

.card.interactive {
  cursor: pointer;
}

.card.interactive:hover {
  transform: translateY(-2px);
}

.card-header {
  margin-bottom: var(--size-3);
  padding-bottom: var(--size-3);
  border-bottom: 1px solid var(--border-2);
}

.card-title {
  font-size: var(--font-size-3);
  font-weight: var(--font-weight-7);
  color: var(--text-1);
  margin: 0;
}

.card-subtitle {
  font-size: var(--font-size-1);
  color: var(--text-2);
  margin-top: var(--size-1);
}

.card-body {
  color: var(--text-2);
  line-height: 1.6;
}

.card-footer {
  margin-top: var(--size-4);
  padding-top: var(--size-3);
  border-top: 1px solid var(--border-2);
  display: flex;
  gap: var(--size-2);
  justify-content: flex-end;
}

/* Card Variants */
.card.elevated {
  box-shadow: 0 4px 16px rgba(30, 34, 40, 0.15);
}

.card.flat {
  box-shadow: none;
  border: 1px solid var(--border-2);
}

.card.outlined {
  border: 2px solid var(--border-2);
  box-shadow: none;
}

/* Dark mode cards */
html[data-theme="dark"] .card {
  background: var(--surface-2-dark);
  border-color: var(--border-2-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .card-header {
  border-bottom-color: var(--border-2-dark);
}

html[data-theme="dark"] .card-title {
  color: var(--text-1-dark);
}

html[data-theme="dark"] .card-subtitle,
html[data-theme="dark"] .card-body {
  color: var(--text-2-dark);
}

html[data-theme="dark"] .card-footer {
  border-top-color: var(--border-2-dark);
}

html[data-theme="dark"] .card.elevated {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] .card.outlined {
  border-color: var(--border-2-dark);
}

/* Table System */
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface-1);
  border-radius: var(--radius-3);
  overflow: hidden;
}

thead {
  background: var(--surface-2);
}

th {
  padding: var(--size-3) var(--size-4);
  text-align: left;
  font-weight: var(--font-weight-6);
  color: var(--text-1);
  text-transform: uppercase;
  font-size: var(--font-size-0);
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--border-2);
}

td {
  padding: var(--size-3) var(--size-4);
  color: var(--text-2);
  border-bottom: 1px solid var(--border-2);
}

/* Table Action Cells */
td.actions {
  white-space: nowrap;
}

.button-group {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-start;
  align-items: center;
}

tr:last-child td {
  border-bottom: none;
}

tbody tr:hover {
  background: var(--surface-2);
}

/* URLs Section */
.urls-section {
  padding: 0;
  max-width: 100%;
}

.table-container {
  overflow-x: auto;
}

/* URLs Table Specific */
.urls-table {
  margin-top: 0;
  background: var(--surface-1);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  width: 100%;
}

.url-disabled-row,
.url-disabled-row td {
  background: #d8d9da;
  color: #f9fafb;
}

.url-disabled-row a {
  color: #e5e7eb;
}

.urls-table tbody tr:hover,
.urls-table tbody tr:hover td {
  background: #f2f3f5 !important;
}

html[data-theme="dark"] .urls-table tbody tr:hover,
html[data-theme="dark"] .urls-table tbody tr:hover td {
  background: #272d35 !important;
}

.url-disabled-row:hover,
.url-disabled-row:hover td {
  background: #d8d9da;
}

html[data-theme="dark"] .url-disabled-row,
html[data-theme="dark"] .url-disabled-row td {
  background: #7b7b7b;
  color: #d1d5db;
}

html[data-theme="dark"] .url-disabled-row a {
  color: #9ca3af;
}

html[data-theme="dark"] .url-disabled-row:hover,
html[data-theme="dark"] .url-disabled-row:hover td {
  background: #111827;
}

.urls-table th,
.urls-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border-2);
}

.urls-table th {
  background: var(--surface-2);
  font-weight: 600;
}

.text-center {
  text-align: center;
}

/* Table variants */
table.striped tbody tr:nth-child(even) {
  background: var(--surface-2);
}

table.bordered {
  border: 1px solid var(--border-2);
}

table.bordered th,
table.bordered td {
  border: 1px solid var(--border-2);
}

table.compact th,
table.compact td {
  padding: var(--size-2) var(--size-3);
  font-size: var(--font-size-1);
}

/* Table responsive wrapper */
.table-wrapper {
  overflow-x: auto;
  margin: var(--size-3) 0;
}

/* Dark mode tables */
html[data-theme="dark"] table {
  background: var(--surface-1-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] thead {
  background: var(--surface-2-dark);
}

html[data-theme="dark"] th {
  color: var(--text-1-dark);
  border-bottom-color: var(--border-2-dark);
}

html[data-theme="dark"] td {
  color: var(--text-2-dark);
  border-bottom-color: var(--border-2-dark);
}

html[data-theme="dark"] tbody tr:hover {
  background: var(--surface-3-dark);
}

html[data-theme="dark"] table.striped tbody tr:nth-child(even) {
  background: var(--surface-2-dark);
}

html[data-theme="dark"] table.bordered {
  border-color: var(--border-2-dark);
}

html[data-theme="dark"] table.bordered th,
html[data-theme="dark"] table.bordered td {
  border-color: var(--border-2-dark);
}

html[data-theme="dark"] .urls-table {
  background: var(--surface-2-dark);
  box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

html[data-theme="dark"] .urls-table th,
html[data-theme="dark"] .urls-table td {
  color: var(--text-1-dark);
  background-color: var(--surface-2-dark);
  border-bottom-color: var(--border-2-dark);
}

html[data-theme="dark"] .urls-table th {
  background: var(--surface-3-dark);
}
/* Dark mode support using Open Props */

html[data-theme="dark"] nav,
html[data-theme="dark"] .main-header,
html[data-theme="dark"] .main-nav {
  background: transparent;
  border-bottom: none;
}
html[data-theme="dark"] .nav-link {
  color: var(--text-2-dark);
  background: transparent;
}
html[data-theme="dark"] .nav-link:hover {
  color: var(--indigo-4);
  background: transparent;
}

html[data-theme="dark"] .brand {
  color: var(--text-1-dark);
}

html[data-theme="dark"] .brand a:hover {
  color: var(--indigo-4);
}
html[data-theme="dark"] body {
  background: var(--surface-1-dark);
  color: var(--text-1-dark);
}
html[data-theme="dark"] .btn {
  background: var(--surface-3-dark);
  color: var(--text-2-dark);
  border-color: var(--border-2-dark);
}
html[data-theme="dark"] .btn:hover {
  background: var(--surface-4-dark);
}

html[data-theme="dark"] .btn.primary {
  background: var(--indigo-6);
  border-color: var(--indigo-6);
  color: #fff;
}

/* Toast notifications */
.toast-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 20rem;
  z-index: 1100;
  pointer-events: none;
  align-items: center;
}

.toast {
  background: var(--surface-1);
  color: var(--text-1);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
  border: 1px solid var(--border-2);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  font-size: 0.95rem;
  pointer-events: auto;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast.toast--error {
  border-color: var(--red-5);
  background: rgba(239, 68, 68, 0.8);
  color: var(--black-9);
}

.toast.toast--success {
  border-color: var(--green-5);
  background: rgba(16, 185, 129, 0.12);
  color: var(--green-9);
}

.toast.toast--info {
  border-color: var(--indigo-5);
  background: rgba(99, 102, 241, 0.12);
  color: var(--indigo-9);
}

html[data-theme="dark"] .toast {
  background: var(--surface-3-dark);
  color: var(--text-1-dark);
  border-color: var(--border-2-dark);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.5);
}

html[data-theme="dark"] .toast.toast--error {
  border-color: var(--red-6);
  background: rgba(248, 113, 113, 0.15);
  color: var(--red-2);
}

html[data-theme="dark"] .toast.toast--success {
  border-color: var(--green-6);
  background: rgba(52, 211, 153, 0.15);
  color: var(--green-2);
}

html[data-theme="dark"] .toast.toast--info {
  border-color: var(--indigo-6);
  background: rgba(129, 140, 248, 0.18);
  color: var(--indigo-2);
}

html[data-theme="dark"] .btn.primary:hover {
  background: var(--indigo-7);
  border-color: var(--indigo-7);
}

html[data-theme="dark"] .btn.secondary {
  background: var(--surface-2-dark);
  color: var(--text-1-dark);
  border-color: var(--border-2-dark);
}

html[data-theme="dark"] .btn.secondary:hover {
  background: var(--surface-3-dark);
}

html[data-theme="dark"] .btn.danger {
  background: var(--red-6);
  border-color: var(--red-6);
}

html[data-theme="dark"] .btn.danger:hover {
  background: var(--red-7);
  border-color: var(--red-7);
}

html[data-theme="dark"] .btn.success {
  background: var(--green-6);
  border-color: var(--green-6);
}

html[data-theme="dark"] .btn.plan-select:hover {
  background: var(--green-7);
}

html[data-theme="dark"] .btn.success:hover {
  background: var(--green-7);
  border-color: var(--green-7);
}

.main-header {
  background: transparent;
  border-bottom: none;
  margin-bottom: var(--size-6);
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  padding: var(--size-4) var(--size-6);
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: var(--size-4);
  position: relative;
}

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--size-4);
}


.features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--size-4);
  justify-content: center;
  margin-bottom: var(--size-6);
}


.feature-card h3 {
  font-size: var(--font-size-3);
  font-weight: var(--font-weight-7);
  margin-bottom: var(--size-2);
  color: #181a1b;
}

.feature-card {
  background: #f5f6fa;
  border-radius: var(--radius-3);
  box-shadow: 0 2px 8px rgba(30, 34, 40, 0.08);
  border: 1px solid #e0e0e0;
  padding: var(--size-5);
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
  text-align: left;
}

html[data-theme="dark"] .feature-card h3 {
  color: var(--feature-card-text-dark, #e0e0e0);
}

.feature-card p {
  color: var(--text-2);
  font-size: var(--font-size-1);
}

/* Custom styles for AlertDown landing page using Open Props */

.admin-nav-bar {
  display: flex;
  gap: var(--size-4);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border-2);
  padding: 1.2rem 2rem 1.2rem 2rem;
  margin-bottom: 2rem;
}
.admin-nav-link {
  color: var(--text-1);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 0.4em 1.2em;
  border-radius: 4px;
  transition: background 0.2s;
}
.admin-nav-link:hover, .admin-nav-link.active {
  background: var(--surface-3);
}
html[data-theme="dark"] .admin-nav-bar {
  background: var(--surface-2-dark);
  border-bottom: 1px solid var(--border-2-dark);
}
html[data-theme="dark"] .admin-nav-link {
  color: var(--text-1-dark);
}
html[data-theme="dark"] .admin-nav-link:hover, html[data-theme="dark"] .admin-nav-link.active {
  background: var(--surface-3-dark);
}


.alerts-page {
  margin-bottom: var(--size-6);
}

.add-url-section {
  margin-top: var(--size-6);
  background: var(--surface-2);
  border-radius: var(--radius-3);
  box-shadow: 0 2px 8px var(--shadow-2, rgba(30,34,40,0.08));
  padding: var(--size-6);
  border: 1px solid var(--border-2);
}

.add-url-form-card {
  margin: 2.5rem auto;
  max-width: 600px;
  background: var(--modal-bg, #fff);
  border-radius: var(--radius-3);
  box-shadow: var(--modal-shadow, 0 2px 24px rgba(30,34,40,0.14));
  border: 1px solid var(--modal-border, #e5e7eb);
  padding: 0;
}

.add-url-form-card .modal-content {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 2.5rem 2.5rem;
  margin: 0;
}

html[data-theme="dark"] .add-url-form-card {
  background: var(--modal-bg-dark, #232425);
  border-color: var(--modal-border-dark, #2c2c2c);
  box-shadow: var(--modal-shadow-dark, 0 2px 24px rgba(0,0,0,0.6));
}


html[data-theme="dark"] .add-url-section {
  background: var(--surface-3-dark);
  border-color: var(--border-2-dark);
  box-shadow: 0 2px 8px var(--shadow-2-dark, rgba(20,20,20,0.18));
}

.admin-plan-table {
  width: 100%;
  margin: 0 auto 1.5em auto;
  border-collapse: collapse;
  background: var(--table-bg);
  color: var(--text-primary);
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--shadow);
}
.admin-plan-table th, .admin-plan-table td {
  padding: 0.7em 1.1em;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

/* Update Plan Link in Account Page */
.update-plan-link {
  display: inline-block;
  margin-left: 1em;
  padding: 0.3em 0.8em;
  font-size: 0.85rem;
  text-decoration: none;
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 4px;
  transition: all 0.2s ease;
}

.update-plan-link:hover, .update-plan-link:focus {
  background: var(--primary-color);
  color: var(--primary-text);
}

/* Forgot Password Link */
.forgot-password-link {
  text-align: right;
  margin-top: 0.5em;
  font-size: 0.85rem;
}

.forgot-password-link a {
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s ease;
}

.forgot-password-link a:hover,
.forgot-password-link a:focus {
  color: var(--text-1);
  text-decoration: underline;
}

html[data-theme="dark"] .forgot-password-link a {
  color: var(--text-2-dark, #888888);
}

html[data-theme="dark"] .forgot-password-link a:hover,
html[data-theme="dark"] .forgot-password-link a:focus {
  color: var(--text-1-dark, #7e7e7e);
}

html[data-theme="dark"] .update-plan-link {
  color: var(--primary-color-dark, #6da8ff);
  border-color: var(--primary-color-dark, #6da8ff);
}

html[data-theme="dark"] .update-plan-link:hover,
html[data-theme="dark"] .update-plan-link:focus {
  background: var(--primary-color-dark, #6da8ff);
  color: var(--dark-bg, #1a1a1a);
}

#account-plan {
  display: flex;
  align-items: center;
}
.admin-plan-table th {
  background: var(--table-header-bg);
  color: var(--text-primary);
  font-weight: 600;
}
.admin-plan-table tr:last-child td {
  border-bottom: none;
}

.admin-plan-table tr.admin-url-row-disabled,
.admin-plan-table tr.admin-url-row-disabled td {
  background-color: #f0f2f5 !important;
  color: #4b5563 !important;
}

.admin-plan-table tr.admin-url-row-disabled a {
  color: inherit;
  text-decoration-color: rgba(0, 0, 0, 0.2);
}

.admin-user-list-section {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.admin-user-list-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

html[data-theme="dark"] .admin-plan-table {
  background: var(--surface-1-dark);
  color: var(--text-1-dark);
  border-color: var(--border-2-dark);
  box-shadow: 0 2px 8px var(--shadow-dark);
}
html[data-theme="dark"] .admin-plan-table th, html[data-theme="dark"] .admin-plan-table td {
  background: var(--surface-1-dark);
  color: var(--text-1-dark);
}
html[data-theme="dark"] .admin-plan-table th {
  background: var(--table-header-bg-dark);
  color: var(--text-1-dark);
}

html[data-theme="dark"] .admin-plan-table tr.admin-url-row-disabled,
html[data-theme="dark"] .admin-plan-table tr.admin-url-row-disabled td {
  background-color: #2c2f34 !important;
  color: #c4c4cc !important;
}

html[data-theme="dark"] .admin-plan-table tr.admin-url-row-disabled a {
  color: inherit;
  text-decoration-color: rgba(255, 255, 255, 0.3);
}

html[data-theme="dark"] .admin-user-list-section {
  background: var(--surface-3-dark);
  border-color: var(--border-2-dark);
  box-shadow: 0 2px 8px var(--shadow-2-dark, rgba(20,20,20,0.18));
}

.auth-form {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}

/* Plans and Pricing Cards - Modern Style */

@media (min-width: 900px) {
  .features,
  .plans-grid {
    flex-wrap: nowrap;
  }
}

@media (max-width: 899px) {
  .features,
  .plans-grid {
    flex-wrap: wrap;
  }
}


.plans-section {
  text-align: center;
  padding: 2em 0;
}
.plans-title {
  font-size: 2.5em;
  font-weight: bold;
}
.plans-subtitle {
  color: #aaa;
  margin-bottom: 2em;
}
.plans-grid {
  display: flex;
  gap: 2em;
  justify-content: center;
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-2, #d1d5db);
  border-radius: var(--radius-3, 999px);
  overflow: hidden;
  margin: 1.5rem auto 2.5rem;
  background: var(--surface-2, #f3f4f6);
}

.billing-toggle__option {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text-2, #4b5563);
  font-weight: var(--font-weight-6, 600);
  padding: 0.65rem 1.75rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  font-size: 0.95rem;
}

.billing-toggle__option:hover,
.billing-toggle__option:focus-visible {
  background: rgba(99, 102, 241, 0.12);
  outline: none;
}

.billing-toggle__option.is-active {
  background: var(--indigo-5, #6366f1);
  color: #fff;
}

html[data-theme="dark"] .billing-toggle {
  background: var(--surface-2-dark, #1f2933);
  border-color: var(--border-2-dark, #374151);
}

html[data-theme="dark"] .billing-toggle__option {
  color: var(--text-2-dark, #9ca3af);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0.5em 0 0.25em;
}

.plan-price__figure {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}

.plan-price__currency {
  font-size: 1em;
  line-height: 1;
}

.plan-price__strike {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  color: var(--text-3, #9ca3af);
  text-decoration: line-through;
  margin-top: 0.15rem;
}

#pricing[data-billing-mode="monthly"] .plan-price__strike {
  display: none !important;
}

.plan-price__note {
  font-size: 0.85rem;
  color: var(--text-3, #9ca3af);
  margin-top: 0.35rem;
}

html[data-theme="dark"] .plan-price__note,
html[data-theme="dark"] .plan-price__strike {
  color: var(--text-3-dark, #6b7280);
}

.plan-card {
  background: var(--feature-card-bg, #f5f6fa);
  border-radius: var(--radius-3);
  box-shadow: 0 2px 8px rgba(30, 34, 40, 0.08);
  border: 1px solid var(--feature-card-border, #e0e0e0);
  padding: var(--size-5);
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: var(--size-4);
}

html[data-theme="dark"] .plan-card {
  background: var(--feature-card-bg-dark, #232425);
  border-color: var(--feature-card-border-dark, #2c2c2c);
  color: var(--feature-card-text-dark, #e0e0e0);
}

.plan-card.highlight {
  border: 2px solid var(--indigo-5, #6366f1);
}

.plan-header {
  margin-bottom: 1em;
}
.plan-price {
  font-size: 2em;
  font-weight: bold;
  margin: 0.5em 0;
}
.plan-features {
  text-align: left;
  margin: 1em 0 2em 0;
  padding: 0;
  list-style: none;
}
.plan-features li {
  margin-bottom: 0.5em;
}
.btn.plan-select {
  background: var(--green-7);
  color: #fff;
  border: none;
  padding: var(--size-2) var(--size-4);
  border-radius: var(--radius-2);
  font-weight: var(--font-weight-6);
  cursor: pointer;
  transition: background 0.2s;
}
.btn.plan-select:hover {
  background: var(--green-8);
}

input,
textarea,
input[type="checkbox"] {
  accent-color: var(--indigo-7, #6366f1);
  background: var(--surface-1);
  color: var(--text-1);
  border: 1px solid var(--border-2);
  box-shadow: none;
}

html[data-theme="dark"] input[type="checkbox"] {
  accent-color: var(--indigo-5, #818cf8);
  background: var(--surface-1-dark);
  color: var(--text-1-dark);
  border: 1px solid var(--border-2-dark);
}

#url-enabled {
  accent-color: var(--indigo-7, #6366f1);
}

html[data-theme="dark"] #url-enabled {
  accent-color: var(--indigo-5, #818cf8);
}


select {
  background: var(--surface-1);
  color: var(--text-1);
  border: 1px solid var(--border-2);
}
input:checked {
  background: var(--indigo-5);
}

html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
  background: var(--surface-1-dark);
  color: var(--text-1-dark);
  border: 1px solid var(--border-2-dark);
}