@import '../../styles/theme.scss';

.login-page {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: var(--bs-landing-bg) no-repeat center center fixed;
  background-size: cover;

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bs-bg-overlay); // Slight overlay for text readability
    z-index: 1;
  }

  .card {
    position: relative;
    z-index: 2;
    border: none;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
  }

  h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: $dark-text;
  }

  .form-control {
    border-radius: 4px;
  }

  .btn-primary {
    background-color: map-get($theme-colors, 'primary');
    border-color: map-get($theme-colors, 'primary');
    &:hover {
      background-color: darken(map-get($theme-colors, 'primary'), 10%);
    }
  }

  .text-center a {
    color: map-get($theme-colors, 'primary');
    &:hover {
      text-decoration: underline;
    }
  }

  .alert-danger {
    background-color: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.3);
  }
}
