/**
 * Login modal chrome (overlay + dialog box). The OTP form's own look
 * (inputs, buttons, steps) comes entirely from annghar-otp-login's own
 * stylesheet, enqueued as this file's dependency — nothing here overrides it.
 */

.annghar-amb-login-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.annghar-amb-login-modal[hidden] {
	display: none;
}

.annghar-amb-login-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

.annghar-amb-login-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 420px;
	margin: 16px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	background: #fff;
	border-radius: 12px;
	padding: 32px 24px 24px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.annghar-amb-login-modal__close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 32px;
	height: 32px;
	border: 0;
	background: transparent;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	color: inherit;
	opacity: 0.6;
}

.annghar-amb-login-modal__close:hover {
	opacity: 1;
}
