/* Custom Auth Layout - Split Screen v2 */

/* Desktop: Split screen layout */
@media (min-width: 768px) {
  .auth-main .auth-wrapper.v2 {
    display: flex;
    flex-direction: row;
    align-items: stretch;
  }

  .auth-main .auth-wrapper.v2 .auth-sidecontent {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #b89968 0%, #9a7a52 100%);
    position: relative;
    overflow: hidden;
  }

  .auth-main .auth-wrapper.v2 .auth-sidecontent .img-auth-side {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .auth-main .auth-wrapper.v2 .auth-form {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    background: #fff;
  }
}

/* Tablet and below: Stack vertically, hide side image */
@media (max-width: 767px) {
  .auth-main .auth-wrapper.v2 {
    display: flex;
    flex-direction: column;
  }

  .auth-main .auth-wrapper.v2 .auth-sidecontent {
    display: none;
  }

  .auth-main .auth-wrapper.v2 .auth-form {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    min-height: 100vh;
  }

  .auth-main .auth-wrapper.v2 .auth-form .card {
    margin: auto 0;
  }
}

/* Common styles for both layouts */
.auth-main .auth-wrapper.v2 .auth-form .card {
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: none;
}

.auth-main .auth-wrapper.v2 .auth-footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
}
