@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');


body {
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
  margin: 0;
  color: #fff;
}


/* Æû ÀüÃ¼ ·¡ÆÛ */
.form-wrapper {
  max-width: 1000px;
  width: 90%;
  margin: 50px auto;
  padding: 40px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(15px);
  border-radius: 25px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.7);
}


/* Æû Á¦¸ñ (±âÁ¸ h2´Â ÇÊ¿ä½Ã »ç¿ë) */
.form-container h2 {
  margin-bottom: 40px;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  color: #fff;
}


/* input ±×·ì */
.input-group {
  position: relative;6
}


.input-group input[type="text"] {
  width: 100%;
  padding: 12px 20px;
  border-radius: 6px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 15px;
  transition: all 0.3s ease;
}


.input-group input[type="text"]::placeholder {
  color: rgba(255,255,255,0.6);
}


.input-group input[type="text"]:focus {
  outline: none;
  background: rgba(255,255,255,0.15);
}


.input-group input[type="checkbox"] {
  margin-right: 10px;
  accent-color: #2575fc;
  width: 18px;
  height: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
}


.input-group label {
  font-size: 14px;
  color: #ddd;
  cursor: pointer;
}


/* ¼º¸í + Á¦¸ñ + ¿¬¶ôÃ³ + ¹öÆ° °¡·Î ¹èÄ¡ */
.input-row {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  align-items: center;
}


/* »ó´ã½ÅÃ» Á¦¸ñ */
.input-row .title-group {
  flex: 0 0 auto; /* °íÁ¤ Æø */
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  white-space: nowrap;
}


/* ÀÔ·ÂÃ¢ ±Õµî ºÐÇÒ */
.input-row .input-group {
  flex: 1;
}


/* ¹öÆ° °íÁ¤ Æø */
.input-row .button-group {
  flex: 0 0 auto;
}


.input-row .button-group button {
  width: 100%;
  padding: 8px 45px;
  font-size: 16px;
  border-radius: 6px;
  background-color: #436de1;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}


.input-row .button-group button:hover {
  background-color: #567deb;
}



/* Ã¼Å©¹Ú½º */

.input-group.checkbox-group {
  display: flex;
  align-items: center;


  padding-left: 75px;  /* »ó´ã½ÅÃ» Å¸ÀÌÆ² ¿µ¿ª ³Êºñ¸¸Å­ µé¿©¾²±â */
}


/* °á°ú ¸Þ½ÃÁö */
#result {
  margin-top: 20px;
  text-align: center;
  font-weight: 500;
  color: #4cd137;
}


/* ¸ð¹ÙÀÏ ´ëÀÀ */
@media (max-width: 600px) {
  .input-row {
    flex-direction: column;
    gap: 10px;
  }

 .input-group.checkbox-group {
    padding-left: 0;
    justify-content: center;
  }

  .input-row .button-group {
      flex: 1;         /* ÀÔ·ÂÃ¢°ú µ¿ÀÏÇÏ°Ô ºñÀ² ¸ÂÃã */
    max-width: 100%; /* È­¸éº¸´Ù ´õ Ä¿ÁöÁö ¾Êµµ·Ï Á¦ÇÑ */
  }


  .input-row .title-group {
    margin-bottom: 5px;
  }
}


@media (max-width: 400px) {
  .form-wrapper {
    padding: 20px;
    border-radius: 15px;
  }


  .input-group input[type="text"] {
    padding: 12px 16px;
    font-size: 15px;
  }


  .input-row .button-group button {
    width: 100%; 
    padding: 12px 16px;
    font-size: 15px;
    box-sizing: border-box; /* ÆÐµù±îÁö Æ÷ÇÔ */
  }
}