/* Importing Google Fonts - Poppins */
@import url("https://fonts.googleapis.com/css?family=Prompt:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&subset=thai");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Prompt', sans-serif;

}
.symbol-input100 {
  font-size: 15px;


  border-radius: 25px;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-left: 35px;
  pointer-events: none;
  color: #666666;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  background-image: url("bg.jpg");
}

.container {
  max-width: 700px;
  height:700px;
  width: 100%;
  background-color: #fff;
  padding: 25px 30px;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
  opacity: 0.99;
}
.container2 {
  max-width: 400px;
  width: 100%;
  background-color: #fff;
  padding: 25px 30px;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
  opacity: 0.99;
}
.container2 .title {
  font-size: 25px;
  font-weight: 500;
  position: relative;
}

.container2 .title::before {
  content: "";
  position: absolute;
  left: 50;
  bottom: 0;
  height: 3px;
  width: 205px;
  border-radius: 5px;
  background: linear-gradient(135deg, #095077, #3a94dc);
}

.container3 {
  max-width: 750px;
  height: 700px;
  width: 100%;
  background-color: #fff;
  padding: 25px 30px;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
  opacity: 0.99;
}
.container3 .title {
  font-size: 25px;
  font-weight: 500;
  position: relative;
}

.container3 .title::before {
  content: "";
  position: absolute;
  left: 50;
  bottom: 0;
  height: 3px;
  width: 195px;
  border-radius: 5px;
  background: linear-gradient(135deg, #71b7e6, #9b59b6);
}







.content2 form .user-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 20px 0 12px 0;
}

.container .title {
  font-size: 25px;
  font-weight: 500;
  position: relative;
}

.container .title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100px;
  border-radius: 5px;
  background: linear-gradient(135deg, #095077, #3a94dc);
}

.content form .user-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 20px 0 12px 0;
}

form .user-details .input-box {
  margin-bottom: 15px;
  width: calc(100% / 2 - 20px);
}
.input100 {
  color: #666666;
}

form .input-box span.details {
  display: block;
  font-weight: 500;
  margin-bottom: 5px;
}

.user-details .input-box input {
  height: 45px;
  width: 100%;
  outline: none;
  font-size: 16px;
  border-radius: 10px;
  padding-left: 15px;
  border: 1px solid #ccc;
  border-bottom-width: 4px;
  transition: all 0.3s ease;
}

.user-details .input-box input:focus,
.user-details .input-box input:valid {
  border-color: #2177be;
}



form .user-details .input-box2 {
  margin-bottom: 15px;
}

form .input-box2 span.details {
  display: block;
  font-weight: 500;
  margin-bottom: 5px;
}

.user-details .input-box2 input {
  height: 45px;
  width: 100%;
  outline: none;
  font-size: 16px;
  border-radius: 10px;
  padding-left: 15px;
  border: 1px solid #ccc;
  border-bottom-width: 4px;
  transition: all 0.3s ease;
}

.user-details .input-box2 input:focus,
.user-details .input-box2 input:valid {
  border-color: #2177be;
}

form .gender-details .gender-title {
  font-size: 20px;
  font-weight: 500;
}

form .category {
  display: flex;
  width: 80%;
  margin: 14px 0;
  justify-content: space-between;
}

form .category label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

form .category label .dot {
  height: 18px;
  width: 18px;
  border-radius: 50%;
  margin-right: 10px;
  background: #d9d9d9;
  border: 5px solid transparent;
  transition: all 0.3s ease;
}

#dot-1:checked~.category label .one,
#dot-2:checked~.category label .two,
#dot-3:checked~.category label .three {
  background: #095077;
  border-color: #d9d9d9;
}

form input[type="radio"] {
  display: none;
}

form .button {
  height: 45px;
  margin: 10px 0
}

form .button input {
  height: 100%;
  width: 100%;
  border-radius: 5px;
  border: none;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #095077, #3a94dc);
}

form .button input:hover {
  background: linear-gradient(-135deg, #095077, #3a94dc);
}


form .button2 {
  height: 45px;
  margin: 10px 0
}

form .button2 input {
  height: 100%;
  width: 100%;
  border-radius: 5px;
  border: none;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #8a9296, #8a9296);
}

form .button2 input:hover {
  background: linear-gradient(-135deg, #6cad8b, #6cad8b);
}

/* Responsive media query code for mobile devices */
@media(max-width: 584px) {
  .container {
    max-width: 100%;
  }

  form .user-details .input-box {
    margin-bottom: 0px;
    width: 100%;

  }

  form .category {
    width: 100%;
  }

  .content form .user-details {
    max-height: 400px;
    overflow-y: scroll;
  }

  .user-details::-webkit-scrollbar {
    width: 5px;
  }
}

/* Responsive media query code for mobile devices */
@media(max-width: 459px) {
  .container .content .category {
    flex-direction: column;
  }
}


nav {
  max-width: 960px;

  margin: 0 auto;
  padding: 5px 0;
}

nav ul {
  text-align: center;
  background: linear-gradient(90deg, rgba(16,83,154) 0%, rgba(16,83,154) 25%, rgba(16,83,154) 75%, rgba(16,83,154) 100%);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.1), inset 0 0 1px rgba(255, 255, 255, 0.6);
}

nav ul li {
  display: inline-block;
}

nav ul li a {
  padding: 5px;
  font-family: 'Prompt', sans-serif;
  text-transform:uppercase;
  color: rgba(0, 35, 122, 0.5);
  font-size: 13px;
  text-decoration: none;
  display: block;
}
 li.active{
    background: rgba(53,137,193);
}
nav ul li a:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1), inset 0 0 1px rgba(255, 255, 255, 0.6);
  background: rgba(16,83,154);
  color: rgba(0, 35, 122, 0.7);
  text-decoration: none;
}

    #overlay {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 999;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    /* กล่องป็อบอัพ */
    #popup {
      display: none;
      position: fixed;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%) scale(0.8);
      background: #fff;
      padding: 30px;
      border-radius: 8px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
      z-index: 1000;
      opacity: 0;
      transition: all 0.3s ease;
    }

    /* แสดงป็อบอัพ */
    .active #popup {
      display: block;
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
    }

    .active #overlay {
      display: block;
      opacity: 1;
    }

    button {
      padding: 10px 20px;
      background-color: #4CAF50;
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }

    button:hover {
      background-color: #45a049;
    }
