/* Base styles */
@font-face {
  font-family: "Atkinson";
  src: url("/fonts/atkinson-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Atkinson";
  src: url("/fonts/atkinson-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Core colors */
  --color-dark-blue: #02020e;
  --color-dark-gray: #101010;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  --color-white: #ffffff;
  --color-black: #000000;

  /* Accent colors */
  --color-accent: #0474C4;
  --color-accent-hover: #06457F;

  /* Functional colors */
  --color-error: #ef4444;
  --color-success: #22c55e;
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Atkinson", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #202020;
  color: var(--color-white);
  padding: 1rem;
}

/* Auth Container */
.auth-container {
  display: flex;
  width: 100%;
  max-width: 1000px;
  height: 700px; /* Increased height to accommodate logo */
  background-color: var(--color-dark-gray);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Left Panel */
.auth-left-panel {
  width: 50%;
  position: relative;
  background-color: var(--color-dark-blue);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Slider functionality */
.auth-slider-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0; /* Ensure it sits behind the content */
}

.auth-slider {
  position: relative;
  width: 300%; /* 3 slides at 100% each */
  height: 100%;
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.auth-slide {
  width: 33.333%;
  height: 100%;
  position: relative;
}

.auth-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.auth-logo {
  padding: 1.5rem;
  position: relative;
  z-index: 10;
}

.auth-logo img {
  height: 30px;
}

.auth-back-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  border: none;
  border-radius: 2rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  z-index: 10; /* Ensure it's above the slider */
}

.auth-back-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.auth-hero-content {
  position: relative;
  z-index: 10;
  margin-top: auto;
  margin-bottom: 3rem;
  padding: 0 2.5rem;
}

.auth-hero-heading {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.auth-hero-subheading {
  font-size: 1rem;
  opacity: 0.8;
}

.auth-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 2rem;
  z-index: 10;
}

.auth-dot {
  width: 2rem;
  height: 0.25rem;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-dot.active {
  background: var(--color-white);
}

/* Right Panel */
.auth-right-panel {
  width: 50%;
  padding: 1.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto; /* Allow scrolling if needed */
}

.auth-form-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.auth-form-title {
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
  flex: 1;
}

.auth-form-logo {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
}

.auth-form-subtitle {
  font-size: 0.875rem;
  color: var(--color-gray-400);
  margin-bottom: 1.5rem;
}

.auth-form-subtitle a {
  color: var(--color-white);
  text-decoration: none;
}

.auth-form-subtitle a:hover {
  text-decoration: underline;
}

.auth-form-google-message {
  font-size: 0.7rem;
  color: var(--color-gray-400);
  padding-top: 0.25rem;
}

.auth-form-google-message a {
  color: var(--color-white);
  text-decoration: none;
}

.auth-form-google-message a:hover {
  text-decoration: underline;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* Reduced gap */
}

.auth-form-row {
  display: flex;
  gap: 0.75rem;
}

.auth-form-row > * {
  flex: 1;
}

.auth-input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 0.375rem;
  color: var(--color-white);
  font-size: 0.875rem;
  transition: all 0.2s;
}

.auth-input-field::placeholder {
  color: var(--color-gray-500);
}

.auth-input-field:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.1);
}

.auth-password-field {
  position: relative;
}

.auth-password-eye {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-gray-400);
  cursor: pointer;
}

.auth-checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.25rem 0 0.75rem;
}

.auth-checkbox-container input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--color-accent);
  cursor: pointer;
}

.auth-checkbox-label {
  font-size: 0.75rem;
  color: var(--color-gray-400);
  cursor: pointer;
}

.auth-checkbox-label a {
  color: var(--color-white);
  text-decoration: none;
}

.auth-checkbox-label a:hover {
  text-decoration: underline;
}

.auth-submit-button {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--color-accent);
  border: none;
  border-radius: 0.375rem;
  color: var(--color-white);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.875rem;
  margin: 0.5rem 0 1rem;
}

.auth-submit-button:hover {
  background-color: var(--color-accent-hover);
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 0.5rem 0;
  font-size: 0.75rem;
  color: var(--color-gray-500);
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--color-gray-700);
}

.auth-divider::before {
  margin-right: 1rem;
}

.auth-divider::after {
  margin-left: 1rem;
}

.auth-social-buttons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.auth-social-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 0.375rem;
  color: var(--color-white);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.auth-google-button {
  width: 80%;
}

.auth-social-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.auth-social-button img {
  width: 1.25rem;
  height: 1.25rem;
}

/* Turnstile adjustments */
.cf-turnstile {
  margin-bottom: 0.75rem;
}

/* Responsive */
@media (max-width: 950px) {
  .auth-container {
    flex-direction: row;
    height: auto;
    min-height: 550px;
  }
  
  .auth-left-panel {
    display: none;
  }
  
  .auth-right-panel {
    width: 100%;
    padding: 2rem;
  }
  
  .auth-form-row {
    flex-direction: column;
    gap: 0.75rem;
  }
} 