/**
 * OAuth 2.1 Authorization Page Styles.
 *
 * @package MCPCOMAL
 */

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	background: #f0f0f1;
	color: #1d2327;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	padding: 20px;
}

.mcpcomal-oauth-card {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .13);
	max-width: 440px;
	width: 100%;
	padding: 32px;
}

.mcpcomal-oauth-header {
	text-align: center;
	margin-bottom: 24px;
}

.mcpcomal-oauth-header img {
	width: 64px;
	height: 64px;
	border-radius: 8px;
	margin-bottom: 12px;
}

.mcpcomal-oauth-header h1 {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 8px;
}

.mcpcomal-oauth-header p {
	color: #646970;
	font-size: 14px;
}

.mcpcomal-oauth-scopes {
	background: #f6f7f7;
	border-radius: 6px;
	padding: 16px;
	margin-bottom: 24px;
}

.mcpcomal-oauth-scopes h3 {
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: #646970;
	margin-bottom: 10px;
}

.mcpcomal-oauth-scopes ul {
	list-style: none;
	padding: 0;
}

.mcpcomal-oauth-scopes li {
	padding: 6px 0;
	font-size: 14px;
	border-bottom: 1px solid #e0e0e0;
}

.mcpcomal-oauth-scopes li:last-child {
	border-bottom: none;
}

.mcpcomal-oauth-scopes li::before {
	content: "\2713";
	color: #00a32a;
	font-weight: bold;
	margin-right: 8px;
}

.mcpcomal-oauth-user {
	font-size: 13px;
	color: #646970;
	text-align: center;
	margin-bottom: 20px;
}

.mcpcomal-oauth-user strong {
	color: #1d2327;
}

.mcpcomal-oauth-actions {
	display: flex;
	gap: 12px;
}

.mcpcomal-oauth-actions button {
	flex: 1;
	padding: 10px 16px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	border: 1px solid;
	transition: background .15s;
}

.mcpcomal-oauth-btn-deny {
	background: #fff;
	border-color: #c3c4c7;
	color: #50575e;
}

.mcpcomal-oauth-btn-deny:hover {
	background: #f6f7f7;
}

.mcpcomal-oauth-btn-authorize {
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
}

.mcpcomal-oauth-btn-authorize:hover {
	background: #135e96;
}
