@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #0057ff;
    --color-navy: #0b0f19;
    --color-rich-gold: #f5b942;
    --color-light-gray: #f5f6fa;
    --color-text-gray: #d0d0d0;
    --color-white: #ffffff;
}

body {
    font-family: "Montserrat", sans-serif;
    background-color: var(--color-light-gray);
    color: #333;
}

/* Preloader Overlay */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: var(--color-navy);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

/* Loader Circles */
.loader {
  display: flex;
  gap: 10px;
}

.loader span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4e00ff, #09afff);
  animation: bounce 1.4s infinite ease-in-out;
}

.loader span:nth-child(2) {
  animation-delay: 0.2s;
}
.loader span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(0.9);
    opacity: 0.5;
  }
  40% {
    transform: scale(1.3);
    opacity: 1;
  }
}

/* Hide on load */
.loaded #preloader {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.auth-wrapper {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(to bottom right, #ffffff, #f7f9fc);
    }

    .auth-card {
      background: var(--color-white);
      padding: 3rem;
      border-radius: 1.5rem;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
      max-width: 500px;
      width: 100%;
    }

    .auth-card h2 {
      font-weight: 700;
      margin-bottom: 1.5rem;
      color: var(--color-navy);
    }

    .form-control {
      border-radius: 10px;
      padding: 0.75rem 1rem;
    }

    .form-control:focus {
      border-color: var(--color-primary);
      box-shadow: 0 0 0 0.2rem rgba(0, 87, 255, 0.1);
    }

    .btn-primary {
      background-color: var(--color-primary);
      border: none;
      padding: 0.75rem 1.5rem;
      border-radius: 10px;
      font-weight: 600;
      transition: all 0.3s ease-in-out;
    }

    .btn-primary:hover {
      background-color: #0046d0;
    }

    .form-text {
      font-size: 0.85rem;
      color: var(--color-text-gray);
    }

    .form-check-label {
      font-size: 0.9rem;
    }
