/* ===================================================
&#128293; »ó´ã½ÅÃ» Æû ÃÖÁ¾ ¿Ï¼º
&#10004; PC 1ÁÙ À¯Áö
&#10004; ¸ð¹ÙÀÏ °¡µ¶¼º °³¼± (°³ÀÎÁ¤º¸ µ¿ÀÇ ±¸Á¶ º¯°æ)
=================================================== */


/* ===================================================
&#128313; ÀüÃ¼ ¿µ¿ª
=================================================== */
.fm-skin {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px;
}


/* ===================================================
&#128313; Ä«µå ¹Ú½º
=================================================== */
.fm-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #f3f4f6;
  border: 1px solid #ddd;
  border-radius: 14px;
  padding: 15px;
}


/* ===================================================
&#128313; Å¸ÀÌÆ²
=================================================== */
.fm-titlebar {
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
}


.fm-title {
  font-size: 18px;
  font-weight: 800;
}


/* ===================================================
&#128313; ÇÊµå ±¸Á¶
=================================================== */
.fm-field {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  min-width: 0;
}


/* ¶óº§ */
.fm-label {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}


/* ===================================================
&#128313; ºñÀ²
=================================================== */
.fm-field:nth-child(2) { flex: 0.8; }
.fm-field:nth-child(3) { flex: 1.5; }
.fm-field:nth-child(4) { flex: 2.5; }


/* ===================================================
&#128313; ÀÔ·Â °øÅë (µðÀÚÀÎ Æ÷ÇÔ)
=================================================== */
.fm-input,
.fm-num,
.fm-textarea {
  border-radius: 10px;
  border: 2px solid #cbd5e1;
  background: #f9fafb;
  font-size: 14px;
  color: #111;
  box-sizing: border-box;
}


/* input */
.fm-input,
.fm-num {
  height: 40px;
  padding: 0 10px;
}


.fm-input {
  flex: 1;
  width: 100%;
}


/* Æ÷Ä¿½º */
.fm-input:focus,
.fm-num:focus,
.fm-textarea:focus {
  border-color: #0c1c5a;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(12, 28, 90, 0.15);
  outline: none;
}


/* ===================================================
&#128313; ÀüÈ­¹øÈ£
=================================================== */
.fm-phone {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1;
}


.fm-num {
  width: 70px;
  text-align: center;
}


.fm-phone span {
  font-weight: 700;
  color: #555;
}


/* ===================================================
&#128313; °³ÀÎÁ¤º¸ ÅØ½ºÆ® (PC´Â ÇÑÁÙ À¯Áö)
=================================================== */
.fm-textarea {
  flex: 1;
  width: 100%;
  height: 40px;
  padding: 5px 10px;
  font-size: 11px;
  white-space: normal;
  overflow-y: auto;
  overflow-x: hidden;
}


/* Ã¼Å© */
.fm-check {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 5px;
  flex-shrink: 0;
}


.fm-check input {
  width: 20px;
  height: 20px;
}


.fm-check span {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}


/* ===================================================
&#128313; ¹öÆ°
=================================================== */
.fm-submit {
  width: 100%;
  height: 45px;
  border: none;
  border-radius: 10px;
  background: #0c1c5a;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  margin-top: 10px;
}


/* ±âº» ¹öÆ° ¼û±è */
table[bordercolor="#E5E5E5"] + div[align="center"] {
  display: none !important;
}


/* ===================================================
&#128293; ¹ÝÀÀÇü (ÇÙ½É ¼öÁ¤ Æ÷ÇÔ)
=================================================== */
@media screen and (max-width: 800px) {
  .fm-card {
    flex-direction: column;
    align-items: stretch;
  }


  .fm-field {
    width: 100%;
    flex: none !important;
  }


  .fm-input {
    width: 100%;
  }


  .fm-phone {
    width: 100%;
  }


  .fm-num {
    flex: 1;
  }


  /* ===================================================
  &#128293; °³ÀÎÁ¤º¸ µ¿ÀÇ ¸ð¹ÙÀÏ Àü¿ë ±¸Á¶ º¯°æ (ÇÙ½É)
  =================================================== */
  .fm-field:nth-child(4) {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }


  .fm-textarea {
    height: auto !important;
    min-height: 80px;
    white-space: normal;
    overflow: visible;
  }


  .fm-check {
    margin-left: 0;
  }


  .fm-check span {
    white-space: normal;
  }
}