/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */

/* Admin Page Styles */
#wpcontent, #wpwrap{ background:#f1f8fe; }

.wbtfe_mis_container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: calc(100vh - 120px);
	margin-top:80px;
	font-family:var( --wtds-font-sans-serif );
}

.wbtfe_mis_connection_box {
	width:95%;
	height:auto;
	max-width:796px;
	min-height:489px;
	background: #fff;
	border-radius: 12px;
	padding: 2rem;
	box-sizing: border-box;
	margin-top:20px;
	display: flex;
	align-items:center;
	flex-direction:column;
	text-align:center;
}

.wbtfe_mis_connection_box h2{ color: var(--wtds-h2-color); font-weight:bold; font-size:var(--wtds-h2-font-size); line-height:26px; }

@media screen and (max-height: 550px) {
	.auto-fold #wpcontent{ padding-left:0px; }
	.wbtfe_mis_connection_box {
		margin-top:100px;
		min-height:auto;
	}
}

.wbtfe_mis_connected_success{ margin-top:30px; margin-bottom:5px; color:var(--wtds-color-S500); display:flex; align-items:center; gap:5px; }
.notice, .updated{ display:none !important; }

/* Warning Styles */
.wbte-sf-auth-denied-warning { 
	align-items: flex-start; 
	justify-content: space-between; 
	background-color: #FCEAED; 
	border: 0.5px solid #D63638; 
	border-radius: 12px; 
	padding: 16px 20px; 
	color: #DF284C; 
	font-family: Arial, sans-serif;  
	width: 95%; 
	margin: 20px auto; 
	position: absolute; 
	box-sizing: border-box; 
	gap: 15px; 
	display: flex; 
	top: 65px; 
	left: 2rem; 
}

.wbte-sf-auth-denied-warning .wbte-sf-auth-denied-warning-content { 
	flex: 1; 
	font-size: 14px; 
	line-height: 20px; 
	font-weight: 400; 
}

.wbte-sf-auth-denied-warning .wbte-sf-auth-denied-warning-content-title { 
	font-size: 16px; 
	margin: 0; 
	margin-bottom: 8px; 
}

.wbte-sf-auth-denied-warning .wbte-sf-auth-denied-warning-content span strong, 
.wbte-sf-auth-denied-warning .wbte-sf-auth-denied-warning-content-title { 
	font-weight: 700; 
}

.wbte-sf-auth-denied-warning .wbte-sf-auth-denied-warning-close { 
	color: #D63638; 
	font-size: 25px; 
	cursor: pointer; 
}

/* Modal Styles */
.wbtfe-modal-overlay { 
	position: fixed; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%; 
	background-color: rgba(0, 0, 0, 0.5); 
	z-index: 9999; 
	display: flex; 
	align-items: center; 
	justify-content: center; 
}

.wbtfe-modal-content { 
	background: #ffffff; 
	border-radius: 8px; 
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); 
	max-width: 500px; 
	width: 90%; 
	margin: 20px; 
}

.wbtfe-modal-header { 
	display: flex; 
	justify-content: space-between; 
	align-items: center; 
	padding: 20px 20px 0 20px; 
}

.wbtfe-modal-title { 
	font-size: 18px; 
	font-weight: 600; 
	color: #2A3646; 
	margin: 0; 
}

.wbtfe-modal-close { 
	background: none; 
	border: none; 
	font-size: 24px; 
	color: #666; 
	cursor: pointer; 
	padding: 0; 
	width: 24px; 
	height: 24px; 
	display: flex; 
	align-items: center; 
	justify-content: center; 
}

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

.wbtfe-modal-body { 
	padding: 20px; 
}

.wbtfe-modal-body p { 
	margin: 0; 
	color: #666; 
	line-height: 1.4; 
	text-align: left; 
}

.wbtfe-modal-footer { 
	display: flex; 
	justify-content: flex-end; 
	gap: 10px; 
	padding: 0 20px 20px 20px; 
}

.wbtfe-modal-cancel { 
	background: none; 
	border: none; 
	color: #056BE7; 
	cursor: pointer; 
	padding: 12px 20px; 
	font-size: 14px; 
	border-radius: 4px; 
}

.wbtfe-modal-cancel:hover { 
	background-color: #f0f0f0; 
}

.wbtfe-modal-disconnect { 
	background-color: #FFEDED; 
	color: #D61818; 
	border: none; 
	padding: 12px 20px; 
	font-size: 14px; 
	border-radius: 4px; 
	cursor: pointer; 
}

.wbtfe-modal-disconnect:hover { 
	background-color: #F8DDDD; 
}

/* Custom Success Notification Styles */
.wbte_multinvsync_notify_msg_success { 
	background-color: #2A3646 !important; 
	color: #ffffff !important; 
	border: none !important; 
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important; 
	padding: 16px 20px !important; 
	border-radius: 8px !important; 
	display: flex !important; 
	align-items: center !important; 
	gap: 12px !important; 
	text-shadow: none !important; 
}

.wbte_multinvsync_notify_msg_success .wbte_multinvsync_notify_msg_icon { 
	width: 24px !important; 
	height: 24px !important; 
	background-color: #10B981 !important; 
	border-radius: 50% !important; 
	display: flex !important; 
	align-items: center !important; 
	justify-content: center !important; 
	float: none !important; 
	margin: 0 !important; 
	padding: 4px !important; 
}

.wbte_multinvsync_notify_msg_success .wbte_multinvsync_notify_msg_icon img { 
	width: 16px !important; 
	height: 16px !important; 
	filter: brightness(0) invert(1) !important; 
}

@keyframes wbtfe-toast-slide-in { 
	from { 
		opacity: 0; 
		transform: translateY(-20px); 
	} 
	to { 
		opacity: 1; 
		transform: translateY(0); 
	} 
}