body {
  font-family: 'Quicksand', sans-serif;
  background: linear-gradient(135deg, #37003c 0%, #240027 100%); /* FPL style */
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}


/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* CONTAINER */
.container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 1rem;
}


.ping-sso__container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.ping-sso__content-wrapper {
  max-width: 400px;
  margin: 0 auto;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* horizontal centering */
  text-align: center;
}

.ping-sso__form-title {
  font-weight: 700;
  margin-bottom: 20px;
}

.text-input {
  margin-bottom: 20px;
  position: relative;
}

.text-input__label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.text-input__input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

.button {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.button--filled {
  background-color: #1a1a1a;
  color: #fff;
  border: none;
}

.button--outlined {
  border: 2px solid #1a1a1a;
  color: #1a1a1a;
  background: transparent;
}

.button--full-width {
  width: 100%;
}

.ping-sso__social-button--google {
  background-color: #de5246;
  color: #fff;
  border: none;
}

.ping-sso__social-button--google:hover {
  background-color: #c74439;
}

.ping-sso__social-button--microsoft {
  background-color: #2f2f2f;
  color: #fff;
  border: none;
}

.ping-sso__social-button--microsoft:hover {
  background-color: #1f1f1f;
}

.ping-sso__buttons-container p {
  margin: 15px 0;
}

.ping-sso__help-buttons {
  margin-top: 20px;
}

.button--text {
  background: none;
  border: none;
  color: #555;
  padding: 5px 0;
  display: block;
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid #e9ad02;
  border-radius: 12px; /* rounded corners */
  background: transparent;
  color: #FFFFFF;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Google icon inside button */
.google-btn img.google-icon {
  width: 20px;
  height: 20px;
}

/* Hover effect */
.google-btn:hover {
  background-color: #e9ad02;
  color: black;
}

.google-icon {
    width: 20px;
    height: 20px;
}

.login-page {
  display: flex;
  gap: 2rem;
}

.login-form {
  flex:1;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical centering */
  align-items: center;     /* horizontal centering */
  min-height: 80vh;        /* almost full height */
  text-align: center;
  gap: 1.5rem;             /* space between elements */
  padding: 2rem;
}

/* Login title */
.login-form h1 {
  font-size: 2rem;
  color: #FFFFFF;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Buttons container */
.login-form .ping-sso__buttons-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 300px;
}

.login-promo {
  
    flex: 1;
    max-width: 400px;
    padding: 2rem;
    background: linear-gradient(135deg, #2d0031, #e9ad02);
    border-radius: 2rem 0 0 2rem;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: center;
    min-height: 80vh;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: visible;
    align-items: stretch;
    flex-wrap: nowrap;
    align-content: center;
}

.swiper-button-next,
.swiper-button-prev {
  color: white; /* ensure buttons are visible */
  top: 50%;
  transform: translateY(-50%);
}

#email {
    width: 100%;
    padding: 0.75rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
    box-sizing: border-box;
    outline: none;
    background-color: #fff;
    color: #000;
}

#verifyCode {
    width: 50px;
    padding: 0.75rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
    box-sizing: border-box;
    outline: none;
    background-color: #fff;
    color: #000;
}

.code-inputs {
  display: flex;
  justify-content: center;   /* keep centered */
  gap: 0.4rem;               /* small space between boxes */
  margin: 1em auto;
  max-width: 100%;           /* prevent overflow */
  overflow: hidden;          /* hide accidental overflow */
}

.codeInput {
  flex: 1 1 auto;            /* let them shrink/grow */
  max-width: 35px;           /* good size on larger screens */
  min-width: 30px;           /* never shrink below this */
  aspect-ratio: 1 / 1;       /* keep square shape */
  text-align: center;
  font-size: 1.2rem;
  border-radius: 8px;
  border: 1px solid #ccc;
}


/* RESPONSIVE */

@media(max-width: 900px) {
  .content-layout {
    grid-template-columns: 1fr; /* stack everything */
  }
  .sidebar {
    grid-template-columns: 1fr 1fr; /* 2 per row on smaller screens */
    grid-template-rows: auto;
  }
}

@media(max-width: 768px) {
  
    .login-promo {
    display: none;
  }

  .ping-sso__content-wrapper {
    max-width: 400px; /* adjust as needed */
    margin: 0 auto;    /* center horizontally */
    min-height: 80vh;  /* optional: keep vertical height */
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

}