/* =============================================
   Video Gallery — Full-page login screen
   ============================================= */

body.video-gallery-page {
  margin: 0;
  padding: 0;
  background-color: #223261;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
}

/* Outer wrap — centers everything vertically */
.vg-login-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
  box-sizing: border-box;
  position: relative;
}

/* Logo at top */
.vg-login-logo {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
  padding: 20px 20px 10px;

  @media (min-width:992px) {
    padding: 30px 20px 10px;
  }
}

.vg-login-logo img {
  width: 100px;
  height: auto;
  display: block;

  @media (min-width:992px) {
    width: 150px;
  }
}

/* White card */
.vg-login-card {
  background: #ffffff;
  width: 100%;
  max-width: 590px;
  margin: 0 20px;
  padding: 36px 20px 58px;
  box-sizing: border-box;

  @media (min-width:1200px) {
    padding: 46px 67px 80px;
  }
}

/* "LOG IN" heading */
.vg-login-heading {
  font-family: 'Columbus MT Std', 'Georgia', serif;
  font-size: 1.875rem;
  font-weight: bold;
  letter-spacing: normal;
  text-transform: uppercase;
  color: #223261;
  text-align: center;
  line-height: normal;
  margin: 0 0 25px;
  padding: 0;

  @media (min-width:1200px) {
    font-size: 2.5rem;
    margin: 0 0 50px;
  }
}

/* Form */
.vg-login-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Input */
.vg-input-wrap {
  margin-bottom: 0;
}

.vg-password-input {
  display: block;
  width: 100%;
  height: 50px;
  padding: 6px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #223261;
  background: #ffffff;
  border: 1px solid #223261;
  border-radius: 0;
  outline: none;
  box-sizing: border-box;
  -webkit-appearance: none;
  margin-bottom: 14px;

  @media (min-width:992px) {
    height: 57px;
    font-size: 20px;
  }
}

.vg-password-input::placeholder {
  color: rgba(34, 50, 97, 0.45);
}

.vg-password-input:focus {
  border-color: #223261;
  box-shadow: none;
}

/* Submit button — default: text link style */
.vg-submit-wrap {
  margin-top: 0;

  .vg-submit-btn {
    opacity: 0.4;
    pointer-events: none;
  }
}

.vg-input-wrap:has(input[type="password"]:focus)+.vg-submit-wrap input.vg-submit-btn {
  opacity: 1;
  pointer-events: inherit;
}

.vg-submit-btn,
input[type="submit"],
input[type="button"],
button.vg-submit-btn {
  padding: 13px 20px;
  border-color: #000000;
  border: 0 !important;
  border-top: 2px solid #000000 !important;
  border-bottom: 2px solid #000000 !important;
  cursor: pointer;
  position: relative;
  background-color: transparent !important;
  color: #000000 !important;
  font-weight: 700;
  font-size: 15px;
  max-width: unset !important;
  transition: all 0.3s ease;
  text-transform: uppercase;

  @media (max-width:767px) {
    padding: 8px 20px;
  }

  &:hover {
    color: #ffffff !important;
    background-color: #000000 !important;
    transition: all 0.3s ease;
  }
}

/* When input has value — button fills navy (JS toggles class) */
.vg-login-form.has-value .vg-submit-btn {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 480px) {
  .vg-login-card {
    padding: 36px 24px 40px;
  }
}

/* =============================================
   Fallback: old WordPress password form styles
   (used if template isn't assigned)
   ============================================= */
.rubicon-password-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 124px - 280px);
  padding: 80px 20px;
}

.rubicon-password-box {
  width: 100%;
  max-width: 480px;
  text-align: center;
}

.rubicon-password-label {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 26px;
  color: #000000;
  margin: 0 0 36px;
  display: block;
}

.rubicon-password-form {
  display: flex;
  flex-direction: column;
}

.rubicon-password-field,
.rubicon-password-submit-wrap {
  width: 100%;
  margin: 0;
  padding: 0;
}

.rubicon-password-input {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #000000;
  background-color: #ffffff;
  border: 1px solid #223261;
  border-bottom: none;
  outline: none;
  box-sizing: border-box;
  border-radius: 0;
  display: block;
}

.rubicon-password-submit {
  display: block;
  width: 100%;
  height: 52px;
  background-color: #223261;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  outline: none;
  border-radius: 0;
  margin: 0;
  padding: 0;
}