@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(120deg, #f6d365 0%, #fda085 100%);
}
body.dark-mode {
  background: linear-gradient(120deg, #232526 0%, #414345 100%);
}
.container {
  width: 400px;
  max-width: 95vw;
  padding: 40px 30px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.25);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  animation: fadeIn 1.4s;
}
h1 {
  color: #893168;
  font-size: 24px;
  margin: 0 0 10px 0;
  text-align: center;
  letter-spacing: 3px;
  word-spacing: 5px;
}
.input {
  width: 100%;
  position: relative;
}
.input input {
  width: 100%;
  height: 50px;
  font-size: 18px;
  padding: 0 30px;
  border: 3px solid #893168;
  border-radius: 10px;
  outline: none;
}
.input i {
  position: absolute;
  right: 5%;
  top: 35%;
  cursor: pointer;
}
.validations {
  width: 100%;
  margin: 20px 10px;
  text-align: center;
}
.validations p {
  font-weight: 600;
}
.allChecks {
  width: 100%;
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.allChecks li {
  width: 180px;
  font-size: 10px;
  font-weight: 500;
  color: #893168;
  text-align: start;
}
/* --- Custom Sidebar  --- */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 80px;
  height: 100%;
  padding: 290px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 100;
  transition: all 0.3s ease;
}
.sidebar a {
  color: #fff;
  text-decoration: none;
  margin: 10px 0;
  font-weight: bold;
  transition: color 0.3s;
  font-size: 2.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar a:hover {
  color: #070707;
}
.sidebar .fa-x-twitter {
  font-size: 1.5rem !important;
  line-height: 1;
}
/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .sidebar {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    padding: 12px 20px;
    flex-direction: row;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .sidebar a {
    margin: 0 12px;
    font-size: 1.8rem;
  }
  /* Adjust container to prevent overlap with bottom sidebar */
  .container {
    margin-bottom: 80px;
  }
}
/* Adjust for very small screens */
@media (max-width: 360px) {
  .sidebar a {
    margin: 0 8px;
    font-size: 1.6rem;
  }
}
/* Landscape mode adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .sidebar {
    padding: 8px 15px;
  }
  .sidebar a {
    margin: 0 10px;
    font-size: 1.4rem;
  }
  .container {
    margin-bottom: 70px;
  }
}
