/* ===== Base Styles ===== */
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(180deg, #fefefe 0%, #fff3e0 100%);
  background-image: url("images/background.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #333;
}

/* ===== Login Container ===== */
.login-container {
  max-width: 420px;
  height: auto;
  margin: 40px auto; /* Adjusted to match first page */
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  position: relative;
  text-align: center;
}

.black-extension {
  width: 100%;
  height: 14px;
  background-color: #000;
}

.content-container {
  padding: 30px 20px; /* Adjusted padding to match first page */
  text-align: center;
}

/* ===== Logo and Titles ===== */
.logo {
  width: 70px;
  margin-bottom: 25px;
}

.title {
  font-size: 34px;
  font-weight: bold;
  color: #000;
  margin-bottom: 15px;
}

.instruction {
  font-size: 18px;
  font-weight: 600;
  color: #444;
  margin: 25px 0;
}

/* ===== User Email Display ===== */
.user-email-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f6f6f6;
  border-radius: 50px;
  padding: 12px 18px;
  margin: 15px auto 25px; /* Adjusted spacing */
  width: fit-content;
  box-shadow: inset 0 0 4px rgba(0,0,0,0.1);
  transition: background 0.3s ease;
}

.user-email-container:hover {
  background-color: #eee;
}

.user-email-back {
  margin-right: 10px;
  cursor: pointer;
  color: #000;
}

.user-email-icon {
  margin-right: 10px;
  color: #777;
}

.user-email {
  font-weight: bold;
  color: #333;
  font-size: 14px;
}

/* ===== Input Styling ===== */
.input-container {
  position: relative;
  margin-bottom: 30px;
  width: 100%;
}

.input-container input {
  width: 100%;
  padding: 12px 0;
  border: none;
  outline: none;
  font-size: 16px;
  background: transparent;
  color: #000;
}

.input-container label {
  position: absolute;
  top: 10px;
  left: 0;
  color: #888;
  font-size: 16px;
  transition: 0.3s ease;
}

.input-container .input-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 100%;
  background-color: #ccc;
}

.input-container .input-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: #ff6600;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.input-container input:focus + label,
.input-container input:valid + label {
  top: -20px;
  font-size: 13px;
  color: #ff6600;
}

.input-container input:focus ~ .input-underline::after {
  transform: scaleX(1);
}

.toggle-eye {
  position: absolute;
  right: 0;
  top: 10px;
  cursor: pointer;
  font-size: 18px;
  color: #ff6600;
}

/* ===== Buttons ===== */
button {
  background: #ff6600;
  color: white;
  padding: 14px;
  width: 180px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: 0.3s ease;
  box-shadow: 0 4px 8px rgba(255,102,0,0.3);
}

button:hover {
  background: #e55d00;
}

/* ===== Footer ===== */
footer {
  margin-top: 80px;
  padding: 25px 15px;
  background: #000;
  color: #fff;
  text-align: center;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

footer a {
  color: #ffb347;
  text-decoration: none;
  transition: 0.3s;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ===== Forgot ID Link ===== */
.forgot-id {
  display: inline-block;
  margin-top: 20px;
  color: #eb9a03; /* Orange */
  font-weight: bold;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.forgot-id:hover {
  color: #000;
  text-decoration: underline;
}

.forgot-id i {
  margin-left: 5px;
  font-size: 12px;
}