:root {
  --primary-color: #f42112;
  --secondary-color: #1a1a1a;
  --accent-color: #f42112;
  --text-muted: #6c757d;
  --glass-bg: rgba(255, 255, 255, 0.9);
}

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

body {
  font-family: 'Poppins', 'Open Sans', sans-serif;
  overflow-x: hidden;
}

#login-wrapper {
  display: flex;
  min-height: 100vh;
  width: 100vw;
  background-color: #fff;
}

/* Left Side - Hero Section */
.login-hero {
  flex: 1.2;
  position: relative;
  background: url('/assets/img/suplamar-9.JPG') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: flex-end;
  padding: 60px;
  color: white;
}

.login-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  line-height: 1.6;
}

/* Right Side - Form Section */
.login-form-side {
  flex: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  padding: 40px;
}

.login-card {
  width: 100%;
  max-width: 420px;
  padding: 40px;
  background: var(--glass-bg);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px);
}

#login-header {
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.login-subtitle {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.form-group-custom {
  margin-bottom: 20px;
}

.form-group-custom label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 8px;
  margin-left: 4px;
}

.input-container {
  position: relative;
}

.input-container i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  transition: color 0.3s;
}

.form-control-custom {
  width: 100%;
  padding: 14px 14px 14px 44px;
  background: #fff;
  border: 2px solid #edeff2;
  border-radius: 12px;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-control-custom:focus {
  border-color: var(--primary-color);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 4px rgba(244, 33, 18, 0.1);
}

.form-control-custom:focus + i {
  color: var(--primary-color);
}

.btn-login {
  width: 100%;
  padding: 14px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 10px;
  box-shadow: 0 8px 24px rgba(244, 33, 18, 0.2);
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(244, 33, 18, 0.3);
  background: #d61a0f;
}

.register-link {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.register-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.register-link a:hover {
  text-decoration: underline;
}

/* Responsiveness */
@media (max-width: 992px) {
  #login-wrapper {
    flex-direction: column;
  }
  
  .login-hero {
    flex: none;
    height: 40vh;
    padding: 30px;
    align-items: center;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .login-form-side {
    flex: 1;
    padding: 20px;
  }
  
  .login-card {
    padding: 30px;
    box-shadow: none;
    background: transparent;
  }
}