* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f7f7f7;
}

/* Layout */
.login-page {
  display: flex;
  min-height: 100vh;
}

.login-brand {
  flex: 1;
  background: linear-gradient(135deg, #000, #1a1a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.brand-content {
  text-align: center;
}

/* Logo styling */
.brand-logo {
  max-width: 260px;
  width: 100%;
  height: auto;
  margin-bottom: 16px;
  animation: fadeIn 1s ease forwards;
}

/* Tagline */
.brand-tagline {
  color: #fff;
  opacity: 0.85;
  font-size: 14px;
  letter-spacing: 1px;
}

/* Login Card Section */
.login-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  background: #fff;
  width: 100%;
  max-width: 380px;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.login-card h2 {
  font-size: 26px;
  margin-bottom: 6px;
}

.subtitle {
  color: #777;
  margin-bottom: 24px;
}

/* Form */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  font-size: 14px;
  margin-bottom: 6px;
  display: block;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.form-group input:focus {
  outline: none;
  border-color: #ffcb08;
}

/* Options */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  font-size: 13px;
}

.remember {
  display: flex;
  align-items: center;
  gap: 6px;
}

.forgot {
  color: #ffcb08;
  text-decoration: none;
}

/* Button */
.login-btn {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: #ffcb08;
  color: #000;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Footer */
.footer-text {
  text-align: center;
  font-size: 12px;
  color: #aaa;
  margin-top: 20px;
}

.mobile-login-header {
  display: none;
  background: #000;
  padding: 16px;
  text-align: center;
}

.mobile-logo {
  max-width: 160px;
  width: 100%;
  height: auto;
}

.otp-container {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.otp-input {
  width: 48px;
  height: 52px;
  text-align: center;
  font-size: 20px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.otp-input:focus {
  outline: none;
  border-color: #ffcb08;
  box-shadow: 0 0 0 2px rgba(255,203,8,0.2);
}

@media (max-width: 1024px) {
  .brand-logo {
    max-width: 220px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .login-brand {
    display: none;
  }

  .login-card {
    box-shadow: none;
    border-radius: 0;
    height: 100vh;
    justify-content: center;
  }
  
  .mobile-login-header {
    display: block;
  }

  .login-page {
    min-height: calc(100vh - 64px);
  }
}

@media (max-width: 480px) {
  .otp-input {
    width: 42px;
    height: 48px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
