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

body {
  font-family: 'Poppins', sans-serif;
  height: 100vh;
  overflow: hidden;
  background: url('https://images.unsplash.com/photo-1662452996692-11c2439432fa?q=80&w=1471&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center center;
  background-size: cover;
  position: relative;
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.login-container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.login-title {
  color: #ffffff;
  font-weight: 600;
  font-size: 32px;
  margin-bottom: 30px;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Input */
.form-label {
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 8px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

.form-control:focus {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.15);
}

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

/* Toggle Switch */
.role-toggle-container {
  margin: 25px 0;
  text-align: center;
}

.toggle-wrapper {
  display: inline-block;
  position: relative;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.toggle-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.toggle-option {
  padding: 10px 25px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  position: relative;
}

.toggle-slider {
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(50% - 5px);
  height: calc(100% - 10px);
  background:#26667F;
  border-radius: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

input[type="radio"] {
  display: none;
}

input[type="radio"]:checked + .toggle-option {
  color: #ffffff;
  font-weight: 600;
}

#admin:checked ~ .toggle-slider {
  left: calc(50%);
}

/* Button */
.btn-login {
  background: #26667F;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-weight: 600;
  font-size: 16px;
  width: 100%;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(149, 177, 248, 0.6);
}

.btn-login:hover {
  background: #26667F;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(149, 177, 248, 0.6);
}

/* Options */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.form-check-input {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.form-check-label,
.forgot-password {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.forgot-password:hover {
  color: #26667F;
  text-decoration: underline;
}

/* Icon inside input */
.input-group {
  position: relative;
}

.input-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 576px) {
  .login-card {
    padding: 30px 20px;
  }
  .login-title {
    font-size: 26px;
  }
  .toggle-option {
    padding: 8px 20px;
    font-size: 13px;
  }
}

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

body {
  font-family: 'Poppins', sans-serif;
  height: 100vh;
  overflow: hidden;
  background: url('https://images.unsplash.com/photo-1662452996692-11c2439432fa?q=80&w=1471&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center center;
  background-size: cover;
  position: relative;
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.login-container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.login-title {
  color: #ffffff;
  font-weight: 600;
  font-size: 32px;
  margin-bottom: 30px;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Input */
.form-label {
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 8px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

.form-control:focus {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.15);
}

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

/* Toggle Switch */
.role-toggle-container {
  margin: 25px 0;
  text-align: center;
}

.toggle-wrapper {
  display: inline-block;
  position: relative;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.toggle-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.toggle-option {
  padding: 10px 25px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  position: relative;
}

.toggle-slider {
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(50% - 5px);
  height: calc(100% - 10px);
  background:#26667F;
  border-radius: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

input[type="radio"] {
  display: none;
}

input[type="radio"]:checked + .toggle-option {
  color: #ffffff;
  font-weight: 600;
}

#admin:checked ~ .toggle-slider {
  left: calc(50%);
}

/* Button */
.btn-login {
  background: #26667F;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-weight: 600;
  font-size: 16px;
  width: 100%;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(149, 177, 248, 0.6);
}

.btn-login:hover {
  background: #26667F;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(149, 177, 248, 0.6);
}

/* Options */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.form-check-input {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.form-check-label,
.forgot-password {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.forgot-password:hover {
  color: #26667F;
  text-decoration: underline;
}

/* Icon inside input */
.input-group {
  position: relative;
}

.input-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 576px) {
  .login-card {
    padding: 30px 20px;
  }
  .login-title {
    font-size: 26px;
  }
  .toggle-option {
    padding: 8px 20px;
    font-size: 13px;
  }
}