/*
Theme Name: Kanoka Child
Theme URI: https://kanokatravel.com/
Description: Kanoka Travel homepage — navy and orange mockup on BuddyBoss.
Author: Kanoka Travel
Template: buddyboss-theme
Version: 1.0.0
Text Domain: kanoka-child
*/

/* Inner pages: navy/orange accents without replacing ReadyLaunch layouts. */
a { }
.bb-rl-button, .button.primary, a.button {
  background-color: #f15a24;
  border-color: #f15a24;
}

/* Registration actions: keep the secondary login CTA beside Create Account. */
#signup-form .submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

#signup-form .submit #signup_submit,
#signup-form .submit .kanoka-login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 48px;
  width: auto !important;
  margin: 0;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-decoration: none;
}

#signup-form .submit .kanoka-login-button {
  order: 2;
  background: #0b1b33;
  border: 2px solid #0b1b33;
  color: #ffffff;
}

#signup-form .submit .kanoka-login-button:hover,
#signup-form .submit .kanoka-login-button:focus {
  background: #f15a24;
  border-color: #f15a24;
  color: #ffffff;
}

@media (max-width: 480px) {
  #signup-form .submit #signup_submit,
  #signup-form .submit .kanoka-login-button {
    flex: 1 1 100%;
  }
}

/* Login page: make account creation an obvious peer to Log In. */
#loginform p.submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

#loginform p.submit #wp-submit,
#loginform p.submit .kanoka-create-account-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 48px;
  width: auto !important;
  margin: 0;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-decoration: none;
}

#loginform p.submit #wp-submit {
  background: #f15a24;
  border: 2px solid #f15a24;
  color: #ffffff;
}

#loginform p.submit .kanoka-create-account-button {
  order: 2;
  background: #0b1b33;
  border: 2px solid #0b1b33;
  color: #ffffff;
}

#loginform p.submit .kanoka-create-account-button:hover,
#loginform p.submit .kanoka-create-account-button:focus {
  background: #f15a24;
  border-color: #f15a24;
  color: #ffffff;
}

@media (max-width: 480px) {
  #loginform p.submit #wp-submit,
  #loginform p.submit .kanoka-create-account-button {
    flex: 1 1 100%;
  }
}

#loginform p.submit .kanoka-create-account-button {
  min-width: 140px;
  flex-shrink: 0;
  white-space: nowrap;
}

#loginform p.submit {
  flex-direction: row !important;
  justify-content: center;
}

#loginform p.submit #wp-submit {
  float: none !important;
}

/* Public Kanoka masthead shared by the login and registration screens. */
.kanoka-auth-header,
.kanoka-auth-header * {
  box-sizing: border-box;
}

.kanoka-auth-header {
  --kanoka-navy: #0b1b33;
  --kanoka-navy-deep: #06101f;
  --kanoka-orange: #f15a24;
  --kanoka-orange-hot: #ff6a30;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  color: #fff;
  background: rgba(11, 27, 51, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(6, 16, 31, 0.18);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.kanoka-auth-container {
  width: min(calc(100% - 2.5rem), 1180px);
  min-height: 78px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
}

.kanoka-auth-brand {
  display: block;
  line-height: 0;
}

.kanoka-auth-brand-logo {
  display: block;
  width: 66px;
  height: 66px;
  max-height: none;
  object-fit: contain;
}

.kanoka-auth-nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kanoka-auth-nav a,
.kanoka-auth-login-link {
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-decoration: none;
}

.kanoka-auth-nav a {
  padding: 0.35rem 0;
}

.kanoka-auth-nav a::after {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--kanoka-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.kanoka-auth-nav a:hover,
.kanoka-auth-nav a:focus,
.kanoka-auth-login-link:hover,
.kanoka-auth-login-link:focus {
  color: #fff;
}

.kanoka-auth-nav a:hover::after,
.kanoka-auth-nav a:focus::after {
  transform: scaleX(1);
}

.kanoka-auth-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.kanoka-auth-search {
  display: flex;
  align-items: center;
  margin: 0;
}

.kanoka-auth-search input[type="search"] {
  width: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  border: 0;
  color: #fff;
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  transition: width 0.2s ease, opacity 0.2s ease;
}

.kanoka-auth-search:focus-within input[type="search"] {
  width: 140px;
  margin-right: 0.35rem;
  padding: 0.2rem 0;
  opacity: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.kanoka-auth-search input[type="search"]::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.kanoka-auth-icon-btn,
.kanoka-auth-nav-toggle {
  color: #fff;
  cursor: pointer;
}

.kanoka-auth-icon-btn {
  display: grid;
  padding: 0.35rem;
  border: 0;
  background: none;
  place-items: center;
}

.kanoka-auth-divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.25);
}

.kanoka-auth-btn {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  border: 2px solid var(--kanoka-orange);
  border-radius: 999px;
  color: #111;
  background: var(--kanoka-orange);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.kanoka-auth-btn:hover,
.kanoka-auth-btn:focus {
  border-color: var(--kanoka-orange-hot);
  color: #111;
  background: var(--kanoka-orange-hot);
  transform: translateY(-1px);
}

.kanoka-auth-login-link:hover,
.kanoka-auth-login-link:focus {
  color: var(--kanoka-orange);
}

.kanoka-auth-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  background: transparent;
}

.kanoka-auth-nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}

/* The BuddyBoss registration template supplies an empty shell header. */
body.registration #masthead.site-header--bb {
  display: none !important;
}

body.registration.sticky-header .site-content {
  padding-top: 0 !important;
}

body.registration .register-section-logo {
  display: none !important;
}

body.login {
  background: #f7f4ef;
}

@media (max-width: 860px) {
  .kanoka-auth-header {
    position: relative;
  }

  .kanoka-auth-container {
    grid-template-areas:
      "brand toggle"
      "actions actions";
    grid-template-columns: auto auto;
    row-gap: 0;
  }

  .kanoka-auth-brand { grid-area: brand; }
  .kanoka-auth-nav-toggle {
    display: flex;
    grid-area: toggle;
    margin-left: auto;
  }

  .kanoka-auth-actions {
    grid-area: actions;
    justify-content: flex-end;
    padding-bottom: 0.75rem;
  }

  .kanoka-auth-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--kanoka-navy-deep, #06101f);
  }

  .kanoka-auth-nav.is-open {
    display: block;
  }

  .kanoka-auth-nav ul {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.85rem;
  }

  .kanoka-auth-actions .kanoka-auth-login-link {
    display: none;
  }

  .kanoka-auth-brand-logo {
    width: 56px;
    height: 56px;
    max-height: none;
  }
}

@media (max-width: 480px) {
  .kanoka-auth-container {
    width: min(calc(100% - 1.5rem), 1180px);
  }

  .kanoka-auth-actions {
    gap: 0.55rem;
  }

  .kanoka-auth-search:focus-within input[type="search"] {
    width: 100px;
  }
}

/* Keep the form comfortably separated from the public masthead. */
body.registration #content {
  padding-top: 28px !important;
}

/* Keep the transparent circular mark legible on the dark auth masthead. */
.kanoka-auth-brand-logo {
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.96);
  padding: 4px;
  border-radius: 50%;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
}

/* Use the full transparent white/orange wordmark in login and registration mastheads. */
.kanoka-auth-brand-logo {
  width: 180px;
  height: 80px;
  max-height: none;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}
@media (max-width: 720px) {
  .kanoka-auth-brand-logo { width: 150px; height: 67px; }
}

/* ---------- Verified social links ---------- */
.header-social {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.header-social-link {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.header-social-link:hover,
.header-social-link:focus-visible {
  border-color: #f15a24;
  color: #111;
  background: #f15a24;
}

.social-link-labels {
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-link-labels a:hover,
.footer-social-text a:hover {
  color: #f15a24;
}

.footer-social-text {
  display: flex;
  gap: 0.75rem;
  white-space: nowrap;
}

.kanoka-global-social {
  padding: 2.25rem 1.25rem;
  color: #fff;
  background: #0b1b33;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.kanoka-global-social-inner {
  width: min(100%, 720px);
  margin-inline: auto;
}

.kanoka-global-social-title {
  color: #f15a24;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  font-style: italic;
}

.kanoka-global-social-copy {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.78);
}

.kanoka-global-social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1rem;
}

.kanoka-global-social-links a,
.kanoka-contact-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 0.65rem 1.1rem;
  border: 1px solid #f15a24;
  border-radius: 999px;
  color: #fff;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.kanoka-global-social-links a:hover,
.kanoka-global-social-links a:focus-visible,
.kanoka-contact-social-links a:hover,
.kanoka-contact-social-links a:focus-visible {
  color: #111;
  background: #f15a24;
}

.kanoka-contact-social {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 14px;
  color: #fff;
  background: #0b1b33;
}

.kanoka-contact-social h2 {
  margin: 0;
  color: #f15a24;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
}

.kanoka-contact-social p {
  margin: 0.45rem 0 0;
}

.kanoka-contact-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

@media (max-width: 1024px) {
  .footer-social-text {
    justify-content: center;
  }
}

@media (max-width: 860px) {
  .header-social {
    display: none;
  }
}
