* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-user-drag: none;
	-khtml-user-drag: none;
	-moz-user-drag: none;
	-o-user-drag: none;
	user-drag: none;
}

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

body {
	font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	background: white;
	margin: 0;
	padding: 0;
	color: #333;
	line-height: 1.5;
	height: 100vh;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	position: relative;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}


body::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		linear-gradient(180deg, #2160F3 0%, #2160F3 38%, #f2f3fd 38%, #f2f3fd 100%);
	z-index: 0;
}

body::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 50%;
	background: 
		radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.12) 1.6px, transparent 1.6px);
	background-size: 60px 60px, 80px 80px;
	z-index: 0;
}

.header {
	background-color: transparent;
	height: 80px;
	position: relative;
	top: 0;
	left: 0;
	right: 0;
	overflow: hidden;
}

.header-content {
	position: relative;
	z-index: 1;
	height: 100%;
	display: flex;
	align-items: center;
	padding: 0 40px;
}

.header-title {
	color: white;
	font-size: 18px;
	font-weight: 600;
	margin: 0;
}


.container {
	max-width: 500px;
	width: 100%;
	background: white;
	border-radius: 0;
	padding: 40px 60px;
	border: 1px solid #e1e8ed;
	box-shadow: 0 4px 7px rgba(0, 0, 0, 0.02);
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1002;
}

.form-header {
	display: flex;
	align-items: center;
	margin-bottom: 25px;
	padding-bottom: 15px;
	border-bottom: 1px solid #e1e8ed;
}

.form-title {
	font-size: 20px;
	font-weight: 700;
	color: #2563eb;
	margin: 0;
	margin-right: 8px;
}

.button-divider {
	margin: 25px 0;
	border-bottom: 1px solid #e1e8ed;
}

.login-section {
	text-align: center;
}



.info-section {
	margin-top: 20px;
}

.microsoft-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 14px 20px;
	background-color: #2160F3;
	color: white;
	text-decoration: none;
	border-radius: 0;
	font-size: 16px;
	font-weight: 500;
	border: none;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.microsoft-button:hover {
	background-color: #1a4fd4;
}

.microsoft-button:active {
	background-color: #1540b8;
}

.microsoft-icon {
	width: 20px;
	height: 20px;
	margin-right: 10px;
	display: inline-block;
	vertical-align: middle;
	transform: translateY(-1px);
}

.info-text {
	text-align: justify;
	font-size: 14px;
	color: #666;
	line-height: 1.7;
	margin-bottom: 25px;
}

.login-guide {
	margin: 20px 0;
	padding: 20px;
	background-color: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 0;
}

.guide-title {
	font-size: 14px;
	font-weight: 600;
	color: #2d3748;
	margin-bottom: 12px;
	text-align: center;
}

.guide-text {
	font-size: 13px;
	color: #4a5568;
	line-height: 1.6;
	text-align: justify;
}

.contact-info {
	margin: 15px 0;
	padding: 0;
}

.contact-text {
	font-size: 12px;
	color: #6b7280;
	text-align: center;
	line-height: 1.4;
}

.email-link {
	color: inherit;
	text-decoration: none;
}

.email-link:hover {
	text-decoration: underline;
}

.error-message {
    background-color: #fff5f5;
    color: #9b2c2c;
    border: 1px solid #fecaca;
    padding: 12px 14px;
    margin-bottom: 18px;
    font-size: 13px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
}

.error-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 2px;
    color: #c53030;
}

.error-content {
    flex: 1;
}

.error-title {
    font-size: 14px;
    font-weight: 700;
    color: #b91c1c;
}

.error-text {
    margin: 0;
    font-size: 13px;
    color: #7f1d1d;
}

.error-meta {
    margin-top: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.badge {
    display: inline-block;
    padding: 2px 6px;
    border: 1px solid #fecaca;
    border-radius: 9999px;
    background: #fff;
    color: #9b2c2c;
    font-size: 11px;
    line-height: 1.2;
}

.footer {
	background-color: #333;
	padding: 10px 0;
	text-align: center;
	font-size: 12px;
	color: #ccc;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.footer-link {
	color: #ccc;
	text-decoration: none;
	cursor: pointer;
}

.footer-link:hover {
	color: #fff;
	text-decoration: underline;
}

.footer-separator {
	color: #666;
}

.footer-copyright {
	color: #999;
}

/* 모달 스타일 */
.modal {
	display: none;
	position: fixed;
	z-index: 2000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
	background-color: white;
	margin: 5% auto;
	padding: 0;
	border: 1px solid #e1e8ed;
	width: 90%;
	max-width: 600px;
	max-height: 80vh;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
	border-bottom: 1px solid #e1e8ed;
	background-color: #f8fafc;
}

.modal-title {
	font-size: 18px;
	font-weight: 600;
	color: #03061a;
	margin: 0;
}

.modal-close {
	background: none;
	border: none;
	font-size: 24px;
	font-weight: bold;
	color: #666;
	cursor: pointer;
	line-height: 1;
	padding: 4px;
	border-radius: 2px;
	transition: color 0.2s ease;
}

.modal-close:hover {
	color: #333;
}

.modal-close:focus {
	outline: none;
}

.modal-body {
	padding: 20px;
	overflow-y: auto;
	flex: 1;
}

.modal-body::-webkit-scrollbar {
	width: 6px;
}

.modal-body::-webkit-scrollbar-track {
	background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
	background: #c1c1c1;
	border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
	background: #a1a1a1;
}

.modal-body h4 {
	font-size: 16px;
	font-weight: 600;
	color: #03061a;
	margin: 20px 0 10px 0;
}

.modal-body h4:first-child {
	margin-top: 0;
}

.modal-body p {
	font-size: 15px;
	color: #4a5568;
	line-height: 1.7;
	margin: 10px 0;
}

@media (max-width: 500px) {
	.footer-copyright {
		font-size: 10px;
	}
}

/* 높이가 작거나 너비가 모바일일 때 로그인 가이드 숨김 */
@media (max-height: 700px), (max-width: 768px) {
	.login-guide {
		display: none !important;
	}
}

@media (max-width: 450px) {
	.header {
		display: none;
	}
	
	.container {
		position: relative;
		top: auto;
		left: auto;
		transform: none;
		margin: 20px;
		padding: 30px 25px;
		max-width: calc(100vw - 40px);
		width: calc(100vw - 40px);
		text-align: center;
	}
	
	.footer {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 1000;
		background-color: #333;
		padding: 10px 0;
		text-align: center;
		font-size: 12px;
		color: #ccc;
		height: auto;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
	}
	
	.footer-copyright {
		font-size: 9px;
	}
}
