/* Body & Background */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  height: 100vh;
  background: #f0f0f0;
  position: relative;
}

.background {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url('images/background.jpg');
  background-size: cover;
  background-position: center;
  z-index: -2;
}

/* Container */
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  gap: 20px; /* space between side image and card */
}

/* Optional side image */
.side-image img {
  max-width: 200px;
  height: auto;
  border-radius: 10px;
}

/* Login Card */
.login-card {
  width: 400px;
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3); /* shadow behind card */
  text-align: center;
}

/* Card Images (Top & Bottom) */
.card-image {
  width: 100%; /* full width inside card */
  border-radius: 10px;
  margin: 15px 0;
}

/* Logo */
.logo h1 {
  margin: 0 0 15px 0;
}

/* Form Inputs */
form input[type="email"],
form input[type="password"] {
  width: 100%;
  padding: 12px 45px 12px 12px; /* space for toggle button inside */
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
.uid-wrapper {
  position: relative;
  width: 100%;
  margin: 8px 0;
}

.uid-wrapper input {
  width: 100%;
  padding-right: 60px; /* space for toggle button */
  box-sizing: border-box;
}

.uid-wrapper .toggle-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: green;
  color: white;
  border: none;
  padding: 4px 8px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 12px;
}


/* Show toggle button */
.toggle-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-220%);
  border: none;
  background: #ccc; /* neutral color */
  color: #000;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

/* Submit button */
.submit-btn {
  width: 100%;
  padding: 12px;
  margin-top: 15px;
  border: none;
  border-radius: 8px;
  background-color: #007BFF; /* universal blue */
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

/* Countdown overlay */
#loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
}

.remember-wrap {
  margin: 16px 0 20px;
}

.remember-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #111;
  cursor: pointer;
}

.remember-label input {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.remember-hint {
  margin-top: 4px;
  font-size: 12px;
  color: #666;
}

.remember-hint a {
  color: #2563eb; /* blue, universal */
  text-decoration: none;
  font-weight: 500;
}

.remember-hint a:hover {
  text-decoration: underline;
}
