/* ADLogin.css - Diagnostic Log AD Login Page Styles */

/* Utility Classes */
.no-display {
	display: none;
}

/* Modal Styles */
.modal-footer {
	padding: 0;
}

.modal-btn-wrapper > button {
	font-family: 맑은 고딕, Arial, Helvetica;
	font-size: 12px;
	font-weight: bold;
	width: 249px;
	height: 40px;
	border-radius: 0;
}

.modal-btn-wrapper > button.btn-primary {
	background-color: #1E3269;
	border-color: #1E3269;
}

.modal-btn-wrapper > button.btn-block {
	width: 100%;
}

.modal-title {
	font-size: 15px;
	font-weight: bold;
}

/* Body */
body.ad-login-body {
	min-height: 100vh;
	margin: 0;
	background: linear-gradient(120deg, #e3eefe 0%, #f7faff 100%);
	position: relative;
}

/* SVG Background Pattern Container */
.svg-background {
	position: fixed;
	z-index: 0;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	pointer-events: none;
}

.svg-background svg {
	position: absolute;
	top: 0;
	left: 0;
}

/* Header */
.ad-login-header {
	z-index: 1;
	background: linear-gradient(90deg, #1E3269 60%, #4f8cff 100%);
	color: #fff;
	padding: 18px 0 10px 0;
	text-align: center;
	font-size: 1.7rem;
	font-weight: 600;
	letter-spacing: 1.5px;
	box-shadow: 0 2px 12px rgba(30, 50, 105, 0.10);
	border-bottom: 1.5px solid #e0e7ef;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	position: relative;
}

.ad-login-header-icon {
	font-size: 1.7rem;
	color: #fff;
}

/* Center Wrapper */
.ad-login-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: calc(100vh - 80px);
}

/* Login Box */
.ad-login-box {
	background: linear-gradient(120deg, #f7faff 60%, #e3eefe 100%);
	border-radius: 22px;
	box-shadow: 0 10px 36px 0 rgba(30, 50, 105, 0.16), 0 1.5px 0 #e0e7ef;
	padding: 50px 50px 40px 50px;
	width: 550px;
	max-width: 97vw;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	border: 1.5px solid #e0e7ef;
}

/* Login Logo */
.ad-login-logo {
	height: 2.1rem;
	filter: drop-shadow(0 2px 6px #e3eefe);
	margin-bottom: 30px;
}

/* Input Row */
.ad-login-input-row {
	position: relative;
	width: 100%;
}

/* Input Icon */
.ad-login-input-icon {
	position: absolute;
	left: 15px;
	font-size: 1.2rem;
	color: #4f8cff;
	opacity: 0.7;
	z-index: 2;
	line-height: 1;
}

.ad-login-input-icon.user-icon {
	top: 18px;
}

.ad-login-input-icon.lock-icon {
	top: 20px;
}

/* Input Fields */
.ad-login-input {
	width: 100%;
	padding: 16px 16px 16px 38px;
	margin-bottom: 20px;
	border-radius: 12px;
	border: 1.5px solid #e0e7ef;
	font-size: 1.08rem;
	background: #f7faff;
	transition: border 0.2s, box-shadow 0.2s;
	outline: none;
	box-shadow: 0 2px 8px rgba(30, 50, 105, 0.04);
}

.ad-login-input:focus {
	border-color: #4f8cff;
	box-shadow: 0 2px 12px rgba(79, 140, 255, 0.15);
}

/* Login Button */
.ad-login-button {
	width: 100%;
	font-size: 1.15rem;
	padding: 14px 0;
	border-radius: 12px;
	border: none;
	background: linear-gradient(90deg, #1E3269 60%, #4f8cff 100%);
	color: #fff;
	font-weight: 700;
	box-shadow: 0 2px 12px rgba(30, 50, 105, 0.12);
	cursor: pointer;
	margin-top: 12px;
	margin-bottom: 12px;
	transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
}

.ad-login-button:hover {
	background: linear-gradient(90deg, #1E3269 50%, #4f8cff 110%);
	box-shadow: 0 4px 16px rgba(30, 50, 105, 0.20);
}

.ad-login-button:active {
	transform: translateY(1px);
}

/* Footer */
.ad-login-footer {
	width: 100vw;
	position: fixed;
	left: 0;
	bottom: 0;
	background: #f7faff;
	padding: 20px 0 8px 0;
	border-top: 1px solid #e0e7ef;
	box-shadow: 0 -2px 8px rgba(30, 50, 105, 0.04);
	color: #1E3269;
	text-align: center;
	font-size: 1rem;
}

.ad-login-footer-text {
	font-weight: 600;
	letter-spacing: 1px;
}

/* OTP */
.ad-login-otp-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 18px;
}

.otp-icon {
	font-size: 2em;
	color: #4f8cff;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 8px;
}

.otp-title {
	font-size: 1.2rem;
	color: #1E3269;
	font-weight: 600;
	text-align: center;
}

.otp-regenerate-wrapper, .customer-login-wrapper {
	text-align: right;
	width: 100%;
}

.customer-login-btn {
	float: right;
}

.otp-input-area { width: 100%; }

.otp-guide-text {
	font-size: 0.95em;
	text-align: center;
	margin-bottom: 20px;
}

.otp-qrcode-area {
	text-align: center;
}

.otp-qrcode-img {
	max-width: 200px;
	height: auto;
	border-radius: 8px;
	margin-bottom: 20px;
	box-shadow: 0 2px 8px rgba(30, 50, 105, 0.08);
}

.otp-qrcode-msg {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	white-space: pre-line;
	padding-bottom: 20px;
}

.otp-qrcode-msg-important {
	color: #019e13;
	font-weight: bold;
}

.otp-regenerate-btn, .customer-login-btn {
	cursor: pointer;
	font-size: 0.95em;
	color: #666;
	text-decoration: none;
}

.otp-regenerate-btn:hover, .customer-login-btn:hover {
	color: #1E3269;
	text-decoration: underline;
}