body {
  margin: 0;
  padding: 0;
  height: 100vh;
  background-image: url('../img/System/login.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow: hidden;
}

.login-container {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
}

.login-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 400px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.login-title {
  color: white;
  font-size: 2rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.login-subtitle {
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.1rem;
  font-weight: 300;
}

.form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  padding: 12px 20px;
  color: white;
  font-size: 14px;
  margin-bottom: 20px;
  box-shadow: none;
  height: auto;
}

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

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

.password-container {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

.btn-signin {
  background: linear-gradient(45deg, #ff9a8b, #fecfef);
  border: none;
  border-radius: 25px;
  padding: 12px;
  width: 100%;
  color: #333;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  margin: 20px 0;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-signin:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 154, 139, 0.4);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  font-size: 14px;
}

.remember-me {
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
  user-select: none;
  padding-left: 30px;
}

/* Hide the default checkbox */
.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.2s ease;
}

/* On hover */
.custom-checkbox:hover input ~ .checkmark {
  background-color: rgba(255, 255, 255, 0.3);
}

/* When checked */
.custom-checkbox input:checked ~ .checkmark {
  background: linear-gradient(45deg, #ff9a8b, #fecfef);
  border-color: transparent;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.custom-checkbox .checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Saved Users Container Styling */
.saved-users-container {
  max-height: 150px;
  overflow-y: auto;
  margin-top: 15px;
}

.saved-users-container .card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.saved-users-container .card:hover {
  background: rgba(255, 255, 255, 0.2);
}

.saved-users-container .imgUser {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.saved-users-container .cursor-pointer {
  cursor: pointer;
}

.saved-users-container .btn-danger {
  background: rgba(255, 96, 96, 0.7);
  border: none;
  padding: 3px 8px;
  font-size: 12px;
}

.forgot-password {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.forgot-password:hover {
  color: white;
}

.divider {
  text-align: center;
  margin: 30px 0 20px 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  position: relative;
}

.divider::before,
.divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.divider::before {
  left: 0;
}

.divider::after {
  right: 0;
}

.social-buttons {
  display: flex;
  gap: 15px;
}

.btn-social {
  flex: 1;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 25px;
  padding: 10px;
  color: #333;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-social:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-facebook {
  background: rgba(59, 89, 152, 0.9);
  color: white;
}

.btn-facebook:hover {
  background: #3b5998;
  color: white;
}

.btn-twitter {
  background: rgba(29, 161, 242, 0.9);
  color: white;
}

.btn-twitter:hover {
  background: #1da1f2;
  color: white;
}

@media (max-width: 576px) {
  .login-card {
      margin: 20px;
      padding: 30px 25px;
  }
  
  .login-title {
      font-size: 1.5rem;
  }
}