@charset "utf-8";

/* =========================================================
   GAYA TOUR REG PAGE
   - :root 사용 안 함
   - gbckl 계열 클래스 사용 안 함
   - PHP logic / id / name / JS 유지
========================================================= */


/* page base */
body {
	background:
		radial-gradient(circle at 8% 20%, rgba(219, 209, 189, 0.42) 0 82px, transparent 84px),
		radial-gradient(circle at 92% 24%, rgba(218, 226, 190, 0.5) 0 112px, transparent 114px),
		linear-gradient(180deg, #edf6f7 0%, #f8f1e7 34%, #f7f1e7 100%);
	color: #3b2418;
	overflow-x: hidden;
}

.d-none {
	display: none !important;
}

.tour-reg-page {
	position: relative;
	min-height: 100vh;
	overflow: hidden;
	background: transparent;
}

.tour-reg-page::before {
	content: "";
	position: absolute;
	left: 4vw;
	top: 230px;
	width: 155px;
	height: 345px;
	pointer-events: none;
	opacity: 0.2;
	/* background:
		radial-gradient(ellipse at 34px 34px, #8d6f5d 0 16px, transparent 17px),
		radial-gradient(ellipse at 86px 96px, #8d6f5d 0 18px, transparent 19px),
		radial-gradient(ellipse at 44px 166px, #8d6f5d 0 15px, transparent 16px),
		radial-gradient(ellipse at 100px 238px, #8d6f5d 0 18px, transparent 19px),
		radial-gradient(ellipse at 54px 312px, #8d6f5d 0 16px, transparent 17px); */
	transform: rotate(-12deg);
	z-index: 0;
}

.tour-reg-page::after {
	content: "";
	position: absolute;
	right: 6vw;
	top: 390px;
	width: 260px;
	height: 140px;
	pointer-events: none;
	opacity: 0.16;
	/* background:
		radial-gradient(circle at 30px 90px, rgba(202, 123, 59, 0.9) 0 4px, transparent 5px),
		repeating-radial-gradient(
			ellipse at 36px 92px,
			transparent 0 22px,
			rgba(202, 123, 59, 0.55) 23px 25px,
			transparent 26px 48px
		); */
	border-radius: 50%;
	transform: rotate(-8deg);
	z-index: 0;
}


/* hero */
.tour-reg-hero {
	position: relative;
	z-index: 1;
	min-height: 335px;
	padding: 65px 24px 50px;
	/* background:
		linear-gradient(180deg, rgba(229, 245, 247, 0.96) 0%, rgba(248, 241, 231, 0.86) 72%, rgba(248, 241, 231, 0) 100%),
		radial-gradient(ellipse at 16% 88%, rgba(119, 151, 68, 0.78) 0 12%, transparent 12.6%),
		radial-gradient(ellipse at 34% 86%, rgba(151, 174, 79, 0.76) 0 14%, transparent 14.6%),
		radial-gradient(ellipse at 72% 86%, rgba(160, 178, 82, 0.68) 0 15%, transparent 15.6%),
		radial-gradient(ellipse at 87% 84%, rgba(105, 143, 76, 0.62) 0 12%, transparent 12.6%),
		linear-gradient(180deg, #dff0f4 0%, #f8f1e7 100%); */
	overflow: hidden;
}

.tour-reg-hero__inner {
	width: min(1040px, calc(100% - 48px));
	margin: 0 auto;
	text-align: center;
}

.tour-reg-hero__label {
    margin: 0 0 14px;
	display: block;
    font-size: 20px;
    font-weight: 700;
    color: #b76a2c;
}

.tour-reg-hero__title {
    margin: 0;
    font-size: clamp(46px, 6vw, 62px);
    line-height: 1;
    font-weight: 600;
    color: #5a2f1e;
    text-shadow: 0 3px 0 rgba(255, 255, 255, 0.8);
    font-family: 'Aggravo';
}

.tour-reg-hero__desc {
    display: block;
    margin-top: 22px;
    font-size: 18px;
    font-weight: 600;
    color: #4f3c2f;

	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tour-reg-deadline {
	margin: 28px auto 0;
	padding: 0;
	z-index: 2;
}

.tour-reg-deadline p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 13px 30px;
    border: 1px solid #ead7ba;
    border-radius: 999px;
    background: #5b321f;
    color: #f0ebe8;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.45;
    /* letter-spacing: -0.035em; */
    box-shadow: 0 14px 34px rgba(67, 43, 28, 0.1);
    width: 80%;
    margin: auto;
}

.tour-reg-deadline p::before {
	content: "📅";
	font-size: 20px;
}


/* wrapper */
.tour-reg-bg {
	position: relative;
	z-index: 2;
	padding: 54px 0 96px;
}

.tour-reg-inner {
	width: min(1040px, calc(100% - 48px));
	margin: 0 auto;
}

.tour-reg-form-wrap {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
}


/* section */
.tour-reg-section {
	position: relative;
	margin-bottom: 34px;
	padding: 34px;
	border: 1px solid rgba(223, 204, 173, 0.95);
	border-radius: 28px;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 248, 236, 0.96)),
		#fffdf7;
	box-shadow: 0 18px 45px rgba(67, 43, 28, 0.1);
}

.tour-reg-section::before {
	content: "";
	position: absolute;
	left: 34px;
	top: -10px;
	width: 92px;
	height: 18px;
	border-radius: 3px;
	background: rgba(208, 161, 94, 0.35);
	transform: rotate(-2deg);
}

.tour-reg-section__head {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 1px dashed #d8c3a2;
}

.tour-reg-section__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: 13px;
	background: #5b321f;
	color: #fff6df;
	font-size: 18px;
	font-weight: 900;
	box-shadow: 0 10px 18px rgba(67, 35, 20, 0.16);
}

.tour-reg-section__title {
	margin: 0;
	color: #3b2418;
	font-size: 25px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.045em;
}

.tour-reg-section__desc {
	margin: 6px 0 0;
	color: #7b6754;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.45;
}

.tour-reg-section__body {
	position: relative;
}


/* type */
.tour-reg-type {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	width: 100%;
}

.tour-reg-type input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.tour-reg-type__card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 132px;
	padding: 28px 30px 28px 118px;
	border: 2px solid #ead8bd;
	border-radius: 6px;
	background:
		linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(255, 246, 231, 0.88));
	color: #3b2418;
	cursor: pointer;
	transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.tour-reg-type__card::before {
	content: "";
	position: absolute;
	right: 24px;
	top: 24px;
	width: 34px;
	height: 34px;
	border: 2px solid #dec8a8;
	border-radius: 50%;
	background: #fffdf7;
}

.tour-reg-type__card::after {
	content: "";
	position: absolute;
	right: 37px;
	top: 32px;
	width: 9px;
	height: 15px;
	border-right: 3px solid transparent;
	border-bottom: 3px solid transparent;
	transform: rotate(42deg);
}

.tour-reg-type__icon {
	position: absolute;
	left: 32px;
	top: 50%;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: rgba(91, 50, 31, 0.08);
	transform: translateY(-50%);
}

.tour-reg-type__icon--person::before {
	top: 13px;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: transparent;
}

.tour-reg-type__icon--person::after {
	top: 32px;
	width: 28px;
	height: 16px;
	border-bottom: 0;
	border-radius: 18px 18px 0 0;
}

.tour-reg-type__title {
	display: block;
	margin-bottom: 8px;
	color: #4b2a1a;
	font-size: 22px;
	font-weight: 700;
}

.tour-reg-type__desc {
	display: block;
	color: #816a56;
	font-size: 16px;
	font-weight: 500;
}

.tour-reg-type__card:hover {
	transform: translateY(-3px);
	border-color: #cfa57b;
	box-shadow: 0 14px 30px rgba(67, 43, 28, 0.1);
}

.tour-reg-type input[type="radio"]:checked + .tour-reg-type__card {
	border-color: #5b321f;
	background:
		linear-gradient(135deg, rgba(255, 248, 231, 1), rgba(245, 230, 204, 0.96));
	box-shadow: 0 18px 36px rgba(67, 43, 28, 0.13);
}

.tour-reg-type input[type="radio"]:checked + .tour-reg-type__card::before {
	border-color: #5b321f;
	background: #5b321f;
}

.tour-reg-type input[type="radio"]:checked + .tour-reg-type__card::after {
	border-color: #fff6df;
}


/* fields */
.tour-reg-fields {
	width: 100%;
}

.tour-reg-field-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0 20px;
}

.tour-reg-field {
	width: calc((100% - 40px) / 3);
	margin-bottom: 18px;
}

.tour-reg-field--full {
	width: 100%;
}

.tour-reg-label {
	display: inline-flex;
	align-items: center;
	margin-bottom: 7px;
	color: #4b2a1a;
	font-size: 17px;
	font-weight: 650;
}

.is-required::after {
	content: " *";
	color: #c96f32;
	font-weight: 900;
}

.tour-reg-input {
	display: block;
	width: 100%;
	height: 55px;
	padding: 0 18px;
	border: 1px solid #e1cdb0;
	border-radius: 6px;
	outline: none;
	background: #fffdf7;
	color: #3b2418;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.025em;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tour-reg-input::placeholder {
	color: #a08b75;
	font-weight: 500;
}

.tour-reg-input:focus {
	border-color: #8b5738;
	background: #fffefa;
	box-shadow:
		0 0 0 4px rgba(139, 87, 56, 0.12),
		inset 0 1px 0 rgba(255, 255, 255, 0.9);
}


/* upload */
.tour-reg-upload {
	overflow: hidden;
	border: 1px solid #ead8bd;
	border-radius: 24px;
	background: #fffdf7;
}

.tour-reg-upload__head {
	padding: 20px 30px;
	border-bottom: 1px dashed #dcc5a4;
	background:
		linear-gradient(135deg, rgba(255, 246, 226, 0.95), rgba(239, 248, 240, 0.75));
}

.tour-reg-upload__head h4 {
	margin: 0 0 3px;
	color: #4b2a1a;
	font-size: 22px;
	font-weight: 700;
}
.tour-reg-upload__head h4 a { font-weight: 700; cursor: pointer; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    padding: 4px 10px 3px;
    border-radius: 9px;
    background: #72c466;
    color: #fff6df;
    font-weight: 600;
}
.tour-reg-upload__head p { 
	margin: 0;
	color: #7b6754;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.45;
}

.tour-reg-upload__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	padding: 26px;
}

.tour-reg-file {
	position: relative;
	min-height: 154px;
	padding: 24px 22px 22px;
	border: 1px solid #ead8bd;
	border-radius: 22px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 250, 240, 0.92)),
		#fffdf7;
	box-shadow: 0 10px 24px rgba(67, 43, 28, 0.06);
}

.tour-reg-file--wide {
	grid-column: 1 / -1;
}

.tour-reg-file__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    padding: 4px 10px 3px;
    border-radius: 9px;
    background: #5b321f;
    color: #fff6df;
    font-size: 12px;
    font-weight: 600;
}

.tour-reg-file__label {
    display: block;
    margin-bottom: 14px;
    color: #3b2418;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.45;
    letter-spacing: -0.015em;
}

.tour-reg-file input[type="file"] {
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid #dec8a8;
    border-radius: 5px;
    background: #fffaf0;
    color: #66513f;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.tour-reg-file input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 10px 15px;
	border: 0;
	border-radius: 10px;
	background: #6a3a25;
	color: #fff6df;
	font-family: "Paperozi";
	font-size: 14px;
	font-weight: 900;
	cursor: pointer;
	transition: background 0.2s ease;
}

.tour-reg-file input[type="file"]::file-selector-button:hover {
	background: #3e2117;
}

.tour-reg-file__desc {
    display: block;
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 5px;
    background: rgba(201, 111, 50, 0.1);
    color: #9b4d24;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}


/* agreement */
.tour-reg-agree {
	display: grid;
	gap: 14px;
}

.tour-reg-check {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 22px;
	border: 1px solid #ead8bd;
	border-radius: 12px;
	background: rgba(255, 253, 247, 0.9);
}

.tour-reg-check input[type="checkbox"] {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	margin-top: 2px;
	accent-color: #5b321f;
	cursor: pointer;
}

.tour-reg-check label {
	margin: 0;
	color: #4a2c1c;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	cursor: pointer;
	padding-top: 2.5px;
}

.tour-reg-submit {
	margin-top: 34px;
	text-align: center;
}

.tour-reg-submit__btn {
	min-width: 200px; 
	width: 100%;
	height: 58px;
    border: 0;
    border-radius: 13px;
    background: #5a2f1e;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(91, 47, 30, 0.18);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.tour-reg-submit__btn:hover {
	transform: translateY(-2px);
	filter: brightness(1.05);
	box-shadow: 0 22px 42px rgba(67, 35, 20, 0.28);
}

.tour-reg-submit__notice {
	margin: 25px 0 0;
	color: #bf412d;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.55;
}


/* top button */
.gaya-top-btn {
	position: fixed;
	right: 28px;
	bottom: 28px;
	z-index: 50;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border: 0;
	border-radius: 50%;
	background: #5b321f;
	box-shadow: 0 12px 26px rgba(67, 35, 20, 0.22);
	cursor: pointer;
}

.gaya-top-btn img {
	width: 22px;
	height: 22px;
	object-fit: contain;
	filter: brightness(0) invert(1);
}


/* success view: JS에서 body.innerHTML로 교체되는 화면 대응 */
.container {
	width: min(620px, calc(100% - 48px));
	margin: 90px auto;
	text-align: center;
}

.container h1 {
	margin: 0 0 26px;
	color: #5b321f !important;
	font-size: clamp(32px, 5vw, 48px);
	font-weight: 900;
	letter-spacing: -0.055em;
}

.container .card {
	padding: 42px 34px;
	border: 1px solid #ead8bd;
	border-radius: 28px;
	background: #fffdf7;
	box-shadow: 0 18px 45px rgba(67, 43, 28, 0.1);
}

.container p {
	margin: 0 0 10px;
	color: #4a2c1c;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.6;
}

.container strong {
	font-weight: 900;
	color: #5b321f;
}

.container .btn-outline-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	margin-top: 34px;
	padding: 0 28px;
	border: 1px solid #5b321f;
	border-radius: 999px;
	background: #fffdf7;
	color: #5b321f;
	font-size: 17px;
	font-weight: 900;
	cursor: pointer;
}


/* responsive */
@media (max-width: 1024px) {
	.tour-reg-hero {
		min-height: 310px;
		padding: 70px 24px 84px;
	}

	.tour-reg-inner,
	.tour-reg-hero__inner {
		width: min(920px, calc(100% - 40px));
	}

	.tour-reg-upload__list {
		grid-template-columns: 1fr;
	}

	.tour-reg-file--wide {
		grid-column: auto;
	}
}

@media (max-width: 768px) {
	.tour-reg-page::before,
	.tour-reg-page::after {
		display: none;
	}

	.tour-reg-hero {
		min-height: 285px;
		padding: 62px 20px 82px;
	}

	.tour-reg-hero__label {
		padding: 0;
		font-size: 16px;
	}

	.tour-reg-hero__title {
		font-size: clamp(42px, 12vw, 58px);
	}

	.tour-reg-hero__desc {
		font-size: 17px;
	}

	.tour-reg-deadline {
		margin-top: 24px;
	}

	.tour-reg-deadline p {
		padding: 16px 18px;
		border-radius: 22px;
		font-size: 16px;
	}

	.tour-reg-bg {
		padding-top: 44px;
		padding-bottom: 72px;
	}

	.tour-reg-inner,
	.tour-reg-hero__inner {
		width: calc(100% - 32px);
	}

	.tour-reg-section {
		padding: 24px 20px;
		border-radius: 22px;
	}

	.tour-reg-section::before {
		left: 24px;
		width: 76px;
	}

	.tour-reg-section__head {
		gap: 14px;
	}

	.tour-reg-section__num {
		width: 38px;
		height: 38px;
		border-radius: 11px;
		font-size: 16px;
	}

	.tour-reg-section__title {
		font-size: 22px;
	}

	.tour-reg-section__desc {
		font-size: 15px;
	}

	.tour-reg-type {
		grid-template-columns: 1fr;
	}

	.tour-reg-type__card {
		min-height: 118px;
		padding: 24px 22px 24px 96px;
	}

	.tour-reg-type__icon {
		left: 24px;
		width: 52px;
		height: 52px;
	}

	.tour-reg-type__title {
		font-size: 20px;
	}

	.tour-reg-type__desc {
		font-size: 15px;
	}

	.tour-reg-field-row {
		display: block;
	}

	.tour-reg-field,
	.tour-reg-field--full {
		width: 100%;
	}

	.tour-reg-input {
		font-size: 16px;
	}

	.tour-reg-upload__head {
		padding: 24px 20px;
	}

	.tour-reg-upload__head h4 {
		font-size: 21px;
	}

	.tour-reg-upload__list {
		padding: 18px;
	}

	.tour-reg-file {
		min-height: auto;
		padding: 22px 18px;
	}

	.tour-reg-check {
		padding: 18px 16px;
	}

	.tour-reg-check label {
		font-size: 15px;
	}

	.tour-reg-submit__btn {
		width: 100%;
		min-height: 62px;
		font-size: 19px;
	}

	.gaya-top-btn {
		right: 18px;
		bottom: 18px;
		width: 48px;
		height: 48px;
	}
}

@media (max-width: 578px) {
	.tour-reg-hero .tour-reg-hero__inner width: calc(100% - 0px);
}

@media (max-width: 480px) {
	.tour-reg-hero {
		min-height: 260px;
		padding: 52px 18px 48px;
	}

	.tour-reg-hero__title {
		font-size: 38px;
	}

	.tour-reg-deadline p {
		font-size: 15px;
		width: 100%; 
		flex-direction: column;
		gap: 0;
	}

	.tour-reg-section__head {
		flex-direction: column;
	}

	.tour-reg-type__card {
		padding-left: 22px;
	}

	.tour-reg-type__icon {
		position: relative;
		left: auto;
		top: auto;
		margin-bottom: 14px;
		transform: none;
	}

	.tour-reg-file input[type="file"] {
		font-size: 13px;
	}

	.tour-reg-file input[type="file"]::file-selector-button {
		display: block;
		width: 100%;
		margin: 0 0 8px;
	}

	.container {
		width: calc(100% - 32px);
		margin: 70px auto;
	}
}