@font-face {
  font-family: "Pretendard";
  font-weight: 900;
  src: url('../fonts/Pretendard-Black.ttf') format('truetype');
}
@font-face {
  font-family: "Pretendard";
  font-weight: 800;
  src: url('../fonts/Pretendard-ExtraBold.ttf') format('truetype');
}
@font-face {
  font-family: "Pretendard";
  font-weight: 700;
  src: url('../fonts/Pretendard-Bold.ttf') format('truetype');
}
@font-face {
  font-family: "Pretendard";
  font-weight: 600;
  src: url('../fonts/Pretendard-SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: "Pretendard";
  font-weight: 500;
  src: url('../fonts/Pretendard-Medium.ttf') format('truetype');
}
@font-face {
  font-family: "Pretendard";
  font-weight: 400;
  src: url('../fonts/Pretendard-Regular.ttf') format('truetype');
}
@font-face {
  font-family: "Pretendard";
  font-weight: 300;
  src: url('../fonts/Pretendard-Light.ttf') format('truetype');
}
@font-face {
  font-family: "Pretendard";
  font-weight: 200;
  src: url('../fonts/Pretendard-ExtraLight.ttf') format('truetype');
}
@font-face {
  font-family: "Pretendard";
  font-weight: 100;
  src: url('../fonts/Pretendard-Thin.ttf') format('truetype');
}

*, *::before, *::after {
	box-sizing: border-box;
	word-break:keep-all;
	margin: 0;
	padding: 0;
}
html, body {
	font-family: 'Pretendard', sans-serif;
}
img, picture, video, canvas, svg {
	display: block;
	max-width: 100%;
	height: auto;
	border: 0;
}
input, button, textarea, select {
	font: inherit;
	border: none;
	background: none;
	outline: none;
}
button{
	cursor:pointer;
}
a {
	color: inherit;
	text-decoration: none;
}
ul, ol {
	list-style: none;
}
h1, h2, h3, h4, h5, h6 {
	font-size: 1em;
	font-weight: normal;
}		
form, fieldset {
	border: 0;
}
aside, details, figcaption, figure, footer, header, hgroup, menu, nav{
	display: block;
}
html::-webkit-scrollbar {
    width: 10px;
  }
html::-webkit-scrollbar-thumb {
    background-color: #452488;
    border-radius: 10px;
    background-clip: padding-box;
    border: 2px solid transparent;
  }
html::-webkit-scrollbar-track {
    background-color: #ebebeb;
    border-radius: 10px;
 }

.registration{
	width: 100%;
	min-height:100vh;
	position: relative;
}
.copy{
	position:absolute;
	bottom:1rem;
	color:#fff;
	width: 100%;
    text-align: center;
	font-size:0.9rem;
	padding:0 2rem;
}
.registration-bg {
	width: 100%;
	height: 100%;
	background: url('../images/bg_simbol.png') no-repeat right bottom / 40%,  linear-gradient(95deg, rgba(132, 29, 38, 1) 0%, rgba(88, 42, 72, 1) 50%, rgba(45, 42, 89, 1) 100%);
	position:absolute;
	overflow:hidden;
	top:0;
	left:0;
	z-index:-1;
}
.registration-bg > div {
    width: 50vmin;
    height: 50vmin;
    border-radius: 50vmin;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: absolute;
	filter: blur(5rem);
    -webkit-animation-name: background-move;
    -moz-animation-name: background-move;
    animation-name: background-move;
    -webkit-animation-duration: 30s;
    -moz-animation-duration: 30s;
    animation-duration: 30s;
    -webkit-animation-timing-function: linear;
    -moz-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    animation-iteration-count:infinite
}
.registration-bg > div:first-child {
    color: #e60114;
    opacity: .2;
    top: 64%;
    left: 3%;
    -webkit-animation-duration: 18.8s;
    -moz-animation-duration: 18.8s;
    animation-duration: 18.8s;
    -webkit-animation-delay: -2.7s;
    -moz-animation-delay: -2.7s;
    animation-delay: -2.7s;
    -webkit-transform-origin: 14vw -22vh;
    -moz-transform-origin: 14vw -22vh;
    transform-origin: 14vw -22vh;
    -webkit-box-shadow: 100vmin 0 20.5259430347vmin currentColor;
    box-shadow:100vmin 0 20.5259430347vmin currentColor
}
.registration-bg > div:nth-child(2) {
    color: #75226a;
    opacity: .2;
    top: 24%;
    left: 85%;
    -webkit-animation-duration: 26.5s;
    -moz-animation-duration: 26.5s;
    animation-duration: 26.5s;
    -webkit-animation-delay: -3.1s;
    -moz-animation-delay: -3.1s;
    animation-delay: -3.1s;
    -webkit-transform-origin: -1vw -14vh;
    -moz-transform-origin: -1vw -14vh;
    transform-origin: -1vw -14vh;
    -webkit-box-shadow: 100vmin 0 36.2934581027vmin currentColor;
    box-shadow:100vmin 0 36.2934581027vmin currentColor
}
.registration-bg > div:nth-child(3) {
    color: #1d2088;
    opacity: .2;
    top: 41%;
    left: 5%;
    -webkit-animation-duration: 26.3s;
    -moz-animation-duration: 26.3s;
    animation-duration: 26.3s;
    -webkit-animation-delay: -1.8s;
    -moz-animation-delay: -1.8s;
    animation-delay: -1.8s;
    -webkit-transform-origin: -5vw -21vh;
    -moz-transform-origin: -5vw -21vh;
    transform-origin: -5vw -21vh;
    -webkit-box-shadow: -100vmin 0 21.6771071789vmin currentColor;
    box-shadow:-100vmin 0 21.6771071789vmin currentColor
}
@-webkit-keyframes background-move {
    to {
        -webkit-transform: translateZ(1px) rotate(1turn);
        transform:translateZ(1px) rotate(1turn)
    }
}
@-moz-keyframes background-move {
    to {
        -moz-transform: translateZ(1px) rotate(1turn);
        transform:translateZ(1px) rotate(1turn)
    }
}
@keyframes background-move {
    to {
        -webkit-transform: translateZ(1px) rotate(1turn);
        -moz-transform: translateZ(1px) rotate(1turn);
        transform: translateZ(1px) rotate(1turn)
    }
}
.registration-lang{
	display:flex;
	align-items: center;
    justify-content: center;
	min-height:100vh;
	flex-direction: column;
}
.registration-lang-inner {
	display: flex;
    gap: 1.5rem;
    width: 100%;
    max-width: 1100px;
    padding: 0 20px;
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
}
.registration-lang-inner > *{
	width:100%;
	transition:ease 0.5s;
}
.registration-top{
	color:#fff;
	font-size:1rem;
	display:flex;
	flex-direction:column;
	gap:0.5rem;
	text-align:center;
	padding-bottom:2rem;
	margin-bottom:1.5rem;
	border-bottom: 1px solid #ddd;
}
.registration-logo{
	display: flex;
    justify-content: space-between;
}
.registration-logo img{
	width:calc(100% / 2 - 3rem);
}
.registration-txt{
	margin:3rem auto;
	margin-bottom:5rem;
	display:flex;
	flex-direction:column;
	gap:1rem;
	color:#fff;
	text-align:center;
	font-size:1.3rem;
	line-height:1.6;
}
.registration-bt{
	display:flex;
	justify-content: center;
	gap:2rem;
}
.registration-btn-wrap{
	width:calc(100% / 2 - 10%);
}
.registration-btn{
	width:100%;
	display:block;
	padding:1rem 1rem;
	border-radius:2rem;
	text-align:center;
	font-weight:800;
	font-size:1.2rem;
	background:#fff;
	color:#75212f;
}
.registration-edit-btn{
	display:table;
	margin:0 auto;
	margin-top:1rem;
	color:#fff;
	text-decoration:underline;
	text-align:center;
}
.registration-edit a{
	text-decoration:underline;
	color:#fff;
}

@media (max-width:1024px) {
	.registration-bg{
		background: url('../images/bg_simbol.png') no-repeat right bottom / 40%,  linear-gradient(118deg, rgba(132, 29, 38, 1) 0%, rgba(88, 42, 72, 1) 50%, rgba(45, 42, 89, 1) 100%);
	}
	.registration-lang-inner{
		max-width:800px;
	}
}
@media (max-width:820px) {
	.registration-lang-inner{
		max-width:600px;
	}
	.registration-txt br{
		display:none;
	}
	.registration-txt {
		font-size: 1.1rem;
		line-height: 1.4;
	}
	.registration-logo img {
		width: calc(100% / 2 - 1rem);
	}
	.registration-btn-wrap {
		width: calc(100% / 2 - 1rem);
	}
	.registration-btn{
		font-size:1rem;
	}
}
@media (max-width:640px) {
	.registration{
		padding:1rem 0;
	}
	.registration-lang{
		padding:3rem 0 5rem 0;
	}
	.registration-lang-inner{
		gap:1rem;
		padding:0 30px;
	}
	.registration-bt{
		gap:1rem;
	}
	.registration-btn-wrap{
		width:calc(100%);
	}
	.registration-btn {
		padding: 0.8rem 1.5rem;
		border-radius:2.5rem;
	}
	.registration-txt{
    margin: 2rem auto;
    margin-bottom: 2rem;
	}
	.copy{
		font-size:0.8rem;
	}

}

.common-notice{
  width: 100%;
  padding: 1rem 1.1rem;
  background-color: #f8f8f8;
  border: 1px solid #ededed;
  margin-bottom:1rem;
}
.common-notice strong{
  padding:0.3rem 0;
  color:#333;
}
.common-notice ol{
  display: block;
  list-style-type: decimal;
  padding-inline-start: 20px;
  unicode-bidi: isolate;
  margin-top:0.6rem;
}
.common-notice ol li{
  color:#555;
  padding:0.2rem;
}

.registration-wrap{
	display: flex;
    flex-direction: column;
    align-items: center;
    padding:5rem 1.5rem;
}
.registration-wrap h1{
	color:#fff;
	font-size:1.2rem;
	text-align:center;
	width:100%;
	padding:1rem 1rem;
}
.registration-inner{
    background: #fff;
    padding: 0;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: block;
    /* overflow: hidden; */
	padding: 2rem 2.5rem;
	margin-bottom:3rem;
  position:relative;
}
.blur-bg{
  text-align:center;
  position:absolute;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  left:50%;
  top:50%;
  font-size:0.9rem;
  color:#333;
  line-height:1.4;
  transform:translate(-50%,-50%);
  width:100%;
  height:100%;
  display:flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index:1001;
}
.blur-bg img{
  width:100px;
  height:100px;
}
.blur-bg p{
  padding-top:20px;
}
[hidden]{
  display:none;
}

.registration-header {

}

.registration-header h1 {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
}

.registration-steps {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
  justify-content: space-between;
}

.registration-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #ddd;
    transform: translateY(-50%);
    z-index: 1;
}
.step {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 4px;
  color: #aaa;
  position: relative;
  z-index: 2;
  background-color: #fff;
  padding:0 1rem;
  text-align:center;
}
#step-nav-1{
	padding:0 1rem 0 0;
}
#step-nav-4{
	padding:0 0 0 1rem;
}

.step .step-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #aaa;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  transition: background-color 0.3s;
}

.step .step-title {
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.3s;
}

.step.active .step-number { background-color: #911b31; }
.step.active .step-title { color: #911b31; }

.step.completed .step-number {
  background-color: #333;
  font-size: 0; /* 숫자 숨기기 */
}
.step.completed .step-number::before {
  content: '✓';
  font-size: 1rem;
  color: #fff;
}
.step.completed .step-title { color: #333; }


/*  단계별 콘텐츠 표시  */
.step-content { 
  display: none; 
}
.step-content.active { 
  display: block; 
}


/*  1단계: 동의 페이지  */
.agreement-section {
  border-top: 2px solid #333;
  border-bottom: 1px solid #ddd;
}
.agreement-item {
  border-bottom: 1px solid #ddd;
}
.agreement-item:last-child {
  border-bottom: none;
}
.agreement-item:last-child .agreement-content{
  height:auto;
  overflow-y: auto;  
}
.agreement-header {
  padding: 1rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  font-weight: 500;
}
.agreement-header .arrow{
  display:block;
  position:relative;
}
.agreement-header .arrow:before {
  content: "";
  position: absolute;
  top: 40%;
  right:4px;
  width: 8px;
  height:8px;
  border-top: 1px solid #333;
  border-left: 1px solid #333;
  transform: translateY(-40%) rotate(225deg);
  -webkit-transform: translateY(-40%) rotate(225deg);
}
.agreement-header.active .arrow:before {
  transform: translateY(-40%) rotate(45deg);
  -webkit-transform: translateY(-40%) rotate(45deg);
}
.agreement-content {
  padding: 1rem;
  background-color: #f5f5f5;
  display: none;
  font-size: 0.9rem;
  color: #555;
  height: 300px;
  overflow-y: scroll;
}
.agreement-content p + ul{
	margin-bottom:1rem;
}
.agreement-check {
  padding: 20px 0;
  text-align: left;
  color:#bf0427
}
.agreement-check label{
  font-size: 0.9rem;
}


.guidelines{
	font-size:0.9rem;
}
.guidelines p{
	margin-bottom:0.5rem;
	line-height:1.4;
  word-break: break-word;
}
.guidelines p + p{
	margin-bottom:0.8rem;
}
.guidelines hr {
    display: block;
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
    margin-inline-start: auto;
    margin-inline-end: auto;
    border-style: inset;
    border-width: 1px;
}
.guidelines ol {
    display: block;
    list-style-type: decimal;
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 20px;
    unicode-bidi: isolate;
}
.guidelines ul {
    list-style-type: disc;
}
.guidelines ul.margin-left{
	margin-left:1.5rem;
}
.guidelines ul > li.arrow{
	list-style-type:none;
}
.guidelines ul > li{
}
.guidelines ul > li.arrow{
	margin-left: 0.5rem;
}
.guidelines ul > li.arrow > p:before{
	display:inline-block;
	content: '\25B6';
	font-size:0.8rem;
	padding-right:0.2rem;
	vertical-align:middle;
}
.guidelines  li {
    display: list-item;
    text-align: -webkit-match-parent;
    unicode-bidi: isolate;
}
.guidelines ul > li > ul{
	padding-inline-start: 1rem;
}
.guidelines ::marker {
    unicode-bidi: isolate;
    font-variant-numeric: tabular-nums;
    text-transform: none;
    text-indent: 0px !important;
    text-align: start !important;
    text-align-last: auto !important;
}
.guidelines table{
	text-align:center;
	width:100%;
}
.guidelines table th, .guidelines table td{
	padding:0.3rem 0.2rem;
	border:1px solid #aaa;
}
.guidelines table + ul{
	padding:0.5rem 0;
}

.formula {
  font-size: 0.9rem; 
  line-height: 1.4;
  margin-bottom:1rem;
}
.formula .label { 
  margin-right: .4em; 
}
.formula .eq { 
  margin: 0 .35em; 
}
.formula .times { 
  margin-left: .35em; 
}
.fraction {
  display: inline-grid;
  grid-template-rows: auto 1px auto;
  align-items: center;
  justify-items: center;
  padding: 0 .25em;
  min-width: 9em;           
  vertical-align: middle;
}
.fraction .top { 
  padding-bottom: .2em; 
}
.fraction .bar {
  width: 100%;
  height: 1px;
  background: #000;
}
.fraction .bottom { padding-top: .2em; }

/*  2단계: 폼  */
/* 2단계에서는 step-content 패딩이 중복되므로 form 패딩을 제거 */
#step-2-content .form {
    padding: 0;
    box-shadow: none;
}
.airport-info > span{
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.8rem;
  color: #333;
  margin-bottom:-0.3rem;
}
/* tab */
.tab-content { 
  display: none; 
}
.tab-content.active { 
  display: block; 
}
.tab-buttons { 
  margin-bottom:1rem; 
  display:flex;
}
.tab-btn{
  flex:1;
  padding:0.8rem 0.8rem;
  transition:ease 0.3s;
}
.main-tab .tab-btn{
  padding:0.8rem 1.2rem;
  position:relative;
  border-bottom:2px solid #ddd;
  margin-bottom:1rem;
}
.main-tab .tab-btn.active{
  font-weight:800;
  color:#911b31;
}
.main-tab .tab-btn.active::after{
  display:block;
  position:absolute;
  content:'';
  width:100%;
  height:4px;
  left:0;
  bottom:-2px;
  background-color: #911b31;
}
.nested-tab .tab-btn{
  background-color:#fff;
  border:1px solid #202021;
  display:flex;
  padding:0.8rem 1.2rem;
  justify-content: space-between;
  margin-bottom:0.6rem;
}
.nested-tab .tab-btn.active { 
  font-weight: bold; 
  cursor: pointer; 
  color:#fff;
  background-color: #202021;
}
.tab-count {
  color: red;       
  font-weight: bold;
  margin-left: 4px;
  font-size: 0.9em;
}
.nested-tab .tab-btn.active .tab-count{
  /* color:#fff; */
}
.nested-tabs .player-list{
  max-height:400px;
  overflow-y:scroll;
}
.player-list > div{
  padding: 0.6rem 0.8rem;
  background: #fff;
  border: 1px solid #ededed;
  width: 100%;
  color: #555;
  font-size: 0.9rem;
  margin-bottom:0.5rem;
}
.team-btn-wrap{
  display:flex;
}
/* 팀 구성 완료 후 아코디언 */
.team-num{
  padding:1rem 0 0.5rem 0.3rem;
  display:block;
}
.accordion-container {
  width: 100%;
  overflow: hidden;
}
.accordion-header {
  padding:0.8rem 1rem;
  border:1px solid #ddd;
  background: #f5f5f5;
  cursor: pointer;
  user-select: none;
  font-weight: bold;
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.1s ease;
}
.accordion-body-label{
  display:block;
  padding-bottom:0.3rem;
}
.accordion-item.active .accordion-body {
  max-height: 1000px; 
}
.accordion-item.active{
  border:1px solid #ddd;  
}
.accordion-item.active .accordion-header{
  background:#202021;
  color:#fff;
}
.accordion-item.active .accordion-body {
  padding: 1rem;
  max-height: 500px;
}

/*  이메일 인증  */
.email-input-group, .address-input-group, 
.verification-input-group {
    display: flex;
    gap: 10px;
}
.address-input-box{
  margin-bottom:1rem;
}
.address-input-group{
  margin-bottom:0.6rem;
}
.email-input-group input, .address-input-group input,
.verification-input-group input {
    flex-grow: 1;
}
 .verification-code-group{
	margin-top:0.6rem;
 }
.email-input-group .verify-btn,.address-input-group .sch-btn, .verification-input-group .confirm-btn, .verification-code-group .confirm-btn {
    padding: 0.5rem 1rem;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    white-space: nowrap;
	font-size:0.9rem;
}
.email-input-group .verify-btn:hover, .address-input-group .sch-btn:hover,
.verification-input-group .confirm-btn:hover {
    background-color: #555;
}
.verification-status {
    padding:0.5rem;
    font-size: 0.8rem;
}
.verification-status.success {
    color: green;
}
.verification-status.error {
    color: #911b31;
}



/*  4단계: 완료 페이지  */
.completion-message {
    text-align: center;
}
.complete-logo {
    width: 120px;
    margin: 0 auto 20px auto;
}
.completion-message h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}
.completion-message p {
    color: #666;
    margin-bottom: 30px;
}
.completion-img {
    position: relative;
    width: 100%;
    height: 200px;
	margin-top:3rem;
}
.completion-table-wrap{
  background:#f0f0f0;
  padding:1rem 1rem;
}
.completion-table{
  width:100%;
  border-collapse: collapse;
}
.completion-table-wrap > p{
  width:100%;
  font-weight:600;
  text-align:left;
  color:#222;
  padding:0 0 0.3rem 0.5rem;
  font-size:0.9rem;
  display:block;
  margin-bottom:0.2rem;
}
.completion-table tr td, .completion-table tr th{
  border:1px solid #cbcbcb;
  padding:0.3rem;
  font-size:0.9rem;
}
.completion-table tr th{
  color:#222;
  font-weight:600;
}
.completion-table + p{
  margin-top:1rem;
}

.end-symbol {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: auto;
}
.firework {
    position: absolute;
    transform: translateY(-50%) scale(0.5);
    width: 100px;
    height: auto;
}
.firework-left {
   left: 25%;
    top: 15%;
    animation: firework-pulse 3s infinite;
}
.firework-right {
	right: 25%;
    top: 30%;
    animation: firework-pulse 3s infinite 1s;
}
/* 폭죽이 커졌다 작아졌다 하는 애니메이션 정의 */
@keyframes firework-pulse {
    0% { transform: translateY(-50%) scale(0.5); }
    50% { transform: translateY(-50%) scale(0.8); }
    100% { transform: translateY(-50%) scale(0.5); }
}

.form {
	background: #fff;
	padding: 2rem 2.5rem;
	max-width: 600px;
	width: 100%;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.form-group {
	margin-top:1rem;
}
.form-group.sr-only{
	margin-top:0.6rem;
}
.form-group > label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
	font-size:0.8rem;
	color: #333;
	display: flex;
    align-items: center;
    gap: 0.3rem;
}
label span.noti{
	font-size:0.75rem;
	color:#888;
	font-weight:400;
	margin-top:0.1rem;
}
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="file"],
.form-group input[type="number"],
.form-group select {
	width: 100%;
	padding: 0.8rem 0.8rem;
	background:#fff;
	border:1px solid #ededed
}
.form-group input:-internal-autofill-selected {
    appearance: menulist-button;
    background-image: none !important;
    background-color: #fff !important;
    color: fieldtext !important;
}
input:-internal-autofill-selected {
    appearance: menulist-button;
    background-image: none !important;
    background-color:#fff !important;
    color: fieldtext !important;
}
.form-group input::placeholder, .form-group textarea::placeholder{
	font-size:0.9rem;
}
.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="file"]:focus,
.form-group input[type="number"]:focus,
.form-group select:focus {
  outline: 1px solid #aaa;
}
.form-group textarea{
	width:100%;
	min-height:150px;
	line-height:1.4;
	padding: 0.8rem 0.8rem;
	border:1px solid #ededed
}
input:focus + label {
  color: #000;
}
.form-group:focus-within label {
  color: #000;
}
.form-group.box{
}
.form-group.box > div{
	display:flex;
	justify-content:space-between;
	gap:0.5rem;
}
.form-group.box > div label{
	padding: 0.6rem 0.8rem;
    background: #fff;
    border: 1px solid #ededed;
	width:100%;
	color:#555;
	font-size:0.9rem;
}
.form-group .box2 > div{
	display:block;
	width:calc(100% / 2 - 0.5rem);
}
.form-group .box3 > div{
	display:block;
	width:calc(100% / 3 - 0.5rem);
}
.form-group .box4 > div{
	display:block;
	width:calc(100% / 4 - 0.5rem);
}
.sr-only > label{
  position: absolute;  
  width: 1px;          
  height: 1px;          
  padding: 0;
  margin: -1px;        
  overflow: hidden;    
  clip: rect(0, 0, 0, 0); 
  white-space: nowrap; 
  border: 0;
}
.custom-select::after {
  content: "▼";
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 12px;
  color: #333;
}
.dropdown {
	position: relative;
	display: inline-block;
	width:100%;
	max-width:600px;
}
.dropdown-btn {
	background-color: #fff;
	border: 1px solid #ededed;
	padding: 0.6rem 0.8rem;
	width: 100%;
	text-align: left;
	cursor: pointer;
	position:relative;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px; 
	color:#555;
}
.dropdown-btn::after {
	content: '';
	position:absolute;
	right: 1rem;
    top: 50%;
	width: 8px; 
	height: 8px;
	border-bottom: 1px solid #333; 
	border-right: 1px solid #333;
	transform:translateY(-50%) rotate(45deg); 
	margin-bottom: 2px;
	pointer-events: none;
	transition: transform 0.3s ease; 
}
.dropdown-btn.active::after {
	transform:translateY(-50%) rotate(-135deg); 
}
.dropdown-content {
	display: none; 
	position: absolute;
	background-color: #fff;
	width: 100%;
	max-height: 300px;
	overflow-y: auto;
	border: 1px solid #ccc;
	z-index: 999;
	padding: 8px 0;
}
.dropdown-content.active {
	display: block; /* active 클래스가 있을 때만 보이도록 함 */
}
.dropdown-content div {
	padding: 8px 10px;
	display: flex;
	align-items: center;
	cursor: pointer;
}
.dropdown-content div:hover {
	background-color: #f1f1f1;
}
.dropdown-content img {
	width: 20px;
	height: 14px;
	margin-right: 10px;
}

.upload-instruction{
	border: 2px dashed #ededed;
    padding: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
	cursor:pointer;
}
.upload-instruction img{
	max-width:18px;
	margin-right:6px;
}
.upload-instruction p{
	font-size: 0.85rem;
    color: #888;
}
.radio-group label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-size:0.9rem;
  color:#555;
}

/* 기본 라디오 버튼 숨기기 */
.radio-group input[type="radio"] {
  display: none;
}

/* 커스텀 라디오 버튼의 바깥 원 스타일 */
.radio-custom {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 1px solid #adb5bd;
  border-radius: 50%;
  margin-right: 4px;
  position: relative;
  transition: all 0.2s ease;
}
.radio-custom::after {
  content: "";
  position: absolute;
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #911b31;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0); /* 처음엔 작게 만들어 숨김 */
  transition: all 0.2s ease;
}
.radio-group input[type="radio"]:checked + .radio-custom {
  border-color: #911b31;
}
.radio-group input[type="radio"]:checked + .radio-custom::after {
  transform: translate(-50%, -50%) scale(1); /* 원래 크기로 확대 */
}
.radio-group input[type="radio"]:focus-visible + .radio-custom {
  box-shadow: 0 0 0 2px rgba(145, 27, 49, 0.5);
}
.checkbox-square {
  width:100%;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  -webkit-user-select: none; 
  -moz-user-select: none; 
  -ms-user-select: none; 
  user-select: none;
}
.checkbox-square input[type="checkbox"] {
  display: none;
}
.checkbox-square .checkmark {
  width: 16px;
  height: 16px;
  border: 1px solid #adb5bd; 
  margin-right: 4px;
  background-color: white;
  position: relative;
  transition: all 0.2s ease;
}
.checkbox-square input[type="checkbox"]:checked + .checkmark {
  background-color: #911b31;
  border-color: #911b31; 
}
.checkbox-square input[type="checkbox"]:checked + .checkmark::before {
  content: "";
  position: absolute;
  display: block;
  background: url('../images/checkbox.svg') no-repeat center center / 100%;
  width: 10px;
  height: 8px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.checkbox-square .label-text {
    color: #555;
    font-weight: normal;
    transition: color 0.2s, font-weight 0.2s;
}
.radio-group .label-text {
    color: #555;
    font-weight: normal;
    transition: color 0.2s, font-weight 0.2s;
}
.checkbox-square input[type="checkbox"]:checked + .checkmark + .label-text {
    color: #000;
}
.radio-group input[type="radio"]:checked + .radio-custom + .label-text {
    color: #000;
}
.checkbox-square input[type="checkbox"]:focus-visible + .checkmark {
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.5);
}
.player-box {
	width:100%;
	border-top: 1px solid #aaa;
	margin:2.5rem 0 1rem 0;
	padding: 1rem 0;
	position: relative;
}
.player-box legend {
	font-weight: bold;
	padding-right:8px;
}
.radio-group,
.checkbox-group {
	display: flex;
	flex-wrap: wrap;
	gap:1rem;
	align-items: center;
}
.radio-group label,
.checkbox-group label{
	cursor:pointer;
}
.radio-group input[type="radio"]:checked + .radio-custom + span {
  color: #000;
}
.checkbox-group{
	/* padding:0.8rem;
	border:1px solid #ededed;
	font-size:0.9rem; */
}
.team-events .checkbox-group, .individual-events .checkbox-group{
	border: 1px solid #ededed;
	padding: 0.6rem 0.8rem;
}
#players-container input{
}

.team-events, .individual-events{
	display:none;
}
.team-composition-btn{
  width:100%;
  border: 1px solid #202021;
	padding: 0.6rem 0.8rem;
	cursor: pointer;
	margin-top: 8px;
  color:#000;
}
.add-btn{
	border: 1px solid #202021;
	padding: 0.6rem 0.8rem;
	cursor: pointer;
	margin-top: 8px;
  color:#000;
}
.add-career-btn{
	padding: 0.4rem 0.8rem;
	font-size:0.8rem;
	margin-top:0.4rem;
	border:1px solid #aaa;
}
.remove-player {
    padding: 0.3rem 0.6rem;
    font-size: 0.8em;
    position: absolute;
    top: -1.6rem;
    right: 0;
    border: 1px solid #aaa;
    background: #fff;
    color: #000;
    font-weight: 600;
}
.remove-team {
    padding: 0.3rem 0.6rem;
    font-size: 0.8em;
    right: 0;
    border: 1px solid #aaa;
    background: #fff;
    color: #000;
    font-weight: 600;
  margin-left: auto;
}
.preview{
	display:flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.preview img {
	margin-top: 8px;
	border-radius: 6px;
	width: 80px;
	height: 80px;
	object-fit: cover;
}
.submit-btn{
	display:block;
	width:100%;
	margin:20px auto;
	background:#202021;
	color:#fff;
	padding:0.8rem 0.8rem;
}
.back-btn{
  display:block;
	width:100%;
	margin:20px auto;
	background:#e6e6e6;
	color:#222;
	padding:0.8rem 0.8rem;
}


@media (max-width: 640px) {
	.radio-group, .checkbox-group {
		flex-direction: column;
	}
	.preview img {
		margin-top: 8px;
		border-radius: 6px;
		width: 40px;
		height: 40px;
		object-fit: cover;
	}
	.step .step-title{
		font-size:0.75rem;
	}
	.registration-inner {
		padding: 1.5rem 1.2rem;
	}
	.form-group .box3 > div {
		display: block;
		width: calc(100%);
	}
	.form-group .box2 > div{
		width: calc(100%);
	}
	.registration-wrap{
		padding: 3rem 1rem;
	}
	.step {
		padding:0 0.2rem;
	}
	#step-nav-1{
		padding:0 0.2rem 0 0
	}
	#step-nav-4{
		padding:0 0 0 0.2rem
	}
	.step .step-number {
		width: 18px;
		height: 18px;
		font-size: 0.7rem;
	}
	.agreement-header{
		padding: 1rem 0.5rem;
	}
	.dropdown-btn{
		font-size:0.9rem;
	}
	.form-group textarea{
		font-size:0.9rem;
	}
}

