/* Container */
.login-container {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100vh;
  justify-items: center;
  align-items: center;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .login-container {
    grid-template-columns: 1fr 1fr;
    padding: 0;
  }
}

/* LEFT */
.login-left {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction:column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.login-left-main {
    margin-inline: auto;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    max-width: 350px;
}

.login-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
  margin-bottom:16px;
}

    .login-header h1 {
        font-size: 1.5rem;
        line-height: 2rem;
        font-weight: 600;
        letter-spacing: -0.025em;
        margin-bottom: 8px;
    }

.login-header p {
    font-size: 0.875rem;
    color: #6b7280;  
}

.global-error-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-block: 0.5rem;
    padding-inline: 0.75rem;
    padding-block: 0.5rem;
    border : 1px solid var(--destructive);
   
}

    .global-error-box p {
        color: var(--destructive); /* text-destructive */
        font-weight: 500; /* font-medium */
        font-size: 0.875rem; /* text-sm (14px) */
        line-height: 1.25rem; /* default line-height for text-sm */
    }

    .global-error-box svg {
        width: 1rem; /* w-4 (16px) */
        height: 1rem; /* h-4 (16px) */
        stroke: var(--destructive); /* stroke-destructive (for SVG) */
    }


    /* Footer locales */
    .login-left-footer {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
        position: absolute;
        bottom: 1.5rem;
        left: 50%;
        transform: translateX(-50%);
    }

.form-item{
    margin-bottom: .75rem;
}

    .form-item > label {
        padding-bottom: .5rem;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-weight: 500;
        line-height: 1;
        font-size: .875rem;
    }

.forgot-password {
    color: var(--muted-foreground);
}

.login-locale-link {
    font-size: 0.875rem;
    color: #6b7280;
    text-decoration: underline;
}

/* RIGHT */
.login-right {
    display: none;
    background-color: #3d9970;
    color: white;
    padding: 2.5rem;
    flex-direction: column;
    position: relative;
    height: 100%;
    width: 100%;
}

@media (min-width: 1024px) {
  .login-right {
    display: flex;
  }
}

.login-right-header {
  display: flex;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 500;
  z-index: 20;
  position: relative;
}

.login-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: white;
  margin-right: 0.5rem;
}

.login-right-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  fill: white;
  z-index: 10;
}

.login-right-footer {
  margin-top: auto;
  z-index: 20;
}

.login-right-text {
  font-size: 1.125rem;
}
