@charset "utf-8";

@font-face {
	font-family: 'NanumSquareNeo-Variable';
	src: url('/layouts/pigs/font/NanumSquareNeo-Variable.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}

/* 기본 CSS */
*{
	font-family: 'NanumSquareNeo-Variable', sans-serif;
	margin: 0;
	padding: 0;
}

a {
	text-decoration: none;
}

.main_content {
    max-width: 900px !important;
	min-height: 1980px !important;
    min-width: 0px !important;
    background-color: rgb(0 0 0 / 0%) !important;
    padding-top: 0px !important;
    box-shadow: 0 0 20px rgb(0 0 0 / 0%) !important;
    border: solid 1px rgba(0, 0, 0, 0%) !important;
    display: flex !important;
    height: auto !important;
    flex-direction: column-reverse;
    align-items: stretch;
    justify-content: center;
}

body {
	background-color: rgba( 255, 255, 255, 0 ) !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;
}

.signup_pigs_container{
	display: flex;
	justify-content: center;
	align-items: center;
	height: auto;
	height: 100vh;
}

.signup_pigs {
	background-color: #f7f4f4;
	border-radius: 20px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
	border: solid 1px rgba(0, 0, 0, 0.1);
	padding: 40px;
	max-width: 1000px;
	width: 100%;
}

.signup_pigs h1 {
	font-weight: bold;
	font-size: 30px;
	text-align: center;
	margin-bottom: 20px;
	color: #513631;
}




.signup_pigs_form input{
	box-shadow: 0 0 0 1px #dbdbdb inset;
	border:none;
	font-size: 16px;
	padding: 15px;
	background-color: #ffffff;
	border-radius: 10px;
	outline: none;
	transition: border-color 0.3s;
	margin-bottom: 25px;
    margin-top: 10px;	
    box-sizing: border-box;
	width:100%;
}

.signup_pigs_form input:focus{
	box-shadow: 0 0 0 2px #513631 inset;
}

.signup_pigs_form .controls::placeholder{
	color: #c6c6c6;

}
button.signup_pigs_submit {
	background-color: #513631;
	color: white;
	border: none;
	border-radius: 10px;
	padding: 12px;
	font-size: 16px;
	cursor: pointer;
	margin-top: 22px;
	transition: background-color 0.3s;
}

button:hover.signup_pigs_submit {
	background-color: #e86584;
}

.signup_pigs_links {
	display: flex;
	justify-content: center;
	margin-top: 20px;
}

.signup_pigs_links a {
	color: #444444;
	text-decoration: none;
	margin: 0 5px;
}


.signup_pigs_links span {
	color: #444444;
	font-weight: bold;
	margin: 0 5px;
}
.signup_pigs .logo{
	font-weight: bold;
	font-size: 30px;
	text-align: center;
	margin-bottom: 20px;
}
.signup_pigs .logo img {
  max-width: 150px;
  text-align: center;

}

@media (max-width: 700px) {
	.signup_pigs {
	background-color: #fff;
	box-shadow: none;
	border:none;
	padding: 20px;
	min-width:320px;
	width:90%;
	}
}


.message {padding : 10px !important;}

/* input 숨겨준다 */
input#accept_agreement_1{
	width:24px;
	height:24px;
	margin-left:4px;
	opacity: 0;	
}

input#accept_agreement_1 + label{
	cursor:pointer;
	margin-left: -30px;
 }

input#accept_agreement_1 + label > span{
	vertical-align: middle;
	padding-left: 5px;
 }

/* label:before에 체크하기 전 상태 CSS */
input#accept_agreement_1 + label:before{
	content:"";
	display:inline-block;
	width:17px;
	height:17px;
	border:2px solid #513631;
	border-radius: 4px;
	vertical-align:middle;
}
	
/* label:before에 체크 된 상태 CSS */	
input#accept_agreement_1:checked + label:before{
	content: "";
	background-color: #513631;
	border-color: #513631;
	background-image: url(/modules/message/skins/pigs/images/check_btn.png);
	background-repeat: no-repeat;
	background-position: 50%;
}


.agreement .title{
    padding: 15px 0 15px 0;
    margin: 0;
    font-size: 15px;
    text-align: center;
}

.signup_pigs{
    font-size: 15px;
}

.agreement .confirm{
    padding: 8px 0 28px 0;
    margin: 0;
}

.dateRemover{
	margin-top:-15px!important;
}

.agreement .text {
  max-height: 230px; /* 텍스트 박스 높이 설정 */
  background-color:#fff;
  border-radius:5px;
  border:solid 1px #ccc;
  padding: 0.8rem 1.6rem;
  overflow-y: scroll;
}

/* Firefox에서 스크롤바 스타일링 */
.agreement .text::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.agreement.text::-webkit-scrollbar-thumb {
  background-color: #6dddc7;
  border-radius: 3px;
}

/* Chrome, Safari, Edge에서 스크롤바 스타일링 */
.agreement .text::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.agreement .text::-webkit-scrollbar-thumb {
  background-color: #bfbfbf;
  border-radius: 3px;
}

/* IE, Edge(Chromium)에서 스크롤바 스타일링 */
.agreement .text::-ms-scrollbar {
  width: 6px;
  height: 6px;
}

/* 스크롤에 마우스가 올라갔을 때 */
.agreement .text:hover::-webkit-scrollbar-thumb {
  background-color: #513631;
}

.agreement .text p {
  font-size: 12px; /* 글자 크기 설정 */
  line-height: 1.5; /* 줄 간격 설정 */
  margin: 10px 0; /* 상하 여백 설정 */
  padding: 0; /* 내부 여백 제거 */
}

.help-inline{
	margin-bottom:18px;
	margin-top:-18px;
    text-align: center;
	font-size:12px;
}

.help-block{
	margin-top:-10px;
	margin-left:15px;
	font-size:12px;
}

.signup_pigs_form2_title{
    margin-top: 35px;
}

.signup_pigs_form2 {
    margin: 18px 0;
}
.signup_pigs_form2 input[type=radio]{
    display: none;
}
.signup_pigs_form2 input[type=radio]+label{
    box-shadow: 0 0 0 2px #dbdbdb inset;
    border: none;
    font-size: 12px;
    padding: 10px 15px;
    background-color: #ffffff;
    border-radius: 30px;
    outline: none;
    transition: border-color 0.3s;
	cursor: pointer;
}
.signup_pigs_form2 input[type=radio]+label{
    background-color: #fff;
    margin-right: 5px;
    color: #333;
}
.signup_pigs_form2 input[type=radio]:checked+label{
    background-color: #513631;
    box-shadow: 0 0 0 1px #513631 inset;
    font-weight:bold;
    color: #fff;
	margin-bottom:20px;
	transition: background-color 0.3s;
}

.signup_pigs_form2 input[type=radio]:hover+label{
    background-color: #513631;
    box-shadow: 0 0 0 1px #513631 inset;
    font-weight:bold;
    color: #fff;
	margin-bottom:20px;
	transition: background-color 0.3s;
	
}

.help-block2{
	margin:8px 0 2px 0;
	font-size:12px;
}


input.signup_pigs_form_submit {
	background-color: #513631;
	color: white;
	border: none;
	border-radius: 30px;
	padding: 12px;
	font-size: 16px;
	cursor: pointer;
	margin-top: 22px;
	transition: background-color 0.3s;
}

input:hover.signup_pigs_form_submit {
	background-color: #e86584;
}