/**
	로그인 페이지 전용 스타일
*/
.login-wp {
	display: flex;
	align-items: center;
	justify-content: center;
    height: 100vh;
}

/* 로그인 컨테이너 - 좌우 분할 레이아웃 */
.login-container {
	display: flex;
	width: 100%;
	height: 100%;
	margin: 0 auto;
}

/* 왼쪽 영역 - 배경 이미지 및 프로모션 텍스트 */
.login-left {
	position: relative;
	display: flex;
	width: 50%;
	overflow: hidden;
}

.login-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.login-background img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.login-promo {
	z-index: 2;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 40px;
	max-width: 691.2px;
	margin: 179px 0 0 117.49px;
	padding: 20px 0;
}

.login-promo h1 {
	font-size: 30px;
	font-weight: 700;
	line-height: 40px;
	letter-spacing: 0;
	color: var(--color-grayscale-0);
}

.login-promo-contents p {
	font-size: 20px;
	letter-spacing: 0;
	color: var(--color-grayscale-0);
}

/* 오른쪽 영역 - 로그인 폼 */
.login-right {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 50%;
	padding: 48px;
}

.login-form {
	min-width: 350px;;
}
.login-form-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16.43px 0 17.41px;
}

.login-form-header h2 {
	font-size: 21px;
	font-weight: 700;
	line-height: 26.25px;
	letter-spacing: 0;
	color: var(--color-grayscale-100-hover);
}

.login-form-header .signup-link {
	border-bottom: 1px solid var(--color-grayscale-55-secondary-text);
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;;
	letter-spacing: 0;
	color: var(--color-grayscale-55-secondary-text);
	transition: color 0.2s;
}

.login-form-header .signup-link:hover {
	border-bottom-color: var(--color-blue-50-hover);
	color: var(--color-blue-50-hover);
}

/* 로그인 박스 */
.access {
	width: 100%;
	max-width: 400px;
	margin: 0;
	padding: 0;
}

.access .panel {
	border: none;
	border-radius: 0;
	box-shadow: none;
	background: transparent;
}

.access .panel-heading {
	display: none;
}

.panel-body {
	padding: 0;
}

/* 폼 스타일 */
.form-group-wrapper {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.form-group label {
	font-weight: 600;
	color: #333;
	margin-bottom: 8px;
	font-size: 14px;
	display: block;
}

.form-group .form-control {
	box-sizing: border-box;
	width: 100%;
	padding: 27px 20px 26px;
	border: none;
	background: var(--color-grayscale-0-hover-blue);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 100%;
	transition: all 0.3s ease;
}

.form-group .form-control:focus {
	outline: 2px solid #3f4fa8;
	background: white;
}

.form-group .form-control::placeholder {
	color: var(--color-grayscale-40);
}

/* 버튼 스타일 */
.btn-primary {
	width: 100%;
	padding: 24.5px;
	border-radius: unset;
	border: none;
	background: var(--color-blue-50-primary);
	font-weight: 600;
	font-size: 14px;
	color: var(--color-grayscale-0);
	transition: all 0.3s ease;
	cursor: pointer;
}

.btn-primary:hover {
	background: var(--color-blue-50-hover);
}

/* 로그인 버튼 비활성화 스타일 */
.login-btn:disabled {
	opacity: 0.6;
	background: var(--color-blue-e9-hover);
	color: var(--color-grayscale-25);
	cursor: not-allowed;
	transform: none;
}

.login-btn:disabled:hover {
	background: var(--color-grayscale-30);
	color: var(--color-grayscale-60);
	transform: none;
	box-shadow: none;
}

.login-button-group {
	margin-top: 16px;
}

/* 자동로그인 체크박스 */
.form-group label[for="autologin"] {
	font-weight: 500;
	color: #666;
	cursor: pointer;
	transition: color 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	justify-content: center;
}

.form-group label[for="autologin"]:hover {
	color: #3f4fa8;
}

.text-center label[for="autologin"] {
	margin: 0;
}

input[type="checkbox"] {
	width: 18px;
	height: 18px;
	cursor: pointer;
	accent-color: #3f4fa8;
}

/* 알림 박스 */
.autologinalert {
	border-radius: 10px;
	border: none;
	background: #e8eaf6;
	color: #131c52;
	padding: 15px;
	font-size: 13px;
	line-height: 1.6;
	border-left: 4px solid #3f4fa8;
	margin-top: 15px;
}

.alert-info {
	border-radius: 10px;
	border: none;
	background: #e3f2fd;
	color: #1976d2;
	border-left: 4px solid #2196f3;
	padding: 15px;
	margin-bottom: 20px;
}

.alert-warning {
	border-radius: 10px;
	border: none;
	background: #fff3e0;
	color: #e65100;
	border-left: 4px solid #ff9800;
	padding: 15px;
	margin-bottom: 20px;
}

/* 소셜 로그인 */
.mt30 {
	margin-top: 30px;
	padding-top: 30px;
	border-top: 1px solid #e8e8e8;
}

.mt30 label {
	font-weight: 600;
	color: #333;
}

.social-login-label {
	margin-bottom: 15px;
	display: block;
	text-align: center;
}

.mt30 img {
	transition: all 0.3s ease;
	border-radius: 50%;
	margin: 0 5px;
}

.mt30 a:hover img {
	transform: scale(1.2);
	box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* 푸터 */
.access .panel-footer {
	background: transparent;
	padding: 20px 0 0 0;
	border-top: none;
	text-align: center;
}

.panel-footer .pull-right {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}

/* 푸터의 signup-link 스타일 (상단과 동일) */
.panel-footer .signup-link {
	border-bottom: 1px solid var(--color-grayscale-55-secondary-text);
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	letter-spacing: 0;
	color: var(--color-grayscale-55-secondary-text);
	transition: color 0.2s;
	text-decoration: none;
}

.panel-footer .signup-link:hover {
	border-bottom-color: var(--color-blue-50-hover);
	color: var(--color-blue-50-hover);
}

.panel-footer .btn {
	border-radius: 8px;
	padding: 10px 20px;
	font-weight: 500;
	transition: all 0.3s ease;
	border: 2px solid transparent;
	font-size: 14px;
}

.panel-footer .btn-success {
	background: transparent;
	border: 2px solid #3f4fa8;
	color: #3f4fa8;
	box-shadow: none;
}

.panel-footer .btn-success:hover {
	background: #3f4fa8;
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(63, 79, 168, 0.3);
}

.panel-footer .btn-default {
	background: transparent;
	border: 2px solid #e8e8e8;
	color: #666;
}

.panel-footer .btn-default:hover {
	border-color: #3f4fa8;
	color: #3f4fa8;
	background: #f8f9fa;
}

/* 기타 */
.search form {
	padding: 20px;
}

.search textarea {
	padding: 15px;
	background: #f7f7f7;
	font-size: 12px;
	border-radius: 10px;
	border: 2px solid #e8e8e8;
}

.final .btn_final {
	margin-top: 20px;
	text-align: center;
}

/* 모바일용 로고 - 기본 숨김 */
.login-mobile-logo {
	display: none;
}

/* 반응형 - 1024px 이하부터 세로 레이아웃 */
@media (max-width: 1024px) {
	.login-container {
		flex-direction: column;
		height: auto;
		min-height: 100vh;
	}
	
	/* 모바일용 로고 표시 */
	.login-mobile-logo {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 12px;
		padding: 80px 24px 0;
		width: 100%;
	}
	.login-mobile-logo-text {
		font-size: 18px;
		font-weight: 600;
		line-height: 100%;
		letter-spacing: 0;
		color: var(--color-brand);
	}
	
	.login-mobile-logo img {
		height: 35px;
		width: auto;
	}
	.login-mobile-logo-img {
		width: 88px;
		height: 35px;
		color: var(--color-brand);
	}
	
	.login-left {
		display: none; /* 모바일에서 완전히 숨김 */
	}
	
	.login-right {
		width: 100%;
		padding: 40px 30px;
	}
	
	.login-form {
		width: 100%;
		max-width: 350px;
		min-width: unset;
	}
	
	.login-form-header {
		justify-content: flex-start;
	}
}

@media (max-width: 768px) {
	.login-right {
        padding: 40px 24px;
    }
}
