* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-image: url("img/uniposbg1.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 20px 20px 20px 15vw;
}

.login-wrapper {
  width: 100%;
  max-width: 500px;
}

.login-container {
  background: linear-gradient(135deg, #a8c5dd 0%, #b8d4e8 100%);
  border-radius: 25px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  padding: 50px 40px;
  text-align: center;
}

.login-header {
  margin-bottom: 40px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: flex-start;
  margin-bottom: 20px;
}

.logo-icon {
  width: 70px;
  height: 70px;
  background: #5b8fc7;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.logo-text h1 {
  color: #5b8fc7;
  font-size: 24px;
  font-weight: 700;
}

.logo-text p {
  color: #7da3d5;
  font-size: 12px;
  margin-top: 5px;
}

.login-title {
  color: #2c3e50;
  font-size: 22px;
  font-weight: 700;
  text-align: left;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  color: #3d5a80;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 15px;
  font-size: 16px;
  color: #7da3d5;
}

.input-icon-right {
  position: absolute;
  right: 15px;
  font-size: 16px;
  color: #7da3d5;
  cursor: pointer;
}

input[type="date"] {
  color: #3d5a80;
}

.input-wrapper input {
  width: 100%;
  padding: 12px 15px 12px 45px;
  background: #e8f0f7;
  border: 1px solid #d0dce6;
  border-radius: 20px;
  font-size: 14px;
  color: #3d5a80;
  transition: all 0.3s ease;
}

.input-wrapper input::placeholder {
  color: #9db4c8;
}

.input-wrapper input:focus {
  outline: none;
  background: white;
  border-color: #5b8fc7;
  box-shadow: 0 0 8px rgba(91, 143, 199, 0.3);
}

.toggle-password {
  position: absolute;
  right: 15px;
  cursor: pointer;
  color: #7da3d5;
  transition: color 0.3s;
}

.toggle-password:hover {
  color: #5b8fc7;
}

.show-password-checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  margin-top: 10px;
}

.show-password-checkbox label {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 13px;
  color: #3d5a80;
  cursor: pointer;
}

.show-password-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  cursor: pointer;
  accent-color: #5b8fc7;
}

.login-btn {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #5b8fc7 0%, #4a7ba7 100%);
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(91, 143, 199, 0.4);
}

.login-btn:active {
  transform: translateY(0);
}

.admin-btn {
  width: 100%;
  padding: 13px;
  background: white;
  color: #3d5a80;
  border: 2px solid #d0dce6;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.admin-btn:hover {
  background: #f5f9fc;
  border-color: #5b8fc7;
}

.signup-link {
  margin-top: 25px;
  color: #3d5a80;
  font-size: 13px;
}

.signup-link a {
  color: #5b8fc7;
  text-decoration: none;
  font-weight: 700;
}

.signup-link a:hover {
  color: #4a7ba7;
}

.footer-year {
  margin-top: 20px;
  color: #7da3d5;
  font-size: 12px;
}

@media (max-width: 480px) {
  .login-container {
    padding: 40px 25px;
  }

  .login-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .logo-text h1 {
    font-size: 20px;
  }

  body {
    justify-content: center;
    padding-left: 20px;
    padding-right: 20px;
  }
}
/* --- 2 COLUMN LAYOUT --- */
.form-row {
  display: flex;
  gap: 16px;
  width: 100%;
}

.form-row .form-group {
  flex: 1;
  width: 100%;
}

.login-container {
  max-width: 650px; 
  width: 100%;
}

@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}