@import
	url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable.css')
	;

* {
	font-family: 'SCoreDream', 'Noto Sans KR', Arial, sans-serif !important;
	box-sizing: border-box;
}

a {
	text-decoration: none !important;
}

body {
	margin: 0;
	padding: 0;
	font-family: 'SCoreDream', 'Noto Sans KR', Arial, sans-serif !important;
	background: #f7f9fa;
	color: #222;
}

input, button, teatarea, select, label {
	font-family: 'SCoreDream', 'Noto Sans KR', Arial, sans-serif !important;
	font-weight: 500;
}

/* 전체 배경 */
.auth-bg {
	min-height: 100vh;
	overflow-x: hidden;
	display: flex;
	align-items: stretch;
	justify-content: center;
}

.auth-card {
	width: 100vw;
	max-width: 100vw;
	height: 100vh;
	min-height: 100vh;
	margin: 0;
	border-radius: 0;
	box-shadow: none;
	overflow: hidden;
	display: flex;
	flex-direction: row;
}

.auth-left {
	background-image: url(../images/loginBg.png);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: #fff;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
	min-width: 260px;
}

.auth-bg-video {
	position: absolute;
	height: 100%;
}

.auth-left-content {
	position: absolute;
	width: 100%;
	height: 100%;
	background: #00205e70;
}

.auth-return-page {
	position: absolute;
	right: 40px;
	top: 40px;
}

.auth-return-page a {
	border: none;
	outline: none;
	font-size: 1.3em;
	font-weight: 500;
	background: transparent;
	display: flex;
	align-items: center;
	gap: 10px;
	color: #000;
}

.auth-return-page a::after {
	content: "\F138";
	font-family: 'bootstrap-icons' !important;
}

.auth-logo {
	text-align: left;
	font-size: 75px;
}

.auth-logo-area {
	position: absolute;
	left: 40px;
	bottom: 40px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.auth-title {
	font-size: 2.8rem;
	font-weight: 400;
	line-height: 1.2;
}

.auth-title-main {
	font-size: 4rem;
	font-weight: 500;
}

.auth-tab-btns {
	display: flex;
	flex-direction: row;
	gap: 50px;
	position: absolute;
	left: 50%;
	top: 10%;
	transform: translate(-50%, -50%);
}

.auth-tab-btn {
	background: #fff;
	color: #1b9a9e;
	border: none;
	border-radius: 8px;
	font-size: 20px;
	font-weight: 700;
	padding: 5px 20px;
	margin-bottom: 0;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.auth-tab-btn.active {
	background: transparent;
	color: #fff;
	border: 1px solid #fff;
}

.auth-tab-btn:not(.active) {
	background: transparent;
	color: #fff;
}

.auth-right {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	position: relative;
	min-width: 600px;
	padding: 30px;
	background: #fff;
	border-radius: 26px;
	max-height: 70%;
	max-width: 60%;
}

.auth-right-header {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
	box-sizing: border-box;
	min-height: 0px;
}

.auth-right-header img {
	width: 180px;
	max-width: 40vw;
	display: none;
}

.auth-right-logo {
	position: absolute;
	right: 60px;
	top: 40px;
}

.auth-right-logo img {
	width: 220px;
}

.auth-right-footer {
	width: 100%;
	min-height: 60px;
	height: 60px;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	color: #a7a7a7;
	font-size: 15px;
	margin-top: 10px;
}

.auth-tab-content {
	display: none;
	width: 100%;
	max-width: 600px;
	min-width: 260px;
	margin: 0 auto;
}

#loginTab {
	width: 100%;
}

#registerTab {
	min-width: 260px;
	max-width: 95%;
	width: 100%;
}

#registerForm, #loginForm {
	width: 100%;
	min-width: 220px;
	margin: 0 auto;
	padding: 0 10px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.registerTitle {
	margin-bottom: 40px;
}

.auth-tab-content.active {
	display: block;
}

.auth-form-title {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 5px;
	color: #222;
}

.auth-form-desc {
	font-size: 0.9rem;
	color: #666;
}

.auth-input-group {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.auth-input-group>label {
	font-weight: 600;
	font-size: 16px;
}

.auth-input-group .input-btn-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
}

.auth-input-group input {
	width: 100%;
	min-width: 0;
	flex: 0 1 auto;
	box-sizing: border-box;
	padding: 15px;
	border: 1px solid #eff3f4;
	font-size: 16px;
	background: #eff3f4;
	color: #222;
	outline: none;
	transition: border 0.2s;
}

.auth-row {
	display: flex;
	gap: 10px;
	margin-bottom: 18px;
}

.auth-btn {
	border: none;
	border-radius: 10px;
	font-size: 25px;
	font-weight: 500;
	padding: 25px 0;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.auth-btn.main {
	background: linear-gradient(268deg, #006cb5 0%, #57afcb 100%);
	color: #fff;
	margin-bottom: 10px;
	box-shadow: 0 4px 16px rgb(0 0 0/ 18%);
	margin: 0 auto 10px auto;
	min-width: 120px;
	max-width: 100%;
	width: 100%;
}

#loginTab .auth-btn.main {
	width: 100%;
}

.IdGroup, .PwdGroup {
	position: relative;
}

.IdGroup input, .PwdGroup input {
	padding: 15px 50px;
}

.IdGroup i, .PwdGroup i {
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	left: 25px;
	font-size: 20px;
	color: #cecece;
	transition: all 0.5s;
}

.IdGroup:focus-within i, .PwdGroup:focus-within i {
	color: #006cb5;
	text-shadow: 0 0 1px #006cb5, 0 0 1px #006cb5;
}

#registerTab .auth-btn.main {
	width: 60%;
	min-width: 180px;
	max-width: 400px;
}

.auth-btn.sub {
	background: #fff;
	color: #00a6ab;
	border: 1px solid #00a6ab;
	padding: 5px 18px;
	font-size: 16px;
	font-weight: 500;
	min-width: 30%;
	border-radius: 80px;
}

/* 중복확인 성공 시 */
.auth-btn.verified {
	background-color: #F24822;
	color: #fff;
}

.auth-btn.sub:hover {
	background: #00a6ab;
	color: #fff;
}

.auth-options {
	margin-bottom: 10px;
}

.certified input {
	border-radius: 0;
	background: transparent;
	border: unset;
	border-bottom: 1px solid #000;
	padding: 15px 7px;
}

.certified input:focus {
	border: unset;
	border-bottom: 1.5px solid #006cb5;
	background: transparent;
}

.certified button.auth-btn.sub {
	background: #ffffff;
	border: 1px solid #9b9b9b;
	color: #a5a5a5;
}

.certified button.auth-btn.sub:hover {
	background: #9b9b9b;
	border: 1px solid #9b9b9b;
	color: #fff;
}

.auth-input-group.certified .input-error {
	border: none !important;
	border-bottom: 2px solid #dc3545 !important;
	background: transparent !important;
}

.auth-input-group.certified .form-error {
	margin-top: 10px;
}

.auth-checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 18px;
	color: #666;
	margin-top: 10px;
}

.auth-checkbox input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: #00a0cb;
}

.auth-links a {
	color: #00BCD4;
	text-decoration: none;
	margin: 0 8px;
	font-weight: 500;
}

.auth-links span {
	color: #ddd;
	display: none;
}

.auth-agree-box {
	margin-bottom: 18px;
}

.auth-link {
	color: #00a6ab;
	font-size: 14px;
	margin-left: 8px;
	text-decoration: none;
	font-weight: 600;
}

/* 회원가입 2컬럼 row (PC) */
.register-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px 32px;
	margin-bottom: 10px;
	width: 100%;
}
/* 약관동의 1줄씩 */
.auth-agree-box {
	margin-top: 10px;
	margin-bottom: 30px;
}

.auth-checkbox.all {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 20px;
}

.agree-row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px 32px;
}

.agree-row .auth-checkbox {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 17px;
	font-weight: 400;
	margin-bottom: 0;
	border-bottom: 1px solid #e1e1e1;
	padding-bottom: 10px;
	background: none;
}

.flex-spacer {
	flex: 1;
}

.auth-link {
	margin-left: 6px;
	font-size: 15px;
	text-align: right;
	min-width: 70px;
}

.form-error {
	color: #e74c3c;
	font-size: 0.9rem;
	margin-top: 0px;
	margin-bottom: 2px;
	font-weight: 600;
	text-align: center;
}

.register-row .form-error {
	text-align: left;
}

.input-error {
	border: 2px solid #e74c3c !important;
	background: #fff0f0 !important;
}

/* 필수 가상 요소 */
label.required::after {
	content: "\F151";
	font-family: 'bootstrap-icons' !important;
	font-size: 7px;
	color: red;
	position: absolute;
	margin-left: 3px;
}

#registerForm #schoolSearchModal .modal-dialog {
	max-width: 40%;
}

.modal-body-title h5 {
	font-size: 25px;
	margin-bottom: 5px;
	color: black;
}

.modal-body-title p {
	color: #666;
	margin-bottom: 10px;
}

.modal [type=button], .modal .btn {
	border-radius: 4px !important;
	font-size: 0.95rem !important;
	padding: 10px 24px;
}

.modal [type=button].edit-btn, .modal [type=button].btn-primary, .modal .btn-primary
	{
	background: #008eff;
	border: 1px solid #008eff;
	color: #fff;
}
/* 반응형 */
@media ( max-width : 1400px) {
	.auth-logo {
		font-size: 60px;
	}
	.auth-title {
		font-size: 1.8rem;
	}
	.auth-title-main {
		font-size: 2.5rem;
	}
	.register-row {
		display: flex;
		flex-direction: column;
	}
	.agree-row {
		display: flex;
		flex-direction: column;
	}
}

@media ( max-width : 1200px) {
	.auth-card {
		max-width: 100vw;
	}
	.auth-right {
		padding: 40px 20px 30px 20px;
	}
	.auth-right-header img {
		width: 140px;
	}
	.auth-logo {
		font-size: 60px;
	}
	.auth-title {
		font-size: 1.8rem;
		line-height: 1.2;
	}
	.auth-title-main {
		font-size: 2.5rem;
	}
	#registerForm #schoolSearchModal .modal-dialog {
		max-width: 100%;
	}
}

@media ( max-width : 900px) {
	.auth-card {
		flex-direction: column;
		min-width: 0;
		width: 100vw;
		max-width: 100vw;
		min-height: 0;
		border-radius: 0;
		box-shadow: none;
	}
	.auth-left {
		width: 100%;
		min-width: 0;
		max-width: 100vw;
		flex-direction: row;
		justify-content: flex-start;
		align-items: center;
		padding: 0;
		gap: 30px;
		min-height: 250px;
	}
	.auth-tab-btns {
		display: flex;
		flex-direction: row;
		bottom: -10px;
		left: 50%;
		transform: translate(-50%, 0%);
		right: 0;
		width: 100%;
		justify-content: center;
	}
	.auth-tab-btn {
		padding: 20px 40px;
	}
	.auth-logo-area {
		position: unset;
		width: 100%;
		text-align: center;
		height: 100%;
		padding-top: 20px;
	}
	.auth-title {
		font-size: 1.4rem;
	}
	.auth-title-main {
		font-size: 2.5rem;
	}
	.auth-logo {
		text-align: center;
		font-size: 40px;
	}
	.auth-right {
		width: 100%;
		min-width: 0;
		max-width: 100vw;
		padding: 70px 5vw 20px 5vw;
		height: 100%;
	}
	.auth-return-page {
		display: none;
	}
	.auth-return-page.mobile {
		display: block;
		position: unset;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.auth-return-page.mobile a {
		font-size: 14px;
		gap: 5px;
		border: 1px solid #bfbfbf !important;
		padding: 5px 20px;
		border-radius: 20px;
		margin-top: 10px;
		color: #b5b5b5;
		font-weight: 500;
	}
	.auth-return-page.mobile a::after {
		content: '\F116'
	}
	.auth-right-header img {
		width: 120px;
	}
	.auth-right-header {
		display: none;
	}
	.auth-tab-content {
		max-width: 100%;
		min-width: 0;
	}
	#registerTab, #loginTab {
		min-width: 0;
		max-width: 85%;
	}
	#registerForm, #loginForm {
		max-width: 100%;
		min-width: 0;
		padding: 0 2vw;
	}
	.auth-form-title {
		text-align: center;
		font-size: 32px;
	}
	.auth-form-desc {
		text-align: center;
		font-size: 21px;
	}
	.auth-checkbox {
		font-size: 21px;
	}
	.register-row {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.input-btn-wrap>input {
		max-width: 80%;
	}
	.auth-input-group label {
		font-size: 18px;
	}
	.agree-row {
		flex-direction: column;
		gap: 10px;
	}
	.auth-checkbox.all {
		font-size: 17px;
	}
	#registerTab .auth-btn.main {
		width: 90%;
		min-width: 120px;
		max-width: 98vw;
	}
	.register-row {
		grid-template-columns: 1fr;
		gap: 12px;
	}

}

@media ( max-width : 700px) {
	.auth-left {
		min-height: 200px;
	}
	.auth-links {
		margin-top: 0;
	}
	.auth-logo-area {
		margin-bottom: 0;
		padding-top: 10px;
		gap: 0;
	}
	.auth-title {
		font-size: 18px;
	}
	.auth-title-main {
		font-size: 28px;
	}
	.auth-tab-btns {
		flex-direction: row;
		width: auto;
		gap: 10px;
		bottom: -5px;
	}
	.auth-tab-btn {
		min-width: 100px;
		font-size: 16px;
		padding: 15px 0;
		border-radius: 5px;
	}
	.auth-right {
		padding: 50px 10px 20px 10px;
		justify-content: space-between;
	}
	.auth-form-title {
		font-size: 24px;
	}
	.auth-form-desc {
		font-size: 16px;
		margin-bottom: 30px;
	}
	.auth-input-group input {
		font-size: 14px;
		padding: 10px 12px;
	}
	.IdGroup input, .PwdGroup input {
		padding: 15px 50px;
	}
	.auth-checkbox {
		font-size: 16px;
	}
	.auth-btn.main {
		font-size: 16px;
		padding: 20px 0;
	}

	.auth-agree-box {
		font-size: 15px;
	}
	.auth-input-group label, .agree-row .auth-checkbox {
		font-size: 15px;
	}
	.auth-links a {
		font-size: 14px;
	}
	#registerTab .auth-btn.main, #loginTab .auth-btn.main {
		width: 100%;
		min-width: 100px;
		max-width: 100vw;
		padding: 20px 0;
		font-size: 18px;
		margin-top: 20px;
	}
	.auth-right-header {
		display: none;
	}
	.auth-right-footer {
		font-size: 12px;
	}
}

@media ( max-width : 390px) {
	.auth-left {
		min-height: 150px;
	}
	.auth-logo-area {
		padding-top: 12px;
	}
	.auth-logo {
		font-size: 25px;
	}
	.auth-logo-area {
		gap: 0;
	}
	.auth-title {
		font-size: 14px;
	}
	.auth-title-main {
		font-size: 22px;
	}
	.auth-tab-btn {
		font-size: 14px;
		padding: 12px 0;
		border-radius: 5px;
	}
	.auth-right-header img {
		width: 90px;
	}
	.auth-right {
		padding: 30px 10px 20px 10px;
	}
	.auth-form-title {
		font-size: 21px;
	}
	.auth-form-desc {
		font-size: 14px;
		margin-bottom: 30px;
	}
	.auth-input-group label, .auth-checkbox {
		font-size: 14px;
	}
	.auth-checkbox.all {
		font-size: 15px;
		margin-bottom: 0;
	}
	.auth-btn.main {
		font-size: 13px;
		padding: 8px 0;
	}

	.auth-agree-box {
		padding: 0;
	}
	.agree-row {
		gap: 5px;
	}
	.auth-link {
		font-size: 14px;
		min-width: auto;
	}
	.agree-row .auth-checkbox {
		font-size: 0.8rem;
		padding-bottom: 5px;
	}
}

.modal .find-contents {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

/* 약관 팝업 디자인 개선 */
.terms-content {
	box-sizing: border-box;
	padding: 20px;
	max-height: 400px;
	overflow: auto;
	background: #f8f9fa;
	border-radius: 8px;
	border: 1px solid #dcedff;
}

.terms-content p {
	margin-bottom: 20px !important;
	font-size: 15px;
	color: #000000b0 !important;
}

.terms-content h6 {
	color: #000;
}