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

body.bodema-login-body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif !important;
  background:
    linear-gradient(180deg, rgba(45, 28, 18, 0.82), rgba(26, 17, 12, 0.9)),
    repeating-linear-gradient(
      90deg,
      #5d3d2a 0,
      #5d3d2a 22px,
      #4f3324 22px,
      #4f3324 30px
    ),
    linear-gradient(135deg, #78503a 0%, #5a3a2a 52%, #3f291d 100%) !important;
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  overflow-x: hidden !important;
  margin: 0 !important;
  padding: 20px !important;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(40px) translateX(20px);
  }
}

.login-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
}


.intranet-wrapper {
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 100%;
  max-width: 1300px;
  padding: 50px 60px;
  gap: 80px;
  background:
    linear-gradient(150deg, rgba(71, 46, 33, 0.88), rgba(53, 35, 25, 0.8)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(20px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.intranet-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.left-header {
  margin-bottom: 40px;
}

.logo {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 800;
  background: linear-gradient(140deg, rgba(108, 68, 45, 0.5), rgba(86, 55, 37, 0.45));
  border: 1px solid rgba(201, 164, 134, 0.38);
  margin-bottom: 18px;
}

.left-header h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  opacity: 0.95;
}

.left-content h1 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.2;
  color: #fff;
}

.left-content > p {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 34px;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(108, 68, 45, 0.2);
  padding: 16px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-icon {
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  flex-shrink: 0;
  padding-top: 2px;
}

.feature-item strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 13px;
  opacity: 0.85;
  line-height: 1.5;
}

.intranet-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  background: rgba(252, 248, 244, 0.96);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 45px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  animation: slideIn 0.6s ease-out;
}

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

.login-card h3 {
  font-size: 28px;
  font-weight: 700;
  color: #6c442d;
  margin-bottom: 8px;
  text-align: center;
}

.login-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 28px;
  text-align: center;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
  background-color: #fafafa;
}

.form-input:focus {
  outline: none;
  border-color: #15803d;
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(21, 128, 61, 0.14);
}

.login-button {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #15803d, #166534);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  box-shadow: 0 6px 20px rgba(22, 101, 52, 0.3);
  margin-top: 6px;
  margin-bottom: 18px;
}

.login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(22, 101, 52, 0.42);
}

.security-info {
  text-align: center;
  font-size: 12px;
  color: #166534;
  padding: 12px;
  background: rgba(22, 101, 52, 0.1);
  border-radius: 10px;
}

.error-message {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: #fff;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 16px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.25);
}

.error-message p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .intranet-wrapper {
    grid-template-columns: 1fr;
    padding: 40px 35px;
    gap: 40px;
  }

  .left-content h1 {
    font-size: 32px;
  }
}

@media (max-width: 600px) {
  body.bodema-login-body {
    padding: 12px !important;
  }

  .intranet-wrapper {
    padding: 26px 20px;
    gap: 26px;
    border-radius: 20px;
  }

  .intranet-left {
    display: none;
  }

  .login-card {
    padding: 30px 24px;
  }

  .login-card h3 {
    font-size: 24px;
  }

  .form-input {
    padding: 12px 14px;
    font-size: 14px;
  }

  .login-button {
    padding: 13px;
    font-size: 14px;
    letter-spacing: 1px;
  }

}
