/*
 * Logout confirmation modal styles.
 * Edit this file to customize the confirmation popup.
 */

.khb-logout-modal[hidden] {
	display: none !important;
}

.khb-logout-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 20px;
	background: rgba(15, 23, 42, 0.58);
	direction: rtl;
}

.khb-logout-dialog {
	box-sizing: border-box;
	width: 100%;
	max-width: 430px;
	padding: 26px 24px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
	font-family: var(--khb-font-family, inherit);
	color: var(--khb-font-color, #222222);
	text-align: center;
}

.khb-logout-title {
	margin: 0 0 12px;
	color: #111827;
	font-family: inherit;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.5;
}

.khb-logout-description {
	margin: 0 0 22px;
	color: #4b5563;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.9;
}

.khb-logout-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
}

.khb-logout-confirm,
.khb-logout-cancel {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 9px 18px;
	border: 1px solid transparent;
	border-radius: var(--khb-button-radius, 8px);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 140ms ease, color 140ms ease;
}

.khb-logout-confirm {
	background: #dc2626;
	color: #ffffff;
}

.khb-logout-confirm:hover,
.khb-logout-confirm:focus {
	background: #b91c1c;
	color: #ffffff;
}

.khb-logout-cancel {
	background: #f3f4f6;
	color: #374151;
}

.khb-logout-cancel:hover,
.khb-logout-cancel:focus {
	background: #e5e7eb;
	color: #111827;
}

.khb-logout-confirm:focus-visible,
.khb-logout-cancel:focus-visible {
	outline: 3px solid rgba(37, 99, 235, 0.3);
	outline-offset: 3px;
}

body.khb-modal-open {
	overflow: hidden;
}
