:root {
  --bg-color: #f9f9f8;
  --text-main: #1a1a1a;
  --text-muted: #666;
  --accent: #2d2d2d;
  --border: #e5e5e5;
  --white: #ffffff;
  --font-family: 'Outfit', sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-main);
  height: 100vh;
  overflow: hidden;
}

.login-container {
  display: flex;
  height: 100%;
}

.animation-pane {
  flex: 1.2;
  background: linear-gradient(135deg, #f0f0ee 0%, #e8e8e6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
}

.workflow-img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 24px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.08);
  transform: perspective(1000px) rotateY(2deg);
}

.form-pane {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  padding: 40px;
}

.login-card {
  width: 100%;
  max-width: 440px;
}

.logo {
  margin-bottom: 32px;
  color: var(--accent);
}

h1 {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.error-box {
  background-color: #fef2f2;
  color: #b91c1c;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 24px;
  border: 1px solid #fee2e2;
  text-align: center;
}

.hidden {
  display: none;
}

.auth-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-main);
}

.auth-btn:hover {
  background-color: #f5f5f5;
  border-color: #ccc;
}

.auth-btn.google {
  background-color: var(--white);
  font-weight: 600;
}

.auth-btn.google img {
  width: 20px;
  height: 20px;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 12px 0;
}

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

.divider span {
  padding: 0 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.sso-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.auth-btn.sso {
  padding: 12px;
}

.footer {
  margin-top: 48px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

.footer a {
  color: var(--text-main);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 1024px) {
  .animation-pane {
    display: none;
  }
}
