#oauth #register-form,
#oauth #login-form {
	display: none;

}

#oauth #showRegisterForm,
#oauth #showLoginForm {
	cursor: pointer;
	color: #007ab2;
	text-decoration: underline;
}

#oauth #register-form .optin-privacy .required {
	color: #ff4040;
}

#openid-provider-list {
	padding: 0;
	width: 400px;
}

#openid-provider-list li {
	margin-bottom: 15px;
	list-style: none;
	margin-left: 0;
}

#openid-provider-list li:not([class="page_login"]) a {
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	color: #007ab2;
}

#openid-provider-list li:not([class="page_login"]) a img {
	margin: 9px 6px 0 12px;
	max-height: 22px;
	max-width: 22px;
}

#openid-provider-list li:not([class="page_login"]) a > div {
	min-width: 215px;
	min-height: 42px;
	max-height: 42px;
	background-color: #eee;
	box-shadow: inset 0 -1em 1em rgba(0, 0, 0, 0.1);
	background-repeat: no-repeat;
	white-space: nowrap;
	border: 1px solid rgba(0, 0, 0, 0.4);
	border-top-color: #bbbbbb;
	border-radius: 3px;
}

#openid-provider-list li:not([class="page_login"]) a > div > span {
	position: relative;
	bottom: 6px;
}

.margin-top-30 {
	margin-top: 30px;
}

#openid-provider-list li:not([class="page_login"]) a div:hover {
	-webkit-box-shadow: 0 0 2px 2px rgba(187, 187, 187, 0.6);
	-moz-box-shadow: 0 0 2px 2px rgba(187, 187, 187, 0.6);
	box-shadow: 0 0 2px 2px rgba(187, 187, 187, 0.6);
}

.page_openid_login .page_login {
	-webkit-box-shadow: 0 0 2px 2px rgba(221, 221, 221, 0.5);
	-moz-box-shadow: 0 0 2px 2px rgba(221, 221, 221, 0.5);
	box-shadow: 0 0 2px 2px rgba(221, 221, 221, 0.5);
}

.page_openid_login .page_login .login {
	padding: 20px 0 1px 0;
	margin: auto;
}

.page_openid_login .page_login .login input {
	max-width: 100%;
}

.page_openid_login .page_login .login .fields > div {
	padding-bottom: 5px;
}

.openid-error {
	background-color: #f8d7da;
	padding: 15px;
	border-radius: 3px;
	border: 1px solid #f5c6cb;
	color: #721c24
}

.openid-info {
	background-color: #d1ecf1;
	padding: 15px;
	border-radius: 3px;
	border: 1px solid #bee5eb;
	color: #0c5460;
}

#openid-choice-select{
	margin-bottom: 40px;
	margin-left: 0;
	padding-left: 0;
	list-style: none;
}

#openid-choice-select li{
	margin-bottom: 15px;
}

.page_oauth{
	min-height: 65vh;
}

.openid-auth-page {
	min-height: 75vh;
	padding: 70px 20px;
	background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
}

.openid-auth-container {
	max-width: 980px;
	margin: 0 auto;
}

.openid-auth-card {
	background: #ffffff;
	border-radius: 22px;
	padding: 36px;
	box-shadow: 0 20px 60px rgba(15, 23, 42, 0.10);
	border: 1px solid #e5e7eb;
}

.openid-auth-header {
	text-align: center;
	margin-bottom: 28px;
}

.openid-auth-badge {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: #fff1ee;
	color: #e43014;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 14px;
}

.openid-auth-header h1 {
	margin: 0;
	font-size: 30px;
	line-height: 1.3;
	color: #111827;
	font-weight: 800;
}

.openid-auth-header p {
	margin: 10px 0 0;
	color: #6b7280;
	font-size: 15px;
}

.openid-choice-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	background: #f3f4f6;
	padding: 8px;
	border-radius: 14px;
	margin-bottom: 28px;
}

.openid-tab {
	text-align: center;
	padding: 13px 16px;
	border-radius: 10px;
	cursor: pointer;
	font-weight: 700;
	color: #374151;
	transition: 0.2s ease;
}

.openid-tab:hover,
.openid-tab.active {
	background: #e43014;
	color: #ffffff;
	box-shadow: 0 8px 20px rgba(228, 48, 20, 0.22);
}

.openid-section {
	background: #fbfdff;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	padding: 26px;
	margin-top: 20px;
}

.openid-alert {
	background: #fff7ed;
	border: 1px solid #fed7aa;
	border-left: 5px solid #e43014;
	color: #374151;
	padding: 14px 16px;
	border-radius: 12px;
	margin-bottom: 22px;
	font-size: 15px;
	line-height: 1.6;
}

.openid-fieldset {
	border: 0;
	padding: 0;
	margin: 0;
}

.openid-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
}

.openid-grid.single {
	grid-template-columns: 1fr;
	max-width: 520px;
	margin: 0 auto;
}

.openid-full {
	grid-column: 1 / -1;
}

.openid-field label {
	display: block;
	margin-bottom: 8px;
	font-weight: 700;
	color: #1f2937;
	font-size: 14px;
}

.openid-field label span,
.openid-consent strong {
	color: #e43014;
}

.openid-field input,
.openid-field select {
	width: 100%;
	height: 46px;
	border: 1px solid #d1d5db;
	border-radius: 12px;
	padding: 0 14px;
	background: #ffffff;
	color: #111827;
	outline: none;
	transition: 0.2s ease;
}

.openid-field input:focus,
.openid-field select:focus {
	border-color: #e43014;
	box-shadow: 0 0 0 4px rgba(228, 48, 20, 0.12);
}

.openid-consent {
	margin-top: 22px;
	display: grid;
	gap: 12px;
	background: #ffffff;
	border: 1px dashed #d1d5db;
	border-radius: 14px;
	padding: 18px;
}

.openid-consent label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	line-height: 1.6;
	color: #374151;
}

.openid-consent input {
	margin-top: 5px;
}

.openid-actions {
	margin-top: 24px;
	display: flex;
	justify-content: center;
}

.openid-primary-btn {
	border: 0;
	border-radius: 999px;
	padding: 13px 34px;
	background: #111827;
	color: #ffffff;
	font-weight: 800;
	cursor: pointer;
	min-width: 180px;
	transition: 0.2s ease;
}

.openid-primary-btn:hover {
	background: #e43014;
	transform: translateY(-1px);
	box-shadow: 0 10px 25px rgba(228, 48, 20, 0.25);
}

.openid-forgot {
	display: inline-block;
	margin-top: 10px;
	color: #e43014 !important;
	font-weight: 700;
	text-decoration: none;
}

.openid-forgot:hover {
	text-decoration: underline;
}

@media (max-width: 768px) {
	.openid-auth-page {
		padding: 40px 14px;
	}

	.openid-auth-card {
		padding: 24px;
		border-radius: 18px;
	}

	.openid-auth-header h1 {
		font-size: 24px;
	}

	.openid-choice-tabs {
		grid-template-columns: 1fr;
	}

	.openid-grid {
		grid-template-columns: 1fr;
	}
}