/* =======================
   Header (Desktop + Mobile)
   ======================= */
.cps-site-header{
  width: 100%;
  background: linear-gradient(to right, #132039, #294375);
 /* background: #132039; */
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.cps-site-logo-wrap{
  width: 15%;
  height: 50px;
  text-align: center;
}
.cps-site-logo-wrap img{
  height: 175px;
  width: 210px;
  margin-top: -57px;
}

/* Menu container */
.cps-nav-menu-wrap{
  text-align: center;
  width: 70%;
}

/* IMPORTANT: #cps-menu IS THE <ul> */
#cps-menu{
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
#cps-menu li { position: relative; }

#cps-menu a {
  display: block;
  padding: 12px 9px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
}
#cps-menu a:hover {
  background: rgba(255,255,255,0.1);
  color: #f7c948;
}

/* Hamburger hidden on desktop */
.cps-hamburger{ display: none; }

/* Overlay (optional, stays hidden unless you want to wire it) */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 999;
  display: none;
}
/* =======================
   Mobile
   ======================= */
@media (max-width: 768px) {
  .cps-site-logo-wrap{ width: 70%; text-align: start; }

  /* Show hamburger */
  .cps-hamburger {
    display: flex;
    flex-direction: column;
    width: 32px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-right: -55px;
    justify-content: space-between;
  }
  .cps-hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
  }
  #cps-menu{
    display: inline-block;
    padding: 15px;
  }
  .cps-nav-menu-wrap{ width: 0px; }

  .primary-nav { position: static; } 
  #cps-menu {
    position: fixed;
    inset: 0;
    background: #132039;
    flex-direction: column;
    align-items: stretch;
    padding-top: 60px;            
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 1000;
  }

  #cps-menu a {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 0;
  }

  .cps-nav-toggle:checked ~ .cps-nav-menu-wrap #cps-menu {
    transform: translateX(0%);
  }
  .cps-nav-toggle:checked ~ .overlay {
    display: block;
  }
}

/* =======================
   Auth Buttons (Login + Signup)
   ======================= */
.cps-auth-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: start;
  margin-right: 10px;
}

.auth-btn, .auth-btn:focus  {
  padding: 6px 14px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid #fff;
  border-radius: 4px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.auth-btn:hover {
  background: #fff;
  color: #132039;
}

/* For tablet view */
@media (min-width: 769px) and (max-width: 900px){
  #cps-menu a {
    padding: 12px 9px !important;
  }
  #cps-menu {
    margin-left: 60px;
	gap: 10;
  }
}
/* MOBILE: Place buttons inside mobile menu when open */
@media (max-width: 768px) {
  .cps-auth-buttons {
    position: absolute;
    top: auto;
    bottom: 24px;
    left: 0;
    right: 0;
    width: 100%;
    justify-content: center;
    gap: 16px;
    display: none;
    z-index: 1002;
  }
  .cps-nav-toggle:checked ~ .cps-auth-buttons {
    display: flex;
  }
}

/* Close button: hidden by default */
.cps-close-btn {
  display: none;
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1002;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
}

/* Only show when mobile menu is open */
@media (max-width: 768px) {
  .cps-nav-toggle:checked ~ .cps-close-btn {
    display: block;
  }
}
.cps-mobile-header-bar {
  display: none;
}


/* Base buttons */
.cps-btn { padding: 10px 16px; border: 0; background:#182848; color:#fff; border-radius:8px; cursor:pointer; }
.cps-btn:hover { opacity:.95; }

/* Modal shell */
.cps-social-modal { position: fixed; inset: 0; display: none; z-index: 9999; }
.cps-social-modal[aria-hidden="false"] { display: block; }
.cps-social-modal__backdrop { position:absolute; inset:0; background:rgba(0,0,0,.5); }
.cps-social-modal__dialog { position:relative; max-width: 420px; margin: 6vh auto; background:#fff; border-radius:16px; overflow:hidden; box-shadow:0 20px 60px rgba(0,0,0,.25); }
.cps-social-modal__close { position:absolute; top:10px; right:12px; font-size:28px; line-height:1; border:0; background:transparent; cursor:pointer; }
.cps-social-modal__body { padding: 45px 22px 24px; }
.cps-social-modal__title { margin:0 0 15px; font-size: 1.2rem; }
.cps-social-modal__subtitle { margin:0 0 16px; color:#666; }

/* Google button */
.cps-google-btn { width:100%; display:flex; align-items:center; gap:10px; justify-content:center; border:1px solid #e5e5e5; background:#fff; padding:10px 14px; border-radius:10px; cursor:pointer; font-weight:600; }
.cps-google-btn:hover { background:#fafafa; }

/* Divider */
.cps-divider { position:relative; text-align:center; margin:14px 0 18px; color:#888; font-size:.9rem; }
.cps-divider::before, .cps-divider::after { content:""; position:absolute; top:50%; width:40%; height:1px; background:#eee; }
.cps-divider::before { left:0; } .cps-divider::after { right:0; }
.cps-divider span { background:#fff; padding:0 8px; }

/* Forms */
.cps-form { display:block; }
.cps-label { display:block; margin:0 0 6px; font-weight:600; }
.cps-input-row { display:flex; gap:8px; }
.cps-cc { width:32%; }
.cps-input, .cps-cc { width:100%; border:1px solid #ddd; border-radius:10px; padding:12px 12px; font-size:1rem; outline:none; }
.cps-input:focus, .cps-cc:focus { border-color:#4b6cb7; box-shadow:0 0 0 3px rgba(75,108,183,.15); }

.cps-primary-btn { margin-top:12px; width:100%; padding:12px 16px; border:0; background:#4b6cb7; color:#fff; border-radius:10px; font-weight:700; cursor:pointer; transition:transform .2s; }
.cps-primary-btn:hover { background:#182848; transform: translateY(-1px); }
.cps-help { margin:8px 0 0; color:#777; font-size:.9rem; }
.cps-otp-actions { display:flex; justify-content:space-between; margin-top:10px; }
.cps-link-btn { background:transparent; border:0; color:#4b6cb7; cursor:pointer; padding:6px 0; }
.cps-error { color:#c62828; margin-top:10px; }

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

/* Responsive */
@media (max-width: 480px) {
  .cps-social-modal__dialog { margin: 0; min-height:100vh; max-width:100%; border-radius:0; }
  .cps-social-modal__body { padding: 22px 16px; }
}
