.gcg-auth-open,
.gcg-auth-primary,
.gcg-auth-google,
.gcg-auth-link-button {
  cursor: pointer;
  font-family: inherit;
}
.gcg-auth-open {
  border: 0;
  border-radius: 8px;
  padding: 12px 20px;
  background: #0b3d82;
  color: #fff;
  font-weight: 700;
}
.gcg-auth-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(0,0,0,.55);
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.gcg-auth-overlay.is-open { display: flex; }
.gcg-auth-modal {
  display: none;
  width: min(520px, 96vw);
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 80px rgba(0,0,0,.28);
  padding: 26px 24px;
  position: relative;
  color: #17223b;
}
.gcg-auth-modal.is-active { display: block; }
.gcg-auth-close {
  position: absolute;
  right: 18px;
  top: 14px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #687386;
  cursor: pointer;
}
.gcg-auth-modal h2 {
  margin: 0 0 12px;
  font-size: 28px;
  letter-spacing: .04em;
  color: #17223b;
}
.gcg-auth-form label,
.gcg-candidate-final-form label {
  display: block;
  margin: 13px 0;
  font-weight: 700;
  color: #2d3748;
}
.gcg-auth-form input,
.gcg-auth-form textarea,
.gcg-candidate-final-form input,
.gcg-candidate-final-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 7px;
  font-size: 16px;
  background: #fff;
}
.gcg-auth-check { display: flex !important; gap: 8px; align-items: center; }
.gcg-auth-check input { width: auto !important; margin: 0 !important; }
.gcg-auth-primary {
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 14px 18px;
  background: #0b3d82;
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  margin-top: 12px;
}
.gcg-auth-google {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 13px 18px;
  text-align: center;
  text-decoration: none;
  color: #17223b;
  font-weight: 800;
  margin: 14px 0;
  background: #fff;
}
.gcg-auth-links {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}
.gcg-auth-link-button {
  background: transparent;
  border: 0;
  padding: 0;
  color: #0b3d82;
  font-weight: 800;
}
.gcg-auth-message {
  display: none;
  padding: 13px 15px;
  border-radius: 10px;
  margin: 12px 0 16px;
  font-weight: 700;
}
.gcg-auth-message.is-error {
  display: block;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.gcg-auth-message.is-success {
  display: block;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.gcg-candidate-final-form,
.gcg-register-box {
  max-width: 980px;
  margin: 24px auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 30px rgba(15,23,42,.08);
}
.gcg-register-error {
  border-color: #fecaca;
  color: #991b1b;
  background: #fff1f2;
  font-weight: 700;
}
.gcg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}
.gcg-grid label:nth-child(n+7) { grid-column: span 2; }
@media (max-width: 700px) {
  .gcg-grid { grid-template-columns: 1fr; }
  .gcg-grid label:nth-child(n+7) { grid-column: span 1; }
  .gcg-auth-links { flex-direction: column; }
}

.gcg-auth-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.gcg-auth-choice {
  display: block;
  text-decoration: none;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  color: #17223b;
  padding: 18px 14px;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  font-family: inherit;
}
.gcg-auth-choice span,
.gcg-auth-choice small { display: block; }
.gcg-auth-choice small {
  margin-top: 7px;
  font-size: 13px;
  color: #64748b;
  font-weight: 700;
}
.gcg-auth-choice-employer {
  background: #facc15;
  border-color: #eab308;
}
@media (max-width: 560px) {
  .gcg-auth-choice-grid { grid-template-columns: 1fr; }
}

.gcg-auth-help {
  margin: 6px 0 0;
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}
.gcg-auth-menu-no-dropdown > ul,
.gcg-auth-menu-no-dropdown > .sub-menu,
.gcg-auth-menu-no-dropdown > .dropdown-menu,
.gcg-auth-menu-no-dropdown ul.sub-menu,
.gcg-auth-menu-no-dropdown .dropdown-menu {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* v1.0.17: force single login UI. No theme/header dropdown under LOGIN. */
li.gcg-auth-menu-no-dropdown,
.gcg-auth-menu-no-dropdown {
  overflow: visible !important;
}
li.gcg-auth-menu-no-dropdown:hover > ul,
li.gcg-auth-menu-no-dropdown:hover > .sub-menu,
li.gcg-auth-menu-no-dropdown:hover > .dropdown-menu,
li.gcg-auth-menu-no-dropdown:hover > .noo-sub-menu,
li.gcg-auth-menu-no-dropdown:hover > .noo-menu-dropdown,
li.gcg-auth-menu-no-dropdown.open > ul,
li.gcg-auth-menu-no-dropdown.open > .sub-menu,
li.gcg-auth-menu-no-dropdown.open > .dropdown-menu,
li.gcg-auth-menu-no-dropdown.menu-item-has-children > ul,
li.gcg-auth-menu-no-dropdown.menu-item-has-children > .sub-menu,
li.gcg-auth-menu-no-dropdown.menu-item-has-children > .dropdown-menu,
.gcg-auth-menu-no-dropdown > ul,
.gcg-auth-menu-no-dropdown > .sub-menu,
.gcg-auth-menu-no-dropdown > .dropdown-menu,
.gcg-auth-menu-no-dropdown > .noo-sub-menu,
.gcg-auth-menu-no-dropdown > .noo-menu-dropdown,
.gcg-auth-menu-no-dropdown .sub-menu,
.gcg-auth-menu-no-dropdown .dropdown-menu,
.gcg-auth-menu-no-dropdown .noo-sub-menu,
.gcg-auth-menu-no-dropdown .noo-menu-dropdown,
.gcg-auth-force-hidden-dropdown {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}
