.mosc-form-wrap{
  width:100%;
  max-width:100%;
}

.mosc-form-wrap *{
  box-sizing:border-box;
}

.mosc-form-notice{
  margin:0 0 16px;
  padding:12px 14px;
  border-radius:10px;
  font-size:14px;
  line-height:1.5;
}

.mosc-form-notice.is-error{
  background:#fff3f3;
  color:#b42318;
  border:1px solid #f3c7c7;
}

.mosc-form-card{
  width:100%;
  background:transparent;
  border:none;
  border-radius:0;
  padding:0;
  box-shadow:none;
  display:flex;
  flex-direction:column;
  gap:20px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans KR",sans-serif;
}

.mosc-form-group{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.mosc-form-group label{
  font-size:14px;
  font-weight:700;
  color:#40553D;
  margin:0;
}

.mosc-form-group .mosc-date-label{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.mosc-timezone-note{
  font-size:12px;
  font-weight:500;
  color:#667085;
  line-height:1.35;
}

.mosc-form-group input,
.mosc-form-group select,
#mosc_email_domain_custom{
  width:100%;
  border:none;
  border-bottom:1px solid #d6d9df;
  border-radius:0;
  background:transparent;
  padding:10px 0 12px;
  font-size:16px;
  color:#40553D;
  outline:none;
  box-shadow:none;
  min-height:44px;
}

.mosc-form-group input:focus,
.mosc-form-group select:focus,
#mosc_email_domain_custom:focus{
  border-bottom-color:#40553D;
}

.mosc-email-row,
.mosc-date-row{
  display:flex;
  align-items:center;
  gap:12px;
}

.mosc-email-row > input,
.mosc-email-row > .mosc-select-wrap,
.mosc-date-row > .mosc-select-wrap{
  flex:1 1 0;
  min-width:0;
}

.mosc-at{
  flex:0 0 auto;
  color:#6b7280;
  font-size:16px;
  margin-top:2px;
}

.mosc-select-wrap{
  position:relative;
}

.mosc-select-wrap::after{
  content:"";
  position:absolute;
  right:4px;
  top:50%;
  width:10px;
  height:10px;
  border-right:1.5px solid #40553D;
  border-bottom:1.5px solid #40553D;
  transform:translateY(-70%) rotate(45deg);
  pointer-events:none;
}

.mosc-select-wrap select,
.mosc-email-row select{
  appearance:none;
  -webkit-appearance:none;
  padding-left:12px;
  padding-right:24px;
}

.mosc-form-group select option{
  background:#F4F4DE !important;
  color:#40553D !important;
}

.mosc-form-group select option:hover,
.mosc-form-group select option:focus,
.mosc-form-group select option:active,
.mosc-form-group select option:checked{
  background:#40553D !important;
  color:#fcfcf2 !important;
  box-shadow:0 0 0 100px #40553D inset !important;
  -webkit-text-fill-color:#fcfcf2 !important;
}

.mosc-form-group select:focus option:checked{
  background:linear-gradient(0deg, #40553D 0%, #40553D 100%) !important;
  color:#fcfcf2 !important;
  box-shadow:0 0 0 100px #40553D inset !important;
  -webkit-text-fill-color:#fcfcf2 !important;
}

.mosc-form-group select option:disabled{
  background:#F4F4DE !important;
  color:#40553D !important;
  box-shadow:none !important;
  -webkit-text-fill-color:#40553D !important;
}

#mosc_email_domain_custom{
  margin-top:10px;
}

.mosc-custom-select{
  position:relative;
  width:100%;
}

.mosc-custom-select-toggle{
  position:relative;
  width:100%;
  min-height:44px;
  padding:10px 28px 12px 0;
  border:none;
  border-bottom:1px solid #d6d9df;
  border-radius:0;
  background:transparent;
  color:#40553D;
  font-size:16px;
  line-height:1.45;
  text-align:left;
  cursor:pointer;
  outline:none;
  box-shadow:none;
}

.mosc-custom-select-toggle::after{
  content:"";
  position:absolute;
  right:4px;
  top:50%;
  width:10px;
  height:10px;
  border-right:1.5px solid #40553D;
  border-bottom:1.5px solid #40553D;
  transform:translateY(-70%) rotate(45deg);
  pointer-events:none;
}

.mosc-custom-select.is-open .mosc-custom-select-toggle,
.mosc-custom-select-toggle:focus{
  border-bottom-color:#40553D;
}

.mosc-custom-select-list{
  position:absolute;
  z-index:9999;
  top:calc(100% + 4px);
  left:0;
  right:0;
  max-height:320px;
  margin:0;
  padding:6px 0;
  list-style:none;
  overflow-y:auto;
  background:#F4F4DE;
  border:1px solid #40553D;
  border-radius:0;
  box-shadow:0 12px 28px rgba(64,85,61,.18);
}

.mosc-custom-select-option{
  margin:0;
  padding:8px 12px;
  background:#F4F4DE;
  color:#40553D;
  font-size:15px;
  line-height:1.45;
  cursor:pointer;
  user-select:none;
}

.mosc-custom-select-option:hover,
.mosc-custom-select-option:focus,
.mosc-custom-select-option.is-active,
.mosc-custom-select-option[aria-selected="true"]{
  background:#40553D !important;
  color:#fcfcf2 !important;
  outline:none;
}

.mosc-custom-select.is-invalid .mosc-custom-select-toggle{
  border-bottom-color:#b42318 !important;
}

.mosc-house-model-error{
  color:#b42318 !important;
}

.mosc-form-group input::placeholder,
#mosc_email_domain_custom::placeholder{
  color:#40553D;
  opacity:.62;
}

.mosc-hidden{
  display:none;
}

.mosc-helper-text{
  margin:4px 0 0;
  color:#667085;
  font-size:12px;
  line-height:1.5;
}

.mosc-address-box{
  display:flex;
  align-items:center;
  gap:10px;
  background:#f8fafc;
  border:1px solid #d6dae1;
  border-radius:8px;
  padding:12px 12px;
}

.mosc-address-icon{
  color:#0f3d73;
  line-height:0;
  flex:0 0 auto;
}

.mosc-address-box p{
  margin:0;
  color:#475467;
  font-size:14px;
  line-height:1.5;
}

.mosc-privacy-box{
  border:1px solid #d6dae1;
  border-radius:8px;
  padding:12px;
  background:#fcfcf2;
}

.mosc-privacy-box strong{
  display:block;
  font-size:14px;
  color:#40553D;
  margin-bottom:10px;
}

.mosc-privacy-scroll{
  max-height:140px;
  overflow-y:auto;
  padding-right:8px;
}

.mosc-privacy-scroll p{
  margin:0 0 8px;
  color:#667085;
  font-size:13px;
  line-height:1.65;
}

.mosc-privacy-scroll p:last-child{
  margin-bottom:0;
}

.mosc-consent-row{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:#40553D;
  font-size:13px;
  line-height:1.6;
  cursor:pointer;
}

.mosc-consent-row input[type="checkbox"]{
  width:16px;
  height:16px;
  margin:2px 0 0;
  accent-color:#40553D;
}

.mosc-submit-button{
  width:100%;
  border:none;
  border-radius:6px;
  background:#40553D;
  color:#fcfcf2;
  min-height:48px;
  padding:14px 16px;
  font-size:16px;
  font-weight:700 !important;
  cursor:pointer;
  transition:background .2s ease, transform .2s ease;
}

.mosc-submit-button:hover,
.mosc-submit-button:focus,
.mosc-submit-button:active{
  background:#52684c;
}

.mosc-submit-button:active{
  transform:translateY(1px);
}

.mosc-modal{
  position:fixed;
  inset:0;
  z-index:99999;
}

.mosc-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.52);
}

.mosc-modal-dialog{
  position:relative;
  z-index:1;
  width:min(92vw, 460px);
  margin:12vh auto 0;
  background:#fff;
  border-radius:16px;
  padding:24px 22px 20px;
  box-shadow:0 20px 60px rgba(15,23,42,.24);
  text-align:center;
}

.mosc-modal-close{
  position:absolute;
  top:12px;
  right:12px;
  width:32px;
  height:32px;
  border:none;
  background:transparent;
  color:#667085;
  font-size:24px;
  line-height:1;
  cursor:pointer;
}

.mosc-modal-icon{
  width:64px;
  height:64px;
  margin:0 auto 16px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#F4F4DE;
  color:#40553D;
}

.mosc-modal-message{
  margin:0 0 20px;
  color:#0f172a;
  font-size:15px;
  line-height:1.7;
  font-weight:600;
}

.mosc-modal-confirm{
  min-width:120px;
  min-height:44px;
  border:none;
  border-radius:8px;
  background:#40553D;
  color:#fcfcf2;
  padding:0 18px;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
}

.mosc-modal-confirm:hover,
.mosc-modal-confirm:focus,
.mosc-modal-confirm:active{
  background:#52684c;
}

@media (max-width:500px){
  .mosc-form-card{
    gap:18px;
  }

  .mosc-email-row,
  .mosc-date-row{
    gap:10px;
  }

  .mosc-form-group input,
  .mosc-form-group select,
  #mosc_email_domain_custom{
    font-size:15px;
  }

  .mosc-modal-dialog{
    padding:22px 18px 18px;
  }
}

/* v1.0.36 TERRA PAWS force overrides */
.mosc-form-wrap .mosc-form-group label,
.mosc-form-wrap .mosc-form-group input,
.mosc-form-wrap .mosc-form-group select,
.mosc-form-wrap #mosc_email_domain_custom,
.mosc-form-wrap .mosc-custom-select-toggle{
  color:#40553D !important;
}

.mosc-form-wrap .mosc-form-group input,
.mosc-form-wrap .mosc-form-group select,
.mosc-form-wrap #mosc_email_domain_custom{
  border:none !important;
  border-bottom:1px solid #d6d9df !important;
  border-radius:0 !important;
  box-shadow:none !important;
  background:transparent !important;
}

.mosc-form-wrap .mosc-form-group input:focus,
.mosc-form-wrap .mosc-form-group select:focus,
.mosc-form-wrap #mosc_email_domain_custom:focus{
  border-bottom:1px solid #40553D !important;
  outline:none !important;
  box-shadow:none !important;
}

.mosc-form-wrap .mosc-submit-button,
.mosc-form-wrap .mosc-modal-confirm{
  background:#40553D !important;
  border-color:#40553D !important;
  color:#fcfcf2 !important;
  font-weight:700 !important;
}

.mosc-form-wrap .mosc-submit-button:hover,
.mosc-form-wrap .mosc-submit-button:focus,
.mosc-form-wrap .mosc-submit-button:active,
.mosc-form-wrap .mosc-modal-confirm:hover,
.mosc-form-wrap .mosc-modal-confirm:focus,
.mosc-form-wrap .mosc-modal-confirm:active{
  background:#52684c !important;
  border-color:#52684c !important;
  color:#fcfcf2 !important;
}

.mosc-visa-button-group{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

.mosc-visa-option{
  position:relative;
  display:block;
  cursor:pointer;
}

.mosc-visa-option input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.mosc-visa-option span{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:12px 14px;
  border:1px solid #d6d9df;
  border-radius:8px;
  background:#ffffff;
  color:#344054;
  font-size:14px;
  font-weight:600;
  line-height:1.4;
  text-align:center;
  transition:all .2s ease;
}

.mosc-visa-option:hover span{
  border-color:#40553D;
  color:#40553D;
}

.mosc-visa-option input:checked + span{
  background:#40553D;
  border-color:#40553D;
  color:#ffffff;
}

.mosc-visa-option input:focus + span{
  border-color:#52684c;
  box-shadow:0 0 0 2px rgba(64,85,61,.10);
}

@media (max-width:500px){
  .mosc-visa-button-group{
    grid-template-columns:1fr;
  }
}

/* v1.0.37: Elementor/theme global button CSS override prevention for custom model dropdown */
.mosc-form-wrap .mosc-form-card .mosc-form-group .mosc-custom-select{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
}

.mosc-form-wrap .mosc-form-card .mosc-form-group .mosc-custom-select-toggle{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  min-height:44px !important;
  padding:10px 28px 12px 0 !important;
  margin:0 !important;
  border:0 !important;
  border-bottom:1px solid #d6d9df !important;
  border-radius:0 !important;
  background:transparent !important;
  background-color:transparent !important;
  color:#40553D !important;
  font-size:16px !important;
  font-weight:400 !important;
  line-height:1.45 !important;
  text-align:left !important;
  box-shadow:none !important;
  text-decoration:none !important;
  cursor:pointer !important;
  -webkit-appearance:none !important;
  appearance:none !important;
}

.mosc-form-wrap .mosc-form-card .mosc-form-group .mosc-custom-select-toggle:hover,
.mosc-form-wrap .mosc-form-card .mosc-form-group .mosc-custom-select-toggle:focus,
.mosc-form-wrap .mosc-form-card .mosc-form-group .mosc-custom-select-toggle:active{
  width:100% !important;
  background:transparent !important;
  background-color:transparent !important;
  color:#40553D !important;
  border-bottom-color:#40553D !important;
  box-shadow:none !important;
  outline:none !important;
}

.mosc-form-wrap .mosc-custom-select-toggle [data-mosc-custom-select-label]{
  display:block !important;
  width:100% !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
  color:#40553D !important;
}

/* v1.0.38: 상담희망 일시 커스텀 드롭다운 색상 적용 */
.mosc-form-wrap .mosc-date-select-wrap{
  position:relative !important;
  width:100% !important;
}

.mosc-form-wrap .mosc-date-select-wrap::after{
  display:none !important;
}

.mosc-form-wrap .mosc-date-native-select{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  min-height:1px !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  opacity:0 !important;
  pointer-events:none !important;
  overflow:hidden !important;
}

.mosc-form-wrap .mosc-date-select-wrap .mosc-native-select-proxy{
  width:100% !important;
}

.mosc-form-wrap .mosc-date-select-wrap .mosc-custom-select-toggle{
  width:100% !important;
  min-height:44px !important;
  padding:10px 28px 12px 0 !important;
  border:0 !important;
  border-bottom:1px solid #d6d9df !important;
  background:transparent !important;
  color:#40553D !important;
  font-size:16px !important;
  font-weight:400 !important;
  line-height:1.45 !important;
  box-shadow:none !important;
}

.mosc-form-wrap .mosc-date-select-wrap .mosc-custom-select-toggle:hover,
.mosc-form-wrap .mosc-date-select-wrap .mosc-custom-select-toggle:focus,
.mosc-form-wrap .mosc-date-select-wrap .mosc-custom-select-toggle:active,
.mosc-form-wrap .mosc-date-select-wrap .mosc-native-select-proxy.is-open .mosc-custom-select-toggle{
  border-bottom-color:#40553D !important;
  background:transparent !important;
  color:#40553D !important;
  box-shadow:none !important;
  outline:none !important;
}

.mosc-form-wrap .mosc-date-select-wrap .mosc-custom-select-list{
  max-height:220px !important;
  background:#F4F4DE !important;
  border-color:#40553D !important;
}

.mosc-form-wrap .mosc-date-select-wrap .mosc-custom-select-option{
  background:#F4F4DE !important;
  color:#40553D !important;
}

.mosc-form-wrap .mosc-date-select-wrap .mosc-custom-select-option:hover,
.mosc-form-wrap .mosc-date-select-wrap .mosc-custom-select-option:focus,
.mosc-form-wrap .mosc-date-select-wrap .mosc-custom-select-option.is-active,
.mosc-form-wrap .mosc-date-select-wrap .mosc-custom-select-option[aria-selected="true"]{
  background:#40553D !important;
  color:#fcfcf2 !important;
}

.mosc-form-wrap .mosc-date-select-wrap .mosc-custom-select-option.is-disabled,
.mosc-form-wrap .mosc-date-select-wrap .mosc-custom-select-option[aria-disabled="true"]{
  background:#F4F4DE !important;
  color:rgba(64,85,61,.38) !important;
  cursor:not-allowed !important;
}
