
.authentication-cover-main {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background-color: #f8fafc;
}

.auth-form-side {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  background: radial-gradient(circle at 10% 20%, rgba(43, 82, 64, 0.04) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(43, 82, 64, 0.05) 0%, transparent 40%),
              #f8fafc;
  position: relative;
  border-left: 1px solid #e2e8f0;
}

.auth-form-container {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.auth-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 2.5rem 2.25rem;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.07),
              0 0 1px 1px rgba(15, 23, 42, 0.03);
  transition: box-shadow 0.2s ease;

  @media (max-width: 576px) {
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    border: none;
    box-shadow: none;
    background: transparent;
  }
}

.auth-brand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  gap: 1rem;

  .auth-logo {
    max-height: 40px;
    width: auto;
    object-fit: contain;
  }

  .auth-portal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary-color);
    background-color: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    white-space: nowrap;
  }
}

.auth-header-text {
  margin-bottom: 1.75rem;

  .auth-title {
    font-size: 1.625rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
    line-height: 1.3;
  }

  .auth-subtitle {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 0;
  }
}

.auth-form {
  .form-group {
    margin-bottom: 1.25rem;
  }

  .auth-form-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
  }

  .auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;

    .auth-input-icon {
      position: absolute;
      left: 1rem;
      top: 50%;
      transform: translateY(-50%);
      color: #64748b;
      font-size: 1.15rem;
      pointer-events: none;
      transition: color 0.15s ease;
      z-index: 3;
    }

    .form-control {
      height: 48px;
      padding-left: 2.75rem;
      padding-right: 2.75rem;
      font-size: 0.9375rem;
      font-weight: 500;
      color: #0f172a;
      background-color: #ffffff;
      border: 1.5px solid #cbd5e1;
      border-radius: 0.75rem;
      transition: all 0.2s ease-in-out;

      &::placeholder {
        color: #94a3b8;
        font-weight: 400;
      }

      &:focus {
        border-color: var(--primary-color);
        background-color: #ffffff;
        box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.15);
        color: #0f172a;
        outline: none;

        ~ .auth-input-icon {
          color: var(--primary-color);
        }
      }
    }

    .auth-password-toggle {
      position: absolute;
      right: 0.75rem;
      top: 50%;
      transform: translateY(-50%);
      background: transparent;
      border: none;
      color: #64748b;
      font-size: 1.2rem;
      padding: 0.35rem 0.5rem;
      border-radius: 0.375rem;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: all 0.15s ease;
      z-index: 4;

      &:hover {
        color: #0f172a;
        background-color: #f1f5f9;
      }

      &:focus {
        outline: none;
        color: var(--primary-color);
      }
    }
  }

  .auth-form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.25rem;
    margin-bottom: 1.5rem;

    .form-check {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 0;

      .form-check-input {
        width: 1.15rem;
        height: 1.15rem;
        margin-top: 0;
        border: 1.5px solid #cbd5e1;
        border-radius: 0.25rem;
        cursor: pointer;

        &:checked {
          background-color: var(--primary-color);
          border-color: var(--primary-color);
        }

        &:focus {
          border-color: var(--primary-color);
          box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
        }
      }

      .form-check-label {
        font-size: 0.85rem;
        font-weight: 500;
        color: #334155;
        cursor: pointer;
      }
    }
  }

  .auth-btn-submit {
    height: 48px;
    width: 100%;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    border: none;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.35);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;

    i {
      font-size: 1.1rem;
      transition: transform 0.2s ease;
    }

    &:hover {
      background: linear-gradient(135deg, var(--primary-hover) 0%, #152d23 100%);
      box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.45);
      transform: translateY(-1px);
      color: #ffffff;

      i {
        transform: translateX(3px);
      }
    }

    &:active {
      transform: translateY(0);
      box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.25);
    }
  }
}

.auth-card-footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f1f5f9;

  .auth-security-notice {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;

    i {
      font-size: 0.95rem;
      color: #10b981;
    }
  }
}

.auth-showcase-side {
  min-height: 100vh;
  background: linear-gradient(145deg, #0e1e17 0%, #1b382c 45%, #254a3a 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;

  &::before {
    content: '';
    position: absolute;
    top: -15%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.16) 0%, rgba(52, 211, 153, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
  }

  &::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.14) 0%, rgba(20, 184, 166, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
  }

  .showcase-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.6;
    pointer-events: none;
  }
}

.auth-showcase-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  color: #ffffff;

  .showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);

    i {
      color: #34d399;
      font-size: 0.95rem;
    }
  }

  .showcase-title {
    color: #ffffff !important;
    font-size: 2.15rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  }

  .showcase-desc {
    color: rgba(240, 253, 244, 0.88) !important;
    font-size: 0.975rem;
    line-height: 1.65;
    margin-bottom: 2.25rem;
    font-weight: 400;
  }

  .showcase-features {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
  }

  .showcase-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

    &:hover {
      background: rgba(255, 255, 255, 0.12);
      border-color: rgba(255, 255, 255, 0.28);
      transform: translateX(4px);
    }

    .showcase-card-icon {
      width: 42px;
      height: 42px;
      border-radius: 0.65rem;
      background: rgba(52, 211, 153, 0.2);
      border: 1px solid rgba(52, 211, 153, 0.35);
      color: #6ee7b7;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.25rem;
      flex-shrink: 0;
    }

    .showcase-card-title {
      color: #ffffff !important;
      font-size: 0.95rem;
      font-weight: 600;
      margin-bottom: 0.2rem;
    }

    .showcase-card-text {
      color: rgba(240, 253, 244, 0.78) !important;
      font-size: 0.8125rem;
      line-height: 1.45;
      margin-bottom: 0;
    }
  }

  .showcase-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);

    .stat-item {
      .stat-value {
        color: #ffffff;
        font-size: 1.35rem;
        font-weight: 700;
        margin-bottom: 0.15rem;
      }

      .stat-label {
        color: rgba(240, 253, 244, 0.75);
        font-size: 0.75rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.04em;
      }
    }
  }
}

