input, button, select { -webkit-appearance: none; -moz-appearance: none; appearance: none; } 
button {border: 0; background: transparent; cursor: pointer; white-space: nowrap; font-size: 0.94rem;}
input[type="text"],
input[type="password"],
input[type="date"],
input[type="email"],
input[type="tel"] {border: 0;  padding: 10px; height: 60px; width:100%; border: 1px solid #aaa; font-size:1.125rem; background: #fff; color: #000; border-radius: 5px;}  

input[type="button"] {border: 0; background: transparent; cursor: pointer; white-space: nowrap; border-radius: 5px;}

textarea { width: 100%; resize: none; height: 200px; border: 1px solid #aaa; border-radius: 5px; padding: 10px; background: #fff;} 
select {
    padding: 0 30px 0 10px; font-size: 1rem; width: 100%; height: 50px; color: #000; border: 1px solid #000;
    background:url('/img/icon_select_arr-720f4770fb4768c9bc9f360f15718847.png') no-repeat #fff calc(100% - 10px) 50%/13px auto; cursor: pointer;
    border-radius: 5px;
}

input.w100 {max-width: unset; width: 100%;}

input::placeholder,
textarea::placeholder { color: #aaa;} 
input:disabled {background: #f5f5f5;}

input[type="radio"] { border-radius: 10px; margin-top: 0px;}
input[type="checkbox"] { border-radius: 0px;}

input[type="checkbox"],
input[type="radio"] {
    border: 3px solid #000; background: #fff; vertical-align: middle; border-radius: 3px    ; width: 22px; height: 22px; flex-shrink: 0; cursor: pointer; margin-left: 0;
} 
input[type="checkbox"]:checked,
input[type="radio"]:checked {background: #822A8A url(/img/ico_check-7e06ca085524a0652154236ee459dd17.svg) no-repeat center; background-size:12px 12px ;  border-color: #822A8A;}
label { display: flex; align-items: center; gap: 5px; font-size: 0.94rem; line-height: 1.2; cursor: pointer;} 
label:last-child { margin-right: 0;} 

.form_wrap {max-width: 1160px; margin: 0 auto; display: flex; flex-direction: column; gap: 60px;}
.form_wrap .cmnt {font-size: 0.875rem; padding-left: 23px; position: relative; color: #333;}
.form_wrap .cmnt.accent {color: var(--mainColor1);}
.form_wrap .cmnt::before {
    display: block; content: "!"; line-height: 15px; width: 15px; height: 15px; border-radius: 100px; background: var(--mainColor1);
    color: #fff; text-align: center; font-size: 11px; font-weight: 700; position: absolute; left: 0; top: 3px;
}
.form_top {padding-bottom: 10px; border-bottom: 2px solid var(--mainColor1); display: flex; gap: 10px; align-items: center;}
.form_top .reqcmnt {font-size: 0.875rem;}
.form_top .reqcmnt span {color: var(--mainColor1); margin-right: 2px;}
.form_tit .big {font-size: 1.25rem; font-weight: 700; color: #000;}
.form_item {display: flex; gap: 10px; align-items: center; padding: 10px 0; min-height: 90px;}
.form_item .gu {width: 160px; flex-shrink: 0; position: relative; font-size: 1.5rem; font-weight: 600;}
.form_item.req .gu p::after {display: inline-block; content: "*"; color: var(--mainColor1); margin-left: 3px;}
.form_item .nae {display: flex; flex-direction: column; gap: 10px; flex: 1 0 0; font-size: 0.94rem; justify-content: center;}
.form_item .label {display: flex; flex-wrap: wrap; gap: 10px 20px; min-height: 50px;}
.form_item .label .w50 {min-width: calc(50% - 10px);}
.form_item .input {display: flex; gap: 5px;}
.form_item .inbox {display: flex; gap: 20px;}
.form_item .inbox .box {flex: 1 0 0;}
.form_item .inbox .box:last-child {margin-right: 0;}
.form_item .inbox .boxgu {color: var(--mainColor1); font-size: 0.875rem; margin-bottom: 8px;}
.form_item .inbox .boxnae {display: flex; gap: 5px;}
.form_item .email {display: flex; gap: 5px; align-items: center;}
.form_item button {background: var(--mainYellow); color: #000; height: 50px; padding: 0 10px; border-radius: 5px; border: 1px solid #000; font-weight: 700;}
.form_item button .eng {font-size: 0.75rem; color: #ddd;}
.form_bot .btn_box {display: flex; gap: 10px; width: 100%;}
.form_bot .btn_box .btn {width: 100%;}
.form_bot .botcmnt {text-align: center; margin-bottom: 20px;}
.form_bot .withdraw {font-size: 0.9375rem; display: block; margin-left: auto; margin-top: 20px; color: #555; width: max-content;}

/* .form_item .adrs {display: flex; flex-direction: column; gap: 5px;}
.form_item .adrs_box {display: flex; gap: 5px; width: 100%;}
.form_item .adrs_box input {width: 100%; max-width: unset;} */

.terms_box {padding: 15px 0; border: 1px solid #000; display: flex; flex-direction: column; gap: 12px;}
/* .terms_box .box {border: 1px solid #000; padding: 15px; overflow-y: auto; font-size: 0.9375rem;} */
.terms_box .box .link {text-decoration: underline; color: #555;}
.terms_box .bot .text {font-size: 0.9375rem; margin-bottom: 10px; background: #f1f1f1; padding: 15px;}
.form_box .terms_box .box {max-height: 150px;}
.form_box .agree_all label {font-size: 1.125rem; justify-content: center;} 
.terms_box .box .p {margin-left: 20px;}
.terms_box .box .table {width: 100%; overflow-y: auto;}
.terms_box .box table {width: 100%; margin: 10px 0; font-size: 0.875rem;}
.terms_box .box table th,
.terms_box .box table td {border: 1px solid #000; padding: 10px; text-align: center; vertical-align: middle;}
.terms_box .box table th {background: #f1f1f1; font-weight: 700;}
.terms_box .btnDown {border: 1px solid #000; padding: 7px 10px; margin: 5px 0; display: inline-block; background: #f5f5f5;}
.terms_box .tit{font-weight: 600;}

.terms_wrap .inner {max-width: 1000px;}
.terms_wrap .terms_box .box {padding:10px 20px;}


@media screen and (max-width:899px) {

    
    .form_item {flex-direction: column; gap: 10px; min-height: unset;}
    .form_item .gu {width: 100%; padding-top: 0; font-size: 1.25rem; display: flex; gap: 10px; align-items: center;}
    
    .form_item .gu br {display: none;}
    .form_item.req .gu p::before {left: -10px;}
    .form_item .nae {width: 100%; flex:none;}
    .form_item .label {min-height: unset;}

    input[type="text"],
    input[type="password"],
    input[type="date"],
    input[type="email"],
    input[type="tel"] {border: 0;  padding: 10px; height: 50px; width:100%; border: 1px solid #aaa; font-size:1rem; background: #fff; color: #000; border-radius: 5px;}  

}

@media screen and (max-width:599px) {

    .form_item {padding: 10px 0px;}
    .form_item .email {flex-wrap: wrap;}
    .form_item .email input {flex: 1 0 0;}
    .form_item .email select {width: 100%;}
    .form_item .inbox {flex-direction: column; gap: 10px;}
    .form_item .label .w50 {width: 100%;}

    .form_box .mbCmnt {display: block;}
    
    .filebox {flex-direction: column;}
    .filebox .file_name {flex: unset;}
    .filebox .file_btn {width: 100%;}

    .terms_box .box {font-size: 0.875rem;}
    .terms_box .bot .text {font-size: 0.875rem;}
    .terms_box .bot label {font-size: 0.875rem;}
    .terms_box .box table {min-width: max-content;}

    .terms_wrap .terms_box .box {padding: 15px;}

    .form_item .gu{font-size: 1rem;}
}