/* login.css */
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Colors */
  --primary: #0a6094;
  --primary-hover: #116397;
  --secondary: #63666A;
  --tertiary: #D1D3D4;
  
  --surface: #ffffff;
  --on-surface: #1e1b18;
  --on-surface-variant: #41474f;
  
  --outline: #717880;
  --outline-variant: #c0c7d0;

  /* Typography */
  --font-headline: 'Hanken Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Shapes */
  --rounded-base: 0.25rem; /* 4px */
}

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: var(--font-body);
  background-color: var(--surface);
  color: var(--on-surface);
}

.split-screen {
  display: flex;
  min-height: 100vh;
}

.split-image {
  flex: 1;
  background-image: url('/static/img/login-bg.png');
  background-size: cover;
  background-position: center;
  position: relative;
}

.split-image::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-color: rgba(10, 96, 148, 0.15); /* primary blue overlay */
}

.split-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 48px;
  background-color: var(--surface);
  position: relative;
}

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .split-screen {
    flex-direction: column-reverse;
  }
  .split-image {
    min-height: 30vh;
    flex: none;
  }
  .split-form {
    flex: 1;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .split-image {
    display: none;
  }
}

.header {
  margin-bottom: auto;
}

.header img {
  height: 48px;
  object-fit: contain;
}

.login-form-container {
  max-width: 400px;
  margin: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.title {
  font-family: var(--font-headline);
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  letter-spacing: -0.01em;
  color: var(--primary);
  margin: 0 0 12px 0;
}

.subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--on-surface-variant);
  margin: 0 0 32px 0;
}

.btn-microsoft {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: transparent;
  color: var(--on-surface);
  border: 1px solid var(--secondary);
  border-radius: var(--rounded-base);
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.btn-microsoft:hover {
  background-color: #f8f9fa;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-microsoft svg {
  width: 20px;
  height: 20px;
}

.footer {
  margin-top: auto;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--tertiary);
}
