body, html {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f8f8f8;
}

.sesp-request-install {
  background: #ffffff;
  border: 1px solid #ededed;
  padding: 20px;
  max-width: 600px;
  width: 100%;
  box-sizing: border-box;
}

.engineer-request {
  background: #ffffff;
  border: 1px solid #ededed;
  padding: 20px;
  max-width: 800px;
  width: 400px;
  height: auto;
  box-sizing: border-box;
}

.header {
  text-align: center;
  margin-bottom: 20px;
}

.header2 {
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 500;
  margin-bottom: 10px;
}

.intro {
  font-size: 12px;
  color: #666666;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group, .checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

label {
  font-size: 12px;
  color: #666666;
  margin-bottom: 5px;
}
[type="radio"] {
    vertical-align: middle;
    appearance: none;
    border: max(2px, 0.1em) solid gray;
    border-radius: 50%;
    width: 1.25em;
    height: 1.25em;
}
[type="radio"]:checked {
    border: 0.4em solid blue;
}
[type="radio"]:focus-visible {
   outline: max(2px, 0.1em) dotted blue;
   outline-offset: max(2px, 0.1em);
}
[type="radio"]:hover {
   box-shadow: 0 0 0 max(4px, 0.2em) lightgray;
   cursor: pointer;
}
[type="radio"]:hover + span {
  cursor: pointer;
}

.input-text {
  width: 100%;
  height: 50px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

.textarea.input-text {
  text-align: left;
  vertical-align: top;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-bottom: 5px;
    cursor: pointer;
}
.checkbox-group input[type="checkbox"] {
  margin-right: 10px;
}
[type="checkbox"]:checked {
    border: 0.4em solid blue;
}
[type="checkbox"]:focus-visible {
    outline: max(2px, 0.1em) dotted blue;
    outline-offset: max(2px, 0.1em);
}
[type="checkbox"]:hover {
    box-shadow: 0 0 0 max(4px, 0.2em) lightgray;
    cursor: pointer;
}
[type="checkbox"]:hover + span {
    cursor: pointer;
}

.button-primary {
  background: #65558f;
  color: #ffffff;
  border: none;
  border-radius: 100px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  align-self: center;
}
.select.input-text {
  width: 100%;
  height: 50px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  background-color: #fff;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
}

select.input-text::-ms-expand {
  display: none;
}

 .engineer-checkbox-group label {
    position: relative;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    background-color: #f0f4f8;
    border-radius: 6px;
    padding: 8px 12px;
    margin: 5px 8px 5px 0;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    font-size: 1rem;
  }
  
  .engineer-checkbox-group input[type="checkbox"] {
    display: none;
  }
  /* Ã¼Å©¹Ú½º°¡ Ã¼Å©µÇ¸é ¶óº§ ¹è°æ°ú Å×µÎ¸® º¯°æ */
  .input-group input[type="checkbox"]:checked + label {
    background-color: #007bff;
    border-color: #0056b3;
    color: white;
  }

  /* Ã¼Å©¹Ú½º ¾Õ¿¡ Ä¿½ºÅÒ ¹Ú½º */
  .engineer-checkbox-group label::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    border: 2px solid #666666;
    border-radius: 4px;
    background-color: white;
    transition: background-color 0.3s ease, border-color 0.3s ease;
  }
  
   /* Ã¼Å©µÇ¸é ¹Ú½º ¾È¿¡ Ã¼Å© Ç¥½Ã */
  .engineer-checkbox-group input[type="checkbox"]:checked + label::before {
    background-color: white;
    border-color: white;    
  }
  .engineer-checkbox-group input[type="checkbox"]:checked + label::after {
    content: '';
    position: absolute;
    left: 18px;
    top: 15px;
    width: 6px;
    height: 12px;
    border: solid black;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
  }
  

  /* ¹ÝÀÀÇü ±ÛÀÚ Å©±â */
  @media (min-width: 320px) {
    .engineer-checkbox-group label {
      font-size: 1rem;
    }
    .input-group label {
      font-size: 1rem;
    }
  }

  @media (min-width: 768px) {
    .engineer-checkbox-group label {
      font-size: 1.25rem;
    }
    .engineer-checkbox-group p {
      font-size: 1.3rem;
    }
    .input-group label {
      font-size: 1.25rem;
    }
    .input-group p{
      font-size: 1.3rem;
    }
  }

  @media (min-width: 1200px) {
    .engineer-checkbox-group label {
      font-size: 1.5rem;
    }
    .engineer-checkbox-group p {
      font-size: 1.6rem;
    }
    .input-group label {
      font-size: 1.5rem;
    }
    .input-group p {
      font-size: 1.6rem;
    }
  }
  

@media (max-width: 1200px) {
  .sesp-request-install {
    padding: 10px;
  }
  
@media (max-width: 1000px) {
  .engineer-request {
    padding: 10px;
  }
}