/* ═══════════════════════════════════════════
   MYLS Dashboard — Auth Screens (Login / Register)
   ═══════════════════════════════════════════ */

.auth-wrapper {
  display: flex;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* ── Left panel (hero image / background) ── */
.auth-hero {
  flex: 0 0 60%;
  background: #1E2A3B;
  position: relative;
  overflow: hidden;
}

.auth-hero img.login-img {
      width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.auth-chat-widget {
  position: absolute;
  bottom: 36px;
  left: 36px;
  display: flex;
  align-items: center;
  gap: 25px;
  z-index: 2;
}

.auth-chat-icon {
     width: 107px;
    height: 69px;
    background: var(--acc);
    /* background: var(--acc); */
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.auth-chat-bubble {
        background: var(--white);
    border-radius: 16px;
    padding: 10px 20px;
    font-size: 13px;
    box-shadow: var(--shadow-md);
    width: 194px;
    height: 104px;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    /* text-align: left; */
    justify-content: center;
    position: relative;
}

.auth-chat-bubble .title {
    font-weight: 700;
    font-style: Medium;
    font-size: 16px;
    line-height: 100%;
    margin-bottom: 5px;
    letter-spacing: 0%;
    

}
.auth-chat-bubble::after {
  content: "";
  position: absolute;
  left: -8px; /* Moves it to the left edge */
  top: 50%;
  transform: translateY(-50%) rotate(45deg); /* Centers and rotates */
  width: 16px;
  height: 16px;
  background-color: #ffffff; /* Must match box color */
  border-radius: 2px; /* Slightly rounds the tip of the arrow */
}
.auth-chat-bubble .sub {

font-weight: 400;
font-style: Light;
font-size: 16px;
line-height: 100%;
letter-spacing: 0%;

}

/* ── Right panel (form) ── */
.auth-form-panel {
  position: relative;
  flex: 1;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 60px;
  overflow-y: auto;
}
.auth-form-panel .lang-buttons {    position: absolute;
    right: 20px;
    top: 20px;}
.auth-form-inner {
  width: 100%;
  max-width: 320px;
}

.auth-logo {
  margin-bottom: 32px;
  text-align: center;
}

.auth-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: bold;
  color: var(--dark);
  margin-bottom: 6px;
}

.auth-subtitle {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
}

.auth-footer {
      text-align: center;
    margin-top: 18px;
    font-size: 13px;
    background: var(--acc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 600;
}

.auth-footer a {
  color: var(--acc);
}

.auth-divider {
  display: inline-block;
  margin: 0 6px;
  color: var(--brd);
}

/* ── Password toggle ── */
.form-group.has-icon input {
  padding-right: 40px;
}

/* ── Error state ── */
.form-error {
  font-size: 12px;
  color: #DC2626;
  margin-top: 4px;
  display: none;
}

.form-group.error input {
  border-color: #DC2626;
}

.form-group.error .form-error {
  display: block;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .auth-hero {
    display: none;
  }
  .auth-form-panel {
    padding: 32px 24px;
  }
}
