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

html,
body {
  height: 100%;
}

body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  background-color: #eaeaea;
}

/* ===== LINKS ===== */
a {
  text-decoration: none;
  color: #fff;
}

/* ===== MAIN LAYOUT ===== */
main {
  flex: 1;
  padding: 40px 20px;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* =====================================================
   HEADER (FROM 2ND CSS: layout + style ONLY, yellow theme)
   ===================================================== */
header {
  display: flex;
  align-items: center;
  padding: 20px;
  background-color: #f4f4f4;
  border-top: 4px solid #ffd801;
}

header nav {
  margin-left: 20px;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #ffffff;
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 6px 16px;
  border-radius: 6px;
}

.logo {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

.title {
  font-size: 20px;
  color: #333;
  font-weight: normal;
  line-height: 55px;
}

.title-2 {
  font-size: 1.6rem;
  font-weight: 300;
  text-align: left;
}

/* ===== CARD (UNCHANGED) ===== */
.card {
  text-align: left;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 12px;
  background-color: #fff;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ===== BANNER (ONLY BLUE → YELLOW) ===== */
.banner {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  border-radius: 6px;
  border: 1px solid #ccc;
  border-bottom: 5px solid #ffd801;
  padding: 1rem;
  margin-bottom: 0.8rem;
}

.warning {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

/* ===== TEXT (UNCHANGED) ===== */
.title-confirm {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  padding: 1.2rem 0 1rem 0;
  margin-bottom: 0.5rem;
}

.secure-text {
  font-size: 1.1rem;
  text-align: left;
  margin-bottom: 1rem;
}

.bold {
  font-weight: 900;
}

/* ===== FORM (UNCHANGED) ===== */
form {
  margin-top: 1.5rem;
}

/* ===== INPUTS (ONLY FOCUS COLOR CHANGED) ===== */
input {
  width: 100%;
  margin-bottom: 16px;
  border-radius: 8px;
  padding: 14px 44px 14px 14px;
  font-size: 15px;
  border: 1px solid #ccc;
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

input:focus {
  border-color: #ffd801;
  box-shadow: 0 0 0 2px rgba(245, 196, 0, 0.15);
}

.input-email {
  background-image: url("./assests/images/pen.png");
}

/* ===== INPUT WRAPPERS (UNCHANGED) ===== */
.input-wrapper {
  position: relative;
  width: 100%;
}

.password-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}

/* ===== TOGGLE PASSWORD (UNCHANGED) ===== */
.toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
}

.toggle-password img {
  width: 20px;
  height: 20px;
}

#toggle {
  position: absolute;
  right: 12px;
  transform: translateY(-50%);
  cursor: pointer;
  width: 24px;
}

/* ===== BUTTONS (UNCHANGED INCLUDING HOVER AS REQUESTED) ===== */
.btn {
  cursor: pointer;
  width: 100%;
  padding: 12px;
  background-color: #ffd801;
  border-radius: 25px;
  border: none;
  font-size: 1rem;
  color: #2b2b2b;
  transition: all 0.2s ease;
}

.btn:hover {
  background-color: #e6c200; /* KEPT ORIGINAL FROM YOUR FIRST CSS */
  transform: translateY(-1px);
}

.btn-2 {
  cursor: pointer;
  width: 100%;
  margin-top: 8px;
  padding: 10px;
  border-radius: 25px;
  border: none;
  background-color: transparent;
  font-size: 0.95rem;
  color: #2b2b2b;
}

/* ===== FOOTER (UNCHANGED) ===== */
footer {
  padding: 20px 0;
  width: 100%;
  background-color: #787777;
  color: #ffffff;
}

footer ul {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== MODAL (UNCHANGED) ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-box {
  background: #fff;
  padding: 2rem;
  border-radius: 14px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  animation: scaleIn 0.25s ease-in-out;
}

.modal-box h2 {
  margin-bottom: 0.6rem;
  font-size: 1.4rem;
}

.modal-box p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.2rem;
}

.modal-btn {
  padding: 0.6rem 1.4rem;
  border: none;
  border-radius: 25px;
  background: #ffd801;
  color: #ffffff;
  cursor: pointer;
}

.modal-btn:hover {
  opacity: 0.9;
}

/* ===== ANIMATION (UNCHANGED) ===== */
@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===== RESPONSIVE (UNCHANGED) ===== */
@media (max-width: 768px) {
  main {
    padding: 20px 10px;
  }

  .card {
    max-width: 90%;
    padding: 1.5rem;
  }

  .title {
    font-size: 18px;
    line-height: 45px;
  }

  .title-2 {
    font-size: 1.4rem;
  }

  .secure-text {
    font-size: 1rem;
  }

  footer ul {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .logo {
    width: 40px;
    height: 40px;
  }

  .card {
    max-width: 100%;
    padding: 1.2rem;
  }

  .banner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  input {
    font-size: 14px;
  }

  .btn {
    font-size: 0.95rem;
  }

  footer ul {
    flex-direction: column;
    align-items: center;
  }
}