/* CRD Member Gate – v1.0.0 */

.crd-mg-card {
	background: #f6f6f6;
	border-radius: 20px;
	padding: 50px;
	text-align: center;
	max-width: 600px;
	margin: 30px auto;
	font-family: new-hero, sans-serif;
	font-size: 1.1rem;
	color: #121212;
}

.crd-mg-lock {
	display: block;
	margin: 0 auto 20px;
}

.crd-mg-title {
	margin: 0 0 10px;
	font-size: 1.6rem;
	color: #121212;
}

.crd-mg-text {
	margin: 0 0 25px;
}

/* Tabs */
.crd-mg-tabs {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin: 0 0 25px;
}

.crd-mg-tab {
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: 1rem;
	color: #555;
	padding: 8px 18px;
	border-radius: 999px;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}

.crd-mg-tab.is-active { 
	background: #3bb249;
	color: #fff;
}

/* Panels */
.crd-mg-panel {
	display: none;
	text-align: left;
}

.crd-mg-panel.is-active {
	display: block;
}

/* Forms (covers both the WP login form and the register form) */
.crd-mg-panel p {
	margin: 0 0 16px;
}

.crd-mg-panel label {
	display: block;
	margin: 0 0 6px;
	font-size: .95rem;
	font-weight: 600;
}

.crd-mg-panel input[type="text"],
.crd-mg-panel input[type="email"],
.crd-mg-panel input[type="password"] {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border: 1px solid #d6d6d6;
	border-radius: 10px;
	font-family: inherit;
	font-size: 1rem;
	background: #fff;
	color: #121212;
}

.crd-mg-panel input:focus {
	outline: none;
	border-color: #3bb249;
	box-shadow: 0 0 0 3px rgba( 8, 150, 232, .15 );
}

.crd-mg-panel .login-remember {
	font-weight: 400;
}

/* Buttons */
.crd-mg-btn,
.crd-mg-panel input[type="submit"],
.crd-mg-panel .button {
	display: inline-block;
	background: #3bb249;
	color: #fff;
	border: 0;
	border-radius: 10px;
	padding: 12px 24px;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: filter .15s ease;
}

.crd-mg-btn:hover,
.crd-mg-panel input[type="submit"]:hover,
.crd-mg-panel .button:hover {
	filter: brightness( .92 );
	color: #fff;
}

.crd-mg-btn-ghost {
	background: transparent;
	color: #3bb249;
	border: 1px solid #3bb249;
}

.crd-mg-btn-ghost:hover {
	background: rgba( 8, 150, 232, .08 );
	filter: none;
	color: #3bb249;
}

.crd-mg-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

/* Errors */
.crd-mg-errors {
	background: #fdecec;
	border: 1px solid #f5c2c2;
	border-radius: 10px;
	padding: 12px 16px;
	margin: 0 0 20px;
	color: #a12121;
	text-align: left;
}

.crd-mg-errors p {
	margin: 0 0 6px;
	font-size: .95rem;
}

.crd-mg-errors p:last-child {
	margin: 0;
}
