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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  height: 100vh;
  overflow: hidden;
}

.login-container {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6b2c5c 0%, #8b3a7c 25%, #7b2d6e 50%, #5a1f4e 75%, #4a1a3e 100%);
  overflow: hidden;
}

/* Background blur effect */
.login-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("https://hebbkx1anhila5yf.public.blob.vercel-storage.com/image-xAvSK7mkJ2IRDVQYESM2PJT9bFtr7u.png");
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  filter: blur(8px);
}

.login-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 48px 40px;
  width: 90%;
  max-width: 440px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Logo Section */
.logo-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 2px;
  margin: 0;
}

/* Form Styles */
.login-form {
  width: 100%;
}

.input-group-custom {
  position: relative;
  margin-bottom: 20px;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 18px;
  z-index: 2;
}

.form-control-custom {
  width: 100%;
  padding: 14px 16px 14px 48px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #ffffff;
  font-size: 15px;
  transition: all 0.3s ease;
}

.form-control-custom::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-control-custom:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.password-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(168, 85, 247, 0.8);
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
  transition: color 0.3s ease;
}

.password-toggle:hover {
  color: rgba(168, 85, 247, 1);
}

/* Checkbox Styles */
.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-check-input {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  margin: 0;
}

.form-check-input:checked {
  background-color: #a855f7;
  border-color: #a855f7;
}

.form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
}

.form-check-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}

/* Login Button */
.btn-login {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.3);
}

.btn-login:hover {
  background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
  transform: translateY(-2px);
}

.btn-login:active {
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 576px) {
  .login-card {
    padding: 36px 24px;
    width: 95%;
  }

  .logo-text {
    font-size: 24px;
  }

  .form-control-custom {
    padding: 12px 16px 12px 44px;
    font-size: 14px;
  }
}
