/**
 * Azure AD / Microsoft 365 Login Button Styles
 * Aligned with RQ HMS hospital theme (slate/blue palette)
 */

/* Separator between regular login and Azure AD login */
.azure-login-separator {
	text-align: center;
	margin: 20px 0;
	position: relative;
}

.azure-login-separator::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background-color: #E2E8F0;
}

.azure-login-separator span {
	background-color: #ffffff;
	padding: 0 14px;
	position: relative;
	color: #94A3B8;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* Azure AD login button */
.azure-ad-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 10px 20px;
	border: 1px solid #CBD5E1;
	border-radius: 6px;
	background-color: #ffffff;
	color: #334155;
	font-weight: 500;
	font-size: 14px;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
	margin-top: 10px;
	text-decoration: none;
}

.azure-ad-btn:hover {
	background-color: #F8FAFC;
	border-color: #94A3B8;
	color: #0F172A;
	box-shadow: 0 1px 4px rgba(15,23,42,0.1);
	text-decoration: none;
}

.azure-ad-btn:active {
	background-color: #F1F5F9;
	border-color: #64748B;
}

.azure-ad-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* Microsoft icon */
.microsoft-icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

/* Loading spinner */
.azure-ad-btn .spinner-border {
	width: 16px;
	height: 16px;
	border-width: 2px;
	color: #1D4ED8;
}
