* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background: var(--primary-gradient);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  overflow-x: hidden;
}

.login-container {
  min-height: 100vh;
  display: flex;
}

/* Left Panel - 50% */
.info-panel {
  flex: 1;
  background: var(--primary-gradient);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 40px;
  text-align: center;
  overflow: hidden;
}

.info-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.logo-container {
  position: relative;
  z-index: 2;
  margin-bottom: 40px;
}

.logo {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  padding: 20px;
  object-fit: contain;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.portal-info {
  position: relative;
  z-index: 2;
  max-width: 400px;
}

.portal-title {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.portal-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.department-info {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  line-height: 1.5;
}

.mission-statement {
  font-size: 0.95rem;
  font-weight: 400;
  color: white;
  line-height: 1.6;
  font-style: italic;
}

/* Right Panel - 50% */
.form-panel {
  flex: 1;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 50px;
  position: relative;
}

.form-container {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}

.form-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.025em;
}

.form-subtitle {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.login-types {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  background: rgba(14, 165, 233, 0.08);
  padding: 4px;
  border-radius: 12px;
}

.login-type {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
}

.login-type.active {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 12px var(--primary-shadow);
  transform: translateY(-1px);
}

.form-group {
  margin-bottom: 20px;
}

.form-control,
.form-select {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(14, 165, 233, 0.15);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 500;
  font-family: "Inter", sans-serif;
  transition: all 0.3s ease;
  width: 100%;
}

.form-control:focus,
.form-select:focus {
  background: rgba(255, 255, 255, 1);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px var(--primary-rgba);
  outline: none;
  transform: translateY(-1px);
}

.form-control::placeholder {
  color: var(--text-secondary);
  font-weight: 500;
}

.btn-login {
  width: 100%;
  background: var(--primary-gradient);
  border: none;
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  color: white;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px var(--primary-shadow);
  margin-top: 8px;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--primary-shadow);
}

.btn-login:active {
  transform: translateY(0);
}

.alert {
  border-radius: 12px;
  margin-bottom: 20px;
  border: none;
  font-weight: 500;
  font-family: "Inter", sans-serif;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border-left: 4px solid #dc2626;
}

.alert-success {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border-left: 4px solid #16a34a;
}

/* Responsive Design */
@media (max-width: 768px) {
  .login-container {
    flex-direction: column;
  }

  .info-panel {
    min-height: 40vh;
    padding: 40px 30px;
  }

  .portal-title {
    font-size: 2.25rem;
  }

  .portal-subtitle {
    font-size: 1.1rem;
  }

  .form-panel {
    padding: 40px 30px;
  }

  .form-title {
    font-size: 1.875rem;
  }

  .logo {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .info-panel {
    padding: 30px 20px;
  }

  .form-panel {
    padding: 30px 20px;
  }

  .portal-title {
    font-size: 2rem;
  }

  .form-title {
    font-size: 1.75rem;
  }
}
