.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 0 20px;
  background: var(--twg-white);
  border-bottom: 1px solid var(--border-color);
}

.navbar {
  background-color: var(--twg-white);
  border-bottom: 1px solid #e5e7eb;
}

.topbar-left,
.topbar-center,
.topbar-right {
  display: flex;
  align-items: center;
}

.topbar-left {
  justify-content: flex-start;
  gap: 14px;
}

.topbar-center {
  justify-content: center;
}

.topbar-right {
  justify-content: flex-end;
  gap: 12px;
}

.lang-select {
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-link,
.logout-link {
  text-decoration: none;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.nav-link:hover,
.logout-link:hover {
  text-decoration: underline;
}

.user-name {
  color: var(--text-muted);
  font-size: 13px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: auto;
  height: 60px;
  object-fit: contain;
}

.brand-info {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  color: var(--text-color);
  font-size: 22px;
  font-weight: 700;
}

.brand-address {
  color: var(--text-muted);
  font-size: 11px;
}

.main-content {
  padding: 20px;
  min-height: calc(100vh - 128px);
}

.messages {
  max-width: 1120px;
  margin: 0 auto 16px;
  padding: 0;
  list-style: none;
}

.messages li {
  margin: 0 0 8px;
  padding: 10px 12px;
  border: 1px solid #d6e2f3;
  border-radius: var(--radius-sm);
  background: #f4f8fe;
}

.site-footer {
  border-top: 1px solid var(--border-color);
  background: var(--twg-white);
}

.site-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  color: var(--text-muted);
  font-size: 12px;
}

.home-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 4px 56px;
}

.hero-slider {
  position: relative;
  height: 90vh;
  overflow: hidden;
  background: #000;
  border-radius: 24px;
  box-shadow: 0 18px 38px rgba(13, 59, 102, 0.18);
  margin-bottom: 28px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide.active {
  opacity: 1;
}

.hero-dots {
  position: absolute;
  bottom: 22px;
  width: 100%;
  text-align: center;
  z-index: 5;
}

.hero-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 6px;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-dot.active {
  background: #0d3b66;
  transform: scale(1.15);
}

.twg-section {
  padding: 72px 0;
}

.twg-section-light {
  background: var(--twg-light);
}

.twg-section-white {
  background: var(--twg-white);
}

.twg-container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.twg-section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--twg-primary);
  text-align: center;
  margin-bottom: 24px;
  font-weight: 600;
}

.twg-section-text {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--twg-text);
  max-width: 980px;
  margin: 0 auto 18px;
  text-align: center;
}

.twg-service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.twg-service-item {
  background: var(--twg-white);
  border: 1px solid rgba(13, 59, 102, 0.12);
  border-radius: 14px;
  padding: 18px 20px;
  color: var(--twg-primary);
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
}

.twg-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.twg-feature-card {
  background: var(--twg-white);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(13, 59, 102, 0.08);
}

.twg-feature-card h3 {
  color: var(--twg-primary);
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.twg-feature-card p {
  color: var(--twg-text);
  line-height: 1.75;
  margin: 0;
}

.btn-primary {
  background-color: var(--twg-primary);
  border: none;
  color: var(--twg-white);
}

.btn-primary:hover {
  background-color: var(--twg-primary-dark);
}

/* ========== NEW NAVBAR STYLES ========== */

.twg-navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--twg-white);
  border-bottom: 1px solid rgba(13, 59, 102, 0.10);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 86px;
  padding: 0 28px;
}

.twg-navbar__left,
.twg-navbar__center,
.twg-navbar__right {
  display: flex;
  align-items: center;
}

.twg-navbar__left {
  justify-content: flex-start;
  position: relative;
}

.twg-navbar__center {
  justify-content: center;
}

.twg-navbar__right {
  justify-content: flex-end;
}

.twg-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.twg-brand__logo {
  height: 58px;
  width: auto;
  display: block;
}

.twg-brand__name {
  color: #0D3B66;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.twg-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.twg-nav-links > a,
.twg-profile-trigger {
  color: var(--twg-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
}

.twg-nav-links > a {
  display: inline-flex;
  align-items: center;
}

.twg-nav-links > a:hover,
.twg-profile-trigger:hover {
  color: var(--twg-primary);
}

/* Logout button — visually identical to nav <a> links */
.twg-logout-form {
  display: inline;
  margin: 0;
  padding: 0;
}
.twg-logout-form button {
  appearance: none;
  -webkit-appearance: none;
  display: inline;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  box-shadow: none;
  outline: none;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  color: var(--twg-text);
  text-decoration: none;
}
.twg-logout-form button:hover {
  color: var(--twg-primary);
}

.twg-profile-menu {
  position: relative;
  display: flex;
  align-items: center;
}

/* ── Notification bell ── */
.twg-notif-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 1.2rem;
  line-height: 1;
  margin-right: 4px;
}
.twg-notif-trigger {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}
.twg-notif-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #dc3545;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0 4px;
}

/* ── Notification dropdown menu ── */
.twg-notif-menu {
  position: relative;
  display: flex;
  align-items: center;
}
.twg-notif-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  right: -8px;
  width: 360px;
  background: var(--twg-white);
  border: 1px solid rgba(13, 59, 102, 0.10);
  border-radius: 14px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 30;
}
.twg-notif-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.twg-notif-dropdown__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px 8px;
  border-bottom: 1px solid rgba(13, 59, 102, 0.08);
}
.twg-notif-dropdown__title {
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--twg-primary, #0d3b66);
}
.twg-notif-mark-all {
  border: none;
  background: none;
  color: var(--twg-primary, #0d3b66);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.twg-notif-mark-all:hover {
  background: var(--twg-primary-light, #e8f0fb);
}
.twg-notif-dropdown__body {
  max-height: 380px;
  overflow-y: auto;
}
.twg-notif-dropdown__footer {
  padding: 10px 16px;
  text-align: center;
  border-top: 1px solid rgba(13, 59, 102, 0.08);
}
.twg-notif-dropdown__footer a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--twg-primary, #0d3b66);
  text-decoration: none;
}
.twg-notif-dropdown__footer a:hover {
  text-decoration: underline;
}
.twg-notif-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 16px;
  text-decoration: none;
  color: var(--twg-text, #1a2e44);
  border-bottom: 1px solid rgba(13, 59, 102, 0.06);
  transition: background 0.12s;
}
.twg-notif-item:last-child {
  border-bottom: none;
}
.twg-notif-item:hover {
  background: var(--twg-primary-light, #e8f0fb);
}
.twg-notif-item--unread {
  background: #f0f5ff;
  border-left: 3px solid var(--twg-primary, #0d3b66);
}
.twg-notif-item--unread:hover {
  background: #e4edff;
}
.twg-notif-item__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 1px;
}
.twg-notif-item__icon--info    { background: #d1ecf1; color: #0c5460; }
.twg-notif-item__icon--success { background: #d4edda; color: #155724; }
.twg-notif-item__icon--warning { background: #fff3cd; color: #856404; }
.twg-notif-item__icon--error   { background: #f8d7da; color: #721c24; }
.twg-notif-item__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.twg-notif-item__verb {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--twg-text, #1a2e44);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.twg-notif-item__desc {
  font-size: 0.8rem;
  color: #4b5563;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.twg-notif-item__time {
  font-size: 0.73rem;
  color: #9ca3af;
}
.twg-notif-item__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--twg-primary, #0d3b66);
  margin-top: 6px;
  align-self: flex-start;
}
.twg-notif-loading,
.twg-notif-empty {
  padding: 20px 16px;
  text-align: center;
  color: #9ca3af;
  font-size: 0.88rem;
}

.twg-profile-trigger,
.twg-lang-trigger {
  border: none;
  background: transparent;
  color: var(--twg-text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 0;
  margin: 0;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.twg-profile-trigger:hover,
.twg-lang-trigger:hover {
  color: #0D3B66;
}

.twg-profile-label {
  display: inline-block;
  color: inherit;
  font: inherit;
}

.twg-profile-caret {
  font-size: 0.75rem;
  line-height: 1;
  color: inherit;
  transform: translateY(1px);
}

.twg-profile-dropdown,
.twg-lang-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  min-width: 220px;
  background: var(--twg-white);
  border: 1px solid rgba(13, 59, 102, 0.10);
  border-radius: 14px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease;
  z-index: 30;
}

.twg-profile-dropdown {
  right: 0;
}

.twg-lang-dropdown {
  left: 0;
  min-width: 180px;
  padding: 12px;
}

.twg-profile-menu:hover .twg-profile-dropdown,
.twg-profile-menu:focus-within .twg-profile-dropdown,
.twg-navbar__left:hover .twg-lang-dropdown,
.twg-navbar__left:focus-within .twg-lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.twg-profile-dropdown a,
.twg-lang-dropdown a {
  display: block;
  padding: 12px 18px;
  color: var(--twg-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.94rem;
}

.twg-profile-dropdown a:hover,
.twg-lang-dropdown a:hover {
  background: var(--twg-primary-light);
  color: #0D3B66;
}

.twg-lang-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(62px, 1fr));
  gap: 10px;
}

.twg-lang-option-form {
  margin: 0;
}

.twg-lang-option {
  width: 100%;
  min-height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(13, 59, 102, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  color: #0D3B66;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.twg-lang-option:hover {
  border-color: rgba(13, 59, 102, 0.45);
  box-shadow: 0 8px 18px rgba(13, 59, 102, 0.12);
  transform: translateY(-1px);
}

.twg-lang-option:focus-visible {
  outline: 2px solid rgba(13, 59, 102, 0.32);
  outline-offset: 2px;
}

.twg-lang-option.is-active {
  border-color: #0D3B66;
  background: linear-gradient(180deg, #0d3b66 0%, #114a7e 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(13, 59, 102, 0.2);
}

@media (max-width: 980px) {
  .twg-navbar {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 20px;
  }

  .twg-navbar__left,
  .twg-navbar__center,
  .twg-navbar__right {
    justify-content: center;
  }

  .twg-nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 16px;
  }

  .topbar-left,
  .topbar-center,
  .topbar-right {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .hero-slider {
    height: 62vh;
    min-height: 320px;
  }

  .twg-service-list,
  .twg-feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== FOOTER PREMIUM ========== */

.twg-footer {
  background: #0D3B66;
  color: #ffffff;
  padding: 70px 40px 30px;
  font-size: 0.95rem;
}

.twg-footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  margin-bottom: 50px;
}

.twg-footer__brand img {
  height: 48px;
  margin-bottom: 16px;
}

.twg-footer__brand p {
  max-width: 420px;
  line-height: 1.6;
  opacity: 0.85;
  font-size: 0.98rem;
}

.twg-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.twg-footer__grid h4 {
  font-size: 0.95rem;
  margin-bottom: 14px;
  color: #ffffff;
}

.twg-footer__grid a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1.5;
}

.twg-footer__grid a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.twg-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.twg-footer__legal {
  opacity: 0.7;
}

.ai-attribution-inline {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-left: 6px;
}

.twg-footer__contact span {
  margin-left: 20px;
  opacity: 0.85;
}

@media (max-width: 1024px) {
  .twg-footer__top {
    grid-template-columns: 1fr;
  }

  .twg-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .twg-footer__grid {
    grid-template-columns: 1fr;
  }

  .twg-footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .twg-footer__contact span {
    display: block;
    margin: 5px 0;
  }
}

/* ========== CLAIMS PAGE ========== */

.twg-claims {
  padding: 80px 20px;
  text-align: center;
}

.twg-claims h1 {
  font-size: 2.4rem;
  color: var(--twg-primary);
  margin-bottom: 10px;
}

.twg-claims-subtitle {
  opacity: 0.7;
  margin-bottom: 50px;
}

.twg-claims-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.twg-claims-step {
  background: #fff;
  border-radius: 14px;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.twg-claims-step span {
  display: inline-block;
  background: var(--twg-primary);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  line-height: 32px;
  margin-bottom: 10px;
}

.twg-claims-warning {
  background: #f8fafc;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 50px;
  text-align: left;
}

.twg-claims-warning h3 {
  color: var(--twg-primary);
  margin-bottom: 10px;
}

.twg-claims-warning ul {
  padding-left: 18px;
}

.twg-claims-contact-box {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-weight: 600;
  margin-top: 15px;
}

@media (max-width: 1024px) {
  .twg-claims-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .twg-claims-steps {
    grid-template-columns: 1fr;
  }

  .twg-claims-contact-box {
    flex-direction: column;
    gap: 8px;
  }
}

/* ========== CONTACT PAGE ========== */

.twg-contact {
  padding: 80px 20px;
}

.twg-contact__header {
  text-align: center;
  margin-bottom: 50px;
}

.twg-contact__header h1 {
  font-size: 2.4rem;
  color: var(--twg-primary);
  margin-bottom: 10px;
}

.twg-contact__subtitle {
  max-width: 760px;
  margin: 0 auto;
  opacity: 0.75;
  line-height: 1.6;
}

.twg-contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.twg-contact__card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.twg-contact__card h3 {
  color: var(--twg-primary);
  margin-bottom: 12px;
}

.twg-contact__card p {
  margin-bottom: 18px;
  line-height: 1.6;
  color: var(--twg-text);
}

.twg-contact__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 600;
}

.twg-contact__note {
  background: #f8fafc;
  border-radius: 14px;
  padding: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.twg-contact__note h3 {
  color: var(--twg-primary);
  margin-bottom: 10px;
}

.twg-contact__note p {
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 1024px) {
  .twg-contact__grid {
    grid-template-columns: 1fr;
  }
}

.twg-legal {
  padding: 80px 20px;
}

.twg-legal__container {
  max-width: 980px;
}

.twg-legal__header {
  text-align: center;
  margin-bottom: 50px;
}

.twg-legal__header h1 {
  font-size: 2.5rem;
  color: var(--twg-primary);
  margin-bottom: 12px;
}

.twg-legal__subtitle {
  max-width: 760px;
  margin: 0 auto 14px;
  opacity: 0.75;
  line-height: 1.7;
}

.twg-legal__updated {
  font-size: 0.95rem;
  opacity: 0.6;
}

.twg-legal__content {
  background: #fff;
  border-radius: 18px;
  padding: 38px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.twg-legal__section + .twg-legal__section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(13, 59, 102, 0.08);
}

.twg-legal__section h2 {
  color: var(--twg-primary);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.twg-legal__section p,
.twg-legal__section li {
  line-height: 1.75;
  color: var(--twg-text);
}

.twg-legal__section ul {
  padding-left: 20px;
  margin: 0;
}

@media (max-width: 768px) {
  .twg-legal {
    padding: 60px 16px;
  }

  .twg-legal__content {
    padding: 24px;
  }

  .twg-legal__header h1 {
    font-size: 2rem;
  }
}

.twg-service-plan-section {
  padding: 72px 0;
  background: var(--twg-white);
}

.twg-section-heading {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 42px;
}

.twg-section-heading h2 {
  color: var(--twg-primary);
  margin-bottom: 12px;
  font-size: 2.2rem;
}

.twg-section-heading p {
  line-height: 1.7;
  opacity: 0.78;
}

.twg-service-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.twg-service-plan-card {
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(13, 59, 102, 0.08);
}

.twg-service-plan-card h3 {
  color: var(--twg-primary);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.twg-service-plan-card__tag {
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--twg-primary);
  opacity: 0.8;
  margin-bottom: 14px;
}

.twg-service-plan-card p {
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .twg-service-plan-grid {
    grid-template-columns: 1fr;
  }
}

.twg-contact__actions {
  margin-top: 22px;
  text-align: center;
}

.twg-contact-email-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--twg-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.twg-contact-email-btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.twg-global-cta {
  margin-top: 60px;
  padding: 50px 20px;
  text-align: center;
  background: #f7f9fc;
  border-radius: 16px;
  border: 1px solid rgba(13, 59, 102, 0.1);
}

.twg-global-cta h2 {
  margin: 0 0 10px;
  color: var(--twg-primary);
}

.twg-global-cta p {
  margin: 0;
  color: var(--twg-text);
  opacity: 0.84;
}

.twg-global-cta__interest {
  margin: 12px 0 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: #1d4d7a;
}

.twg-global-cta__meta {
  margin: 8px 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #345e83;
  opacity: 0.82;
}

.twg-global-cta__buttons {
  margin-top: 20px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.twg-global-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.twg-global-cta__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.twg-global-cta__btn--primary {
  background: var(--twg-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(13, 59, 102, 0.2);
}

.twg-global-cta__btn--secondary {
  border: 1px solid var(--twg-primary);
  color: var(--twg-primary);
  background: #fff;
}

@media (max-width: 640px) {
  .twg-global-cta {
    margin-top: 40px;
    padding: 34px 14px;
  }
}

.twg-plan-page {
  padding: 34px 0 58px;
  background:
    radial-gradient(circle at 12% 12%, rgba(13, 59, 102, 0.10), transparent 42%),
    radial-gradient(circle at 85% 5%, rgba(13, 59, 102, 0.08), transparent 38%),
    linear-gradient(180deg, #f4f8fd 0%, #ffffff 38%);
}

.twg-plan-page__header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 18px;
}

.twg-plan-page__eyebrow {
  margin: 0 0 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--twg-primary);
  font-weight: 700;
  font-size: 0.78rem;
}

.twg-plan-page__header h1 {
  margin: 0;
  color: var(--twg-primary);
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.twg-plan-page__intro {
  margin: 10px auto 0;
  max-width: 760px;
  line-height: 1.65;
  color: var(--twg-text);
  opacity: 0.9;
}

.twg-plan-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto 16px;
}

.twg-plan-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(13, 59, 102, 0.2);
  background: #fff;
  color: var(--twg-primary);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.16s ease;
}

.twg-plan-tab:hover {
  box-shadow: 0 8px 20px rgba(13, 59, 102, 0.1);
  transform: translateY(-1px);
}

.twg-plan-tab.is-active {
  background: var(--twg-primary);
  color: #fff;
  border-color: var(--twg-primary);
}

.twg-plan-group {
  margin-top: 18px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(13, 59, 102, 0.10);
  border-radius: 20px;
  display: none;
}

.twg-plan-group.is-visible {
  display: block;
}

.twg-plan-group__head h2 {
  margin: 0 0 16px;
  color: var(--twg-primary);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}

.twg-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.twg-plan-card {
  position: relative;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid rgba(13, 59, 102, 0.10);
  box-shadow: 0 8px 24px rgba(13, 59, 102, 0.08);
  background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
}

.twg-plan-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  background: #eef4ff;
  color: var(--twg-primary);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.twg-plan-badge--highlight {
  background: var(--twg-primary);
  color: #fff;
}

.twg-plan-card h3 {
  margin: 0;
  color: var(--twg-primary);
  letter-spacing: 0.01em;
}

.twg-plan-card__includes {
  margin: 8px 0 10px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #355f87;
}

.twg-plan-card__summary {
  margin: 0;
  line-height: 1.7;
  color: var(--twg-text);
}

.twg-plan-card__covered,
.twg-plan-card__explained {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(13, 59, 102, 0.12);
}

.twg-plan-card__covered h4,
.twg-plan-card__explained h4 {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: #234f77;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.twg-plan-card__covered ul {
  margin: 0;
  padding-left: 18px;
}

.twg-plan-card__group + .twg-plan-card__group {
  margin-top: 10px;
}

.twg-plan-card__group h5 {
  margin: 0 0 6px;
  font-size: 0.82rem;
  color: #2b5f8f;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.twg-plan-card__covered li {
  margin: 0 0 6px;
  line-height: 1.5;
}

.twg-plan-card__explained details + details {
  margin-top: 8px;
}

.twg-plan-card__explained summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--twg-primary);
}

.twg-plan-card__explained p {
  margin: 8px 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.twg-plan-card__actions {
  margin-top: 16px;
}

.twg-plan-btn--card {
  width: 100%;
  min-width: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

.twg-plan-about {
  margin-top: 26px;
  background: linear-gradient(145deg, #f3f7fc 0%, #ffffff 70%);
  border: 1px solid rgba(13, 59, 102, 0.12);
  border-radius: 20px;
  padding: 24px;
}

.twg-plan-about h2 {
  margin: 0;
  color: var(--twg-primary);
  font-size: 1rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.twg-plan-about h3 {
  margin: 10px 0 8px;
  color: var(--twg-primary);
  font-size: 1.5rem;
}

.twg-plan-about p {
  margin: 0;
  max-width: 860px;
  line-height: 1.75;
}

.twg-plan-cta-bottom {
  margin-top: 28px;
  padding: 38px 22px;
  text-align: center;
  background: #f7f9fc;
  border: 1px solid rgba(13, 59, 102, 0.12);
  border-radius: 16px;
}

.twg-plan-cta-bottom h2 {
  margin: 0;
  color: var(--twg-primary);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}

.twg-plan-cta-bottom p {
  margin: 10px 0 0;
  color: var(--twg-text);
  opacity: 0.86;
}

.twg-plan-cta-bottom__interest {
  margin: 12px 0 0;
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eaf2fd;
  color: #1d4d7a;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.twg-plan-cta-bottom__call-context {
  margin: 8px 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #345e83;
  opacity: 0.82;
}


.twg-plan-cta-bottom .twg-global-cta__buttons {
  margin-top: 18px;
}

.twg-plan-card--safe {
  border-color: rgba(13, 59, 102, 0.12);
}

.twg-plan-card--max {
  border-color: rgba(13, 59, 102, 0.22);
  box-shadow: 0 10px 26px rgba(13, 59, 102, 0.12);
}

.twg-plan-card--ultimate {
  border-color: rgba(13, 59, 102, 0.32);
  box-shadow: 0 14px 30px rgba(13, 59, 102, 0.16);
}

.twg-plan-card--best {
  transform: scale(1.03);
  border: 2px solid var(--twg-primary);
}

@media (max-width: 1024px) {
  .twg-plan-grid {
    grid-template-columns: 1fr;
  }

  .twg-plan-card--best {
    transform: none;
  }
}

@media (max-width: 640px) {
  .twg-plan-page {
    padding: 28px 0 44px;
  }

  .twg-plan-group {
    padding: 16px;
  }

  .twg-plan-tab {
    min-width: 90px;
    padding: 9px 14px;
  }

  .twg-plan-cta-bottom {
    padding: 28px 14px;
  }
}

/* ========== PROFESSIONAL BUTTON SYSTEM ========== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  letter-spacing: 0.3px;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

/* Primary Button - Blue Corporate */
.btn-primary {
  background-color: var(--twg-primary, #0d3b66);
  color: #fff;
  border: 1px solid var(--twg-primary, #0d3b66);
}

.btn-primary:hover {
  background-color: var(--twg-primary-dark, #092a4d);
  border-color: var(--twg-primary-dark, #092a4d);
}

/* Secondary Button - White with Border */
.btn-secondary {
  background-color: #fff;
  color: var(--text-color, #0f172a);
  border: 1px solid var(--border-color, #d8dee8);
}

.btn-secondary:hover {
  background-color: #f8fafc;
  border-color: var(--twg-primary, #0d3b66);
  color: var(--twg-primary, #0d3b66);
}

/* Success Button - Green */
.btn-success {
  background-color: #2e7d32;
  color: #fff;
  border: 1px solid #2e7d32;
}

.btn-success:hover {
  background-color: #1b5e20;
  border-color: #1b5e20;
}

/* Danger Button - Red */
.btn-danger {
  background-color: #d32f2f;
  color: #fff;
  border: 1px solid #d32f2f;
}

.btn-danger:hover {
  background-color: #b71c1c;
  border-color: #b71c1c;
}

/* ===== STANDARD BUTTON SIZE (NO RESIZE ON CONTENT CHANGE) ===== */
.twg-btn-fixed {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  height: 42px;
  min-width: 120px;
  max-width: 160px;
  flex: 0 1 140px;

  padding: 0 14px;
  border-radius: 10px;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  box-sizing: border-box;
}

.twg-btn-fixed__label {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== BADGE DOES NOT AFFECT BUTTON SIZE ===== */
.twg-btn-badge {
  position: absolute;
  top: -6px;
  right: -6px;

  min-width: 20px;
  height: 20px;

  padding: 0 5px;

  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.twg-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

@media (max-width: 768px) {
  .twg-btn-fixed {
    min-width: 110px;
    max-width: 140px;
    flex: 0 1 120px;
  }
}

/* ===== ACTION ROW BUTTON VARIANT (wider, for dashboard/detail action rows) ===== */
.twg-btn-fixed--action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  height: 38px;
  min-width: 140px;
  max-width: 200px;
  flex: 0 1 auto;

  padding: 0 16px;
  border-radius: 8px;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  box-sizing: border-box;
}

@media (max-width: 768px) {
  .twg-btn-fixed--action {
    min-width: 120px;
    max-width: 180px;
    flex: 0 1 150px;
  }
}

/* Outline Button - Blue Outline */
.btn-outline {
  background-color: #fff;
  color: var(--twg-primary, #0d3b66);
  border: 1px solid var(--twg-primary, #0d3b66);
}

.btn-outline:hover {
  background-color: var(--twg-primary, #0d3b66);
  color: #fff;
}

/* Small Button Variant */
.btn-sm {
  min-height: 36px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
}

/* Large Button Variant */
.btn-lg {
  min-height: 48px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 700;
}

/* ========== PAGE STRUCTURE STYLES ========== */

.page-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.page-header__nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  color: var(--twg-primary, #0d3b66);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.back-link:hover {
  color: var(--twg-primary-dark, #092a4d);
  text-decoration: underline;
}

.back-link::before {
  content: "←";
  font-size: 16px;
}

.page-header__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-header__left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-header__title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-color, #0f172a);
}

.page-header__subtitle {
  margin: 0;
  color: var(--text-muted, #5f6b7a);
  font-size: 14px;
  font-weight: 400;
}

.page-header__meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-muted, #5f6b7a);
  font-size: 13px;
}

.page-header__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.page-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── Cookie Consent Banner ──────────────────────────────────────── */
.twg-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #0d3b66;
  color: #fff;
  padding: 14px 20px;
  z-index: 9999;
  display: none;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
}

.twg-cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.twg-cookie-btn {
  background: #ffffff;
  color: #0d3b66;
  border: none;
  padding: 8px 20px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
}

.twg-cookie-btn:hover {
  background: #f0f0f0;
}

@media (max-width: 600px) {
  .twg-cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .twg-cookie-btn {
    align-self: flex-end;
  }
}

/* ── Login Page ─────────────────────────────────────────────────── */
.twg-login-hero {
  position: relative;
  min-height: calc(100vh - 160px);
  background: url("/static/img/team.png") center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  overflow: hidden;
}

.twg-login-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 24, 48, 0.45), rgba(13, 59, 102, 0.20));
  backdrop-filter: blur(1px);
}

.twg-login-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  display: flex;
  justify-content: center;
}

.twg-login-card {
  width: 100%;
  max-width: 460px;
  padding: 34px 32px;
  border-radius: 24px;
  background: rgba(10, 26, 48, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transform: translateY(-20px);
  transition: all 0.3s ease;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.45),
    0 10px 30px rgba(13, 59, 102, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
}

.twg-login-card:hover {
  transform: translateY(-24px) scale(1.01);
}

.twg-login-brand {
  text-align: center;
  margin-bottom: 24px;
}

.twg-login-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
  margin: 0 auto 14px;
}

.twg-login-brand h1 {
  margin: 0 0 8px;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 700;
  color: #ffffff;
}

.twg-login-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
}

.twg-login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.twg-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.twg-field label {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.twg-field input {
  width: 100%;
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 0 16px;
  font-size: 1rem;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.twg-field input::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.twg-field input:focus {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.twg-login-btn {
  margin-top: 8px;
  height: 54px;
  width: 100%;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #0d3b66, #164f87);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 14px 30px rgba(13, 59, 102, 0.35);
}

.twg-login-btn:hover {
  transform: translateY(-1px);
  opacity: 0.93;
  box-shadow: 0 18px 40px rgba(13, 59, 102, 0.45);
}

.twg-login-alert {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(190, 40, 40, 0.18);
  border: 1px solid rgba(255, 120, 120, 0.30);
  color: #ffdede;
  font-size: 0.94rem;
}

@media (max-width: 640px) {
  .twg-login-card {
    padding: 26px 20px;
    border-radius: 20px;
  }
  .twg-login-brand h1 {
    font-size: 1.7rem;
  }
  .twg-login-hero {
    min-height: calc(100vh - 140px);
    padding: 28px 14px;
  }
}
  flex-wrap: wrap;
}

.page-divider {
  height: 1px;
  background-color: var(--border-color, #d8dee8);
  margin: 16px 0;
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */

@media (max-width: 768px) {
  .btn {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .page-header__toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-header__right {
    width: 100%;
  }

  .page-actions {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .btn {
    min-height: 36px;
    padding: 0 10px;
    font-size: 12px;
  }

  .page-header__title {
    font-size: 22px;
  }

  .page-header__nav {
    gap: 8px;
  }
}

/* ========== AUTH / LOGIN PAGE ========== */

.twg-auth-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
}

.twg-auth-card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border: 1px solid rgba(13, 59, 102, 0.10);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  padding: 32px;
}

.twg-auth-header {
  text-align: center;
  margin-bottom: 24px;
}

.twg-auth-header h1 {
  margin: 0 0 8px;
  color: var(--twg-primary);
}

.twg-auth-header p {
  margin: 0;
  color: var(--twg-text-muted);
}

.twg-form-group {
  margin-bottom: 18px;
}

.twg-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--twg-text);
}

.twg-input,
.twg-auth-form input[type="text"],
.twg-auth-form input[type="password"],
.twg-auth-form input[type="email"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(13, 59, 102, 0.18);
  border-radius: 12px;
  padding: 0 14px;
  font-size: 0.98rem;
  box-sizing: border-box;
}

.twg-input:focus,
.twg-auth-form input:focus {
  outline: none;
  border-color: var(--twg-primary);
  box-shadow: 0 0 0 4px rgba(13, 59, 102, 0.08);
}

.twg-auth-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.twg-form-messages {
  margin-bottom: 16px;
}

.twg-form-message {
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  font-weight: 500;
}

.twg-form-message--error {
  background: rgba(180, 35, 24, 0.08);
  color: #b42318;
}

.twg-form-message--success {
  background: rgba(18, 120, 64, 0.08);
  color: #127840;
}

.twg-field-error {
  color: #b42318;
  margin-top: 6px;
  font-size: 0.92rem;
}

/* Back button – corporate blue */
.twg-back-btn {
  background: #0d3b66 !important;
  color: #fff !important;
  border-color: #0d3b66 !important;
}
.twg-back-btn:hover {
  background: #0a2e52 !important;
  border-color: #0a2e52 !important;
}

/* ========== TOGGLE SWITCH � Custom End Date ========== */
.twg-field-inline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.twg-inline-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.twg-muted {
  font-size: 0.82rem;
  color: #6b7280;
  user-select: none;
}

.twg-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 22px;
  flex-shrink: 0;
}

.twg-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.twg-slider {
  position: absolute;
  cursor: pointer;
  background-color: #d1d5db;
  border-radius: 22px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: background-color 0.25s;
}

.twg-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  top: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.25s;
}

.twg-switch input:checked + .twg-slider {
  background-color: #0d3b66;
}

.twg-switch input:checked + .twg-slider:before {
  transform: translateX(20px);
}

.twg-switch-hint {
  font-size: 0.8rem;
  color: #b45309;
  margin-top: 6px;
}

.twg-hidden {
  display: none !important;
}

/* ========== TOGGLE SWITCH � Custom End Date ========== */
.twg-field-inline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.twg-inline-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.twg-muted {
  font-size: 0.82rem;
  color: #6b7280;
  user-select: none;
}

.twg-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 22px;
  flex-shrink: 0;
}

.twg-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.twg-slider {
  position: absolute;
  cursor: pointer;
  background-color: #d1d5db;
  border-radius: 22px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: background-color 0.25s;
}

.twg-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  top: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.25s;
}

.twg-switch input:checked + .twg-slider {
  background-color: #0d3b66;
}

.twg-switch input:checked + .twg-slider:before {
  transform: translateX(20px);
}

.twg-switch-hint {
  font-size: 0.8rem;
  color: #b45309;
  margin-top: 6px;
}

.twg-hidden {
  display: none !important;
}
