* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, "Segoe UI", system-ui, sans-serif;
  background: #f5f5f5;
  display: flex;
  min-height: 100vh;
}

.container {
  display: flex;
  width: 100%;
}

.left-section {
  flex: 1;
  background: #1a1a1a;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: white;
}

.accent-shape {
  position: absolute;
  width: 300px;
  height: 300px;
  background: #E21E1E;
  border-radius: 50%;
  top: -100px;
  right: -100px;
  opacity: 0.1;
}

.accent-shape-2 {
  position: absolute;
  width: 150px;
  height: 150px;
  background: #E21E1E;
  border-radius: 50%;
  bottom: 50px;
  left: -75px;
  opacity: 0.08;
}

.content {
  position: relative;
  z-index: 1;
  max-width: 400px;
}

.logo-area {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
  background: #fff;
  border-radius: 6px;
  padding: 10px 14px;
  width: fit-content;
}

.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}

.left-section h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.left-section p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin-bottom: 40px;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-box {
  border-left: 3px solid #E21E1E;
  padding-left: 12px;
}

.stat-number {
  font-size: 22px;
  font-weight: 700;
  color: #E21E1E;
  margin-bottom: 4px;
  line-height: 1.2;
  word-break: break-word;
}

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.right-section {
  flex: 1;
  padding: 60px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
}

.login-card {
  width: 100%;
  max-width: 380px;
}

.login-header {
  margin-bottom: 32px;
}

.login-card h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.login-card .subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
}

.login-progress {
  width: 40px;
  height: 3px;
  background: #E21E1E;
  border-radius: 2px;
  margin-top: 12px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.form-group input[type="text"],
.form-group input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  background: white;
  color: #1a1a1a;
  transition: all 0.3s;
  font-family: inherit;
}

.form-group input:focus {
  outline: none;
  border-color: #E21E1E;
  box-shadow: 0 0 0 3px rgba(226, 30, 30, 0.1);
}

.form-group input::placeholder {
  color: #999;
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 44px;
}

.password-addon {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 44px;
  border: none;
  background: transparent;
  color: #999;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-addon:hover {
  color: #E21E1E;
}

.alert {
  padding: 12px 14px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.4;
}

.alert-danger {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.alert-success {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.remember-forgot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  font-size: 13px;
}

.remember-label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  text-transform: none;
  letter-spacing: normal;
}

.remember-label input {
  cursor: pointer;
  accent-color: #E21E1E;
}

.login-button {
  width: 100%;
  padding: 13px 12px;
  background: #E21E1E;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: inherit;
}

.login-button:hover {
  background: #c71818;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(226, 30, 30, 0.3);
}

.login-button:active {
  transform: translateY(0);
}

.credit-section {
  text-align: center;
  padding-top: 12px;
  border-top: 1px solid #eee;
  margin-top: 24px;
}

.credit-text {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .left-section {
    padding: 40px 24px;
    min-height: 200px;
  }

  .right-section {
    padding: 40px 24px;
  }

  .left-section h1 {
    font-size: 28px;
  }

  .stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
  }
}
