.sl-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(20, 26, 27, 0.65);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.sl-overlay.sl-open {
	opacity: 1;
	visibility: visible;
}

body.sl-no-scroll {
	overflow: hidden;
}

.sl-modal {
	position: relative;
	width: 100%;
	max-width: 420px;
	background: #ffffff;
	border-radius: 10px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
	padding: 32px 28px 28px;
	font-family: "Nunito Sans", sans-serif;
	transform: translateY(16px);
	transition: transform 0.25s ease;
	box-sizing: border-box;
}

.sl-overlay.sl-open .sl-modal {
	transform: translateY(0);
}

.sl-modal * {
	box-sizing: border-box;
}

.sl-close {
	position: absolute;
	top: 12px;
	right: 14px;
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	color: #666666;
	cursor: pointer;
	padding: 4px;
}

.sl-close:hover {
	color: #2e3a3c;
}

.sl-modal h3 {
	margin: 0 0 6px;
	font-size: 22px;
	font-weight: 700;
	color: #2e3a3c;
}

.sl-subtitle {
	margin: 0 0 20px;
	font-size: 14px;
	font-weight: 300;
	color: #666666;
}

.sl-field {
	margin-bottom: 16px;
}

.sl-field label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #2e3a3c;
}

.sl-field input {
	width: 100%;
	padding: 11px 14px;
	font-size: 14px;
	font-family: inherit;
	border: 1px solid #d8dcdc;
	border-radius: 6px;
	color: #333333;
	background: #fafafa;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sl-field input:focus {
	outline: none;
	border-color: #4a5c5f;
	box-shadow: 0 0 0 3px rgba(74, 92, 95, 0.15);
	background: #ffffff;
}

.sl-field input[readonly] {
	background: #f0f2f2;
	color: #666666;
	cursor: not-allowed;
}

.sl-field input[readonly]:focus {
	box-shadow: none;
	border-color: #d8dcdc;
}

.sl-otp-input-wrap {
	position: relative;
}

.sl-otp-field input {
	letter-spacing: 4px;
	font-weight: 600;
	padding-right: 40px;
}

.sl-otp-verified-badge {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #2e7d32;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sl-otp-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 8px;
}

.sl-otp-note {
	font-size: 12px;
	font-weight: 300;
	color: #666666;
}

.sl-link-btn {
	background: none;
	border: none;
	padding: 0;
	font-size: 13px;
	font-weight: 600;
	color: #2e3a3c;
	text-decoration: underline;
	cursor: pointer;
	white-space: nowrap;
}

.sl-link-btn:disabled {
	color: #999999;
	cursor: not-allowed;
	text-decoration: none;
}

.sl-change-btn {
	display: inline-block;
	margin-top: 8px;
	font-size: 12px;
}

.sl-hp-field {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.sl-error {
	display: none;
	margin-bottom: 14px;
	font-size: 13px;
	color: #c0392b;
}

.sl-error.sl-error--visible {
	display: block;
}

.sl-submit {
	width: 100%;
	border: none;
	padding: 13px 24px;
	font-size: 15px;
	font-weight: 600;
	color: #ffffff;
	border-radius: 6px;
	cursor: pointer;
	background: linear-gradient(to right, #4a5c5f, #2e3a3c);
	transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.sl-submit:hover:not(:disabled) {
	background: linear-gradient(to right, #5b7174, #3a4d50);
	transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(46, 58, 60, 0.45);
}

.sl-submit:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

@media (max-width: 480px) {
	.sl-modal {
		padding: 26px 20px 22px;
	}
}

.sl-profile-menu {
	position: relative;
	display: none;
	align-items: center;
	margin-left: 20px;
	font-family: "Nunito Sans", sans-serif;
}

.sl-profile-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	border-radius: 50%;
	transition: box-shadow 0.2s ease;
}

.sl-profile-toggle:hover,
.sl-profile-menu.sl-open .sl-profile-toggle {
	box-shadow: 0 0 0 3px rgba(46, 58, 60, 0.12);
}

.sl-profile-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: linear-gradient(to right, #4a5c5f, #2e3a3c);
	color: #ffffff;
	flex-shrink: 0;
}

.sl-profile-dropdown {
	display: none;
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	min-width: 170px;
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
	padding: 6px;
	z-index: 99999;
}

.sl-profile-menu.sl-open .sl-profile-dropdown {
	display: block;
}

.sl-profile-dropdown-name {
	padding: 8px 12px 10px;
	margin-bottom: 4px;
	border-bottom: 1px solid #e8ebeb;
	font-size: 13px;
	font-weight: 700;
	color: #2e3a3c;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sl-profile-dropdown-item {
	display: block;
	width: 100%;
	text-align: left;
	background: none;
	border: none;
	padding: 10px 12px;
	font-size: 14px;
	font-family: inherit;
	color: #2e3a3c;
	cursor: pointer;
	border-radius: 6px;
}

.sl-profile-dropdown-item:hover {
	background: #f0f2f2;
}
