:root {
  --primary: #10B981;
  --primary-hover: #059669;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  
  --bg-color: #ffffff;
  --bg-secondary: #f8fafc;
  
  --border-color: rgba(15, 23, 42, 0.1);
  --input-border: #cbd5e1;
  --input-focus: #10B981;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  
  --radius-md: 12px;
  --radius-lg: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

body, html {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
  height: 100%;
}

a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-hover);
}

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

/* Left: Form Side */
.form-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  overflow-y: auto;
}

.form-container {
  width: 100%;
  max-width: 400px;
}

.brand-link {
  display: inline-block;
  margin-bottom: 48px;
}

.brand-logo {
  height: 40px;
}

.header-text {
  margin-bottom: 32px;
}

.header-text h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.header-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.forgot-link {
  font-size: 0.875rem;
  font-weight: 500;
}

input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--input-border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-main);
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus {
  outline: none;
  border-color: var(--input-focus);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

input::placeholder {
  color: #94a3b8;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  gap: 12px;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background-color: var(--text-main);
  color: #fff;
  margin-top: 8px;
}

.btn-primary:hover {
  background-color: #000;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 32px 0;
  color: #cbd5e1;
}

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

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

.social-login {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.btn-outline {
  flex: 1;
  background: #fff;
  border: 1px solid var(--input-border);
  color: var(--text-main);
  font-weight: 600;
}

.btn-outline:hover {
  background: var(--bg-secondary);
  border-color: #94a3b8;
}

.signup-text {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Right: Visual Side */
.visual-side {
  flex: 1.2;
  background-color: var(--bg-secondary);
  background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
  background-size: 24px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border-left: 1px solid var(--border-color);
}

.logo-showcase {
  max-width: 480px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-showcase img {
  width: 100%;
  display: block;
}

@media (max-width: 960px) {
  .visual-side {
    display: none;
  }
}
