@import url("https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  font-family: "League Spartan", serif;
  font-optical-sizing: auto;
  font-style: normal;
}

body {
  font-family: Arial, sans-serif;
  background-image: url("../image/welds.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  /* font-family: "Courier New", Courier, monospace; */
  /* background-image: url("../images/bgadmindb.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed; */
  /* background: linear-gradient(135deg, #8ec5fc, #e0c3fc);
  font-family: "Poppins", sans-serif;
  margin: 0; */
}

/* body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px);
    z-index: -1;
} */

.wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Header styles */
.main-header {
  background-color: transparent;
  color: #000000;
  padding: 0.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 2%;
  /* box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  border-bottom: #a7a6a6 0.1px solid; */
}

.main-header .logo {
  font-family: "League Spartan", serif;
  font-style: normal;
  font-size: 16px;
  margin-left: 2%;
}

.container {
  display: flex;
  grid-template-columns: repeat(2, 1fr);
}

.container .user-dropdown {
  display: flex;
  justify-content: flex-end;
}

.logo-container {
  display: flex;
  align-items: center;
  padding-right: 10%;
}

.logo {
  width: 60px;
  height: 95px;
  margin-right: 12px;
  padding-left: 20px;
}

.site-name {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-size: 30px;
  letter-spacing: 1px;
  color: #000000;
}

.login-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px; /* Space between icon and text */
  padding: 12px 24px;
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #ff7b00, #d65a00);
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.login-btn i {
  font-size: 18px;
}

.login-btn:hover {
  background: linear-gradient(135deg, #d65a00, #a94700);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.login-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

/* Form Container */
#subHome {
  height: 82vh;
}

.login-container {
  left: 50%;
  transform: translate(-50%, 5%);
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(180px);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  width: 350px;
  text-align: center;
}

.main-label {
  font-size: 24px;
  font-weight: bold;
  color: #000000;
  text-shadow: 3px 3px 5px rgb(204, 204, 204);
}

.child-label {
  font-size: 14px;
  color: #000000;
  text-shadow: 3px 3px 5px rgb(204, 204, 204);
}

/* Input Groups */
.input-group {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  padding: 10px;
  margin-top: 15px;
}

.input-group i {
  color: #4b4b4b;
  margin-right: 10px;
}

.input-group input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: #000000;
  width: 100%;
}

.input-group input::placeholder {
  color: rgba(0, 0, 0, 0.7);
}

/* Show Password */
.input-group-showpass {
  display: flex;
  align-items: center;
  justify-content: start;
  margin-top: 10px;
  color: #000000;
  font-size: 14px;
}

.input-group-showpass input {
  margin-right: 8px;
}

.radio-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
    font-family: Garamond, serif;
}

#uli-container {
  transition: all 0.3s ease-in;
}

#uli-container.hidden {
  visibility: hidden;
  height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

#uli-container.hidden input {
  height: 0;
  padding: 0;
  margin: 0;
  border: none;
}


/* Login Button */
button {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #007bff, #00d4ff);
  border: none;
  border-radius: 25px;
  font-size: 16px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: linear-gradient(135deg, #0056b3, #009acb);
  transform: scale(1.05);
}

#registerForm {
  display: none;
}

.input-group-register {
  padding-top: 20px;
}

.input-group-register a {
  text-decoration: none;
  color: #ffffff;
  cursor: pointer;
  background: linear-gradient(135deg, #00c853, #b2ff59);
  border-radius: 20px;
  padding: 10px 8px;
  transition: 0.8s;
}

.input-group-register a:hover {
  text-decoration: underline;
  background: linear-gradient(135deg, #008b3a, #68c400);
}

/* Footer */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
  width: 100%;
  bottom: 0;
  left: 0;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px;
}

.footer-section {
  text-align: center;
  flex: 1;
  min-width: 250px;
  margin: 10px 0;
}

.footer-section h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.footer-section p {
  margin: 5px 0;
}

.footer-section a {
  color: #1da1f2;
  text-decoration: none;
  font-weight: bold;
}

.footer-section i {
  font-size: 28px;
  margin-right: 5px;
  vertical-align: middle;
}

/* 🔹 Small devices (Phones & Tablets) */
@media screen and (max-width: 768px) {
  .main-header {
    background-color: white;
  }

  .logo {
    width: 30px;
    height: 50px;
  }

  .site-name {
    font-size: 15px;
  }

  .login-btn {
    width: 20%;
    padding: 16px 14px;
    font-size: 15px;
    font-weight: 200;
  }

  .login-btn i {
    font-size: 15px;
  }

  #subHome {
    height: 75vh;
  }

  .login-container {
    left: 50%;
    transform: translate(-50%, 15%);
    backdrop-filter: blur(20px);
    width: 250px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  footer {
    padding: 10px 0;
    font-size: 12px;
  }

  .footer-section h3 {
    font-size: 14px;
  }

  .footer-section i {
    font-size: 24px;
  }
}
