/* TereaTV account menu: clear login and registration paths for signed-out visitors. */
#header .top-nav > li > a[href$="/clientarea.php"] {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 3px;
  padding: 8px 14px;
  border: 1px solid #e85d04;
  border-radius: 9px;
  background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 7px 16px rgba(232, 93, 4, .20);
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}

#header .top-nav > li > a[href$="/clientarea.php"]::before {
  content: "\2192";
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .20);
  color: #fff;
  font-size: 13px;
  line-height: 1;
}

#header .top-nav > li > a[href$="/clientarea.php"]:hover,
#header .top-nav > li > a[href$="/clientarea.php"]:focus {
  border-color: #111827;
  background: #111827;
  color: #fff !important;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 9px 20px rgba(15, 23, 42, .24);
}

#header .top-nav > li > a[href$="/register.php"] {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 3px;
  padding: 8px 14px;
  border: 1px solid #e85d04;
  border-radius: 9px;
  background: linear-gradient(135deg, #ff8a1f 0%, #e85d04 100%);
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 7px 16px rgba(232, 93, 4, .22);
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}

#header .top-nav > li > a[href$="/register.php"]::before {
  content: "+";
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .20);
  color: #fff;
  font-size: 14px;
  line-height: 1;
}

#header .top-nav > li > a[href$="/register.php"]:hover,
#header .top-nav > li > a[href$="/register.php"]:focus {
  border-color: #111827;
  background: #111827;
  color: #fff !important;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 9px 20px rgba(15, 23, 42, .24);
}

.navbar-main .navbar-nav > li.dropdown > .dropdown-menu {
  min-width: 228px;
  padding: 9px;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .18);
}

.navbar-main .navbar-nav > li.dropdown > .dropdown-menu > li > a {
  padding: 11px 13px;
  border-radius: 8px;
  color: #334155;
  font-weight: 650;
  transition: background-color .16s ease, color .16s ease, transform .16s ease;
}

.navbar-main .navbar-nav > li.dropdown > .dropdown-menu > li > a:hover,
.navbar-main .navbar-nav > li.dropdown > .dropdown-menu > li > a:focus {
  background: #fff7ed;
  color: #9a3412;
}

#Secondary_Navbar-Account-Register > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 5px 2px 7px;
  padding: 12px 15px;
  border: 1px solid #e85d04;
  border-radius: 9px;
  background: linear-gradient(135deg, #ff8a1f 0%, #e85d04 100%);
  color: #fff !important;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: 0 9px 20px rgba(232, 93, 4, .25);
}

#Secondary_Navbar-Account-Register > a::before {
  content: "+";
  display: inline-grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .20);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}

#Secondary_Navbar-Account-Register > a:hover,
#Secondary_Navbar-Account-Register > a:focus {
  border-color: #111827;
  background: #111827 !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 11px 24px rgba(15, 23, 42, .25);
}

#Secondary_Navbar-Account-Login > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 2px 2px 7px;
  padding: 11px 15px;
  border: 1px solid #fb923c;
  border-radius: 9px;
  background: linear-gradient(135deg, #fffaf5 0%, #ffedd5 100%);
  color: #9a3412 !important;
  font-weight: 800;
  letter-spacing: .01em;
}

#Secondary_Navbar-Account-Login > a::before {
  content: "\2192";
  display: inline-grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  background: #fed7aa;
  color: #c2410c;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

#Secondary_Navbar-Account-Login > a:hover,
#Secondary_Navbar-Account-Login > a:focus {
  border-color: #e85d04;
  background: linear-gradient(135deg, #fb923c 0%, #e85d04 100%) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(232, 93, 4, .20);
}

#Secondary_Navbar-Account-Login > a:hover::before,
#Secondary_Navbar-Account-Login > a:focus::before {
  background: rgba(255, 255, 255, .20);
  color: #fff;
}

.terea-register-optional-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 18px;
  padding: 11px 13px;
  border: 1px solid #fed7aa;
  border-radius: 9px;
  background: #fff7ed;
  color: #7c2d12;
  font-size: 13px;
  line-height: 1.55;
}

.terea-register-optional-note__icon {
  display: inline-grid;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: #f97316;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.terea-register-optional-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 7px;
  border: 1px solid #fdba74;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1;
  vertical-align: middle;
}

#Secondary_Navbar-Account-Forgot_Password\? {
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px solid #e2e8f0;
}

@media (max-width: 767px) {
  #header .top-nav > li > a[href$="/clientarea.php"],
  #header .top-nav > li > a[href$="/register.php"] {
    gap: 5px;
    padding: 7px 10px;
    font-size: 13px;
  }

  .navbar-main .navbar-nav > li.dropdown > .dropdown-menu {
    margin: 0 12px 12px;
    padding: 9px;
    border-radius: 12px;
    background: #fff;
  }

  .navbar-main .navbar-nav > li.dropdown > .dropdown-menu > li > a {
    color: #334155;
  }

  #Secondary_Navbar-Account-Register > a {
    min-height: 46px;
    color: #fff !important;
  }

  #Secondary_Navbar-Account-Login > a {
    min-height: 44px;
  }

  .terea-register-optional-note {
    margin-bottom: 15px;
    padding: 10px 11px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .navbar-main .navbar-nav > li.dropdown > .dropdown-menu > li > a {
    transition: none;
  }
}
