/* ROOT */
.wcs-login {
  padding: 0 15px;
  height: 100vh;
}

/* GRID */
.wcs-login__layout {
  display: grid;
  grid-template-columns: 52.34fr 47.65fr;
}

/* PANELS */

.wcs-login__panel--form {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  @media (max-width:1024px){
    padding: 15px 0;
    height: 100vh;
  }
}

.wcs-login__panel--visual {
  background: var(--action);
  padding: clamp(48px, 6vw, 56px);
  padding-right: 0;
  border-radius: 24px;
  overflow: hidden;
  margin: 10px;
}

/* BRAND */
.wcs-login__brand {
  margin-bottom: 54px;
  @media (max-width:767px){
    margin-bottom: 30px;
  }
}

.wcs-login__logo {
  max-width: 247px;
  @media (max-width:767px){
    max-width: 120px;
  }
}

/* CONTENT */
.wcs-login__content {
  width: 451px;
  @media (max-width:767px){
    width: 100%;
  }
}

.wcs-login__title {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.33;
  color: var(--black);
  margin-bottom: 8px;
}

.wcs-login__subtitle {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.71;
  color: var(--black-2);
  margin-bottom: 32px;
}
/* form  edd */
/* Wrapper (optional parent container) */
#edd_login_form {
  max-width: 451px;
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
}

/* Remove default fieldset styles */
#edd_login_form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

/* Legend (title) */
#edd_login_form legend {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111827;
}

/* Paragraph spacing */

/* Labels */
.edd-login-username,.edd-login-password{
  margin-bottom: 15px;
}
.edd-login-remember{
  margin-bottom: 28px;
}
#edd_login_form label {
  display: block;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.71;
  color: var(--black);
  margin-bottom: 5px;
}

/* Text + password inputs */
#edd_login_form .edd-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  background: #F0F3F6;
  font-size: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
  height: 40px;
  border: 1px solid transparent;
}

#edd_login_form .edd-input:focus {
  outline: none;
  background: #ffffff;
  border-color: #2f6fe4;
}

/* Remember me */
#edd_login_form .edd-login-remember label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #374151;
  cursor: pointer;
}

#edd_login_form .edd-login-remember input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--action);
}

/* Submit button */
#edd_login_form .edd-submit {
  font-family: var(--font_inter);
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  background: var(--action);
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  color: #FAFAFA;
  display: block;
  border: 1px solid transparent;
  transition:
    transform 0.25s cubic-bezier(.34,1.56,.64,1),
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

/* Hover */
#edd_login_form .edd-submit:hover {
  transform: scale(1.03) rotate(0.3deg);
}

/* Lost password link */
#edd_login_form .edd-lost-password {
  text-align: center;
  margin-top: 10px;
}

#edd_login_form .edd-lost-password a {
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  color: var(--black-2);
}

#edd_login_form .edd-lost-password a:hover {
  text-decoration: underline;
}

/* Error messages (EDD default) */
.edd_errors,
.edd_error {
  background: #fef2f2;
  color: #b91c1c;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 20px;
}

/* COPYRIGHT */
.wcs-login__copyright {
    position: absolute;
    left: 20px;
    bottom: 23px;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.57;
    color: var(--black-2);
    @media (max-width:1024px){
      bottom: 15px;
      left: 50%;
      transform: translateX(-50%);
    }
}

/* HERO */
.wcs-login__hero {
  color: #ffffff;
}

.wcs-login__hero-title {
  font-weight: 600;
  font-size: 36px;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 8px;
}

.wcs-login__hero-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--white);
  padding-bottom: 29px;
  max-width: 628px;
}

/* MOCKUPS */
.wcs-login__mockup {
  width: 100%;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .wcs-login__layout {
    grid-template-columns: 1fr;
  }

  .wcs-login__panel--visual {
    display: none;
  }
}
