/* Penciledge Page Restriction Frontend Styles */
.pe-registration-form {
	max-width: 500px;
	margin: 0 auto;
	padding: 30px;
	background: #ffffff;
	border: 1px solid #e6e8ec;
	border-radius: 12px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pe-registration-form h3 {
	margin: 0 0 10px;
	font-size: 24px;
	color: #0f172a;
	text-align: center;
}

.pe-registration-form > p {
	margin: 0 0 25px;
	color: #6b7280;
	text-align: center;
	line-height: 1.5;
}

.pe-field {
	margin-bottom: 20px;
}

.pe-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
	color: #0f172a;
}

.pe-field input[type="text"],
.pe-field input[type="email"] {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid #e6e8ec;
	border-radius: 8px;
	font-size: 16px;
	transition: border-color 0.2s ease;
}

.pe-field input[type="text"]:focus,
.pe-field input[type="email"]:focus {
	outline: none;
	border-color: #0ea5e9;
	box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.pe-actions {
	margin-top: 25px;
}

.pe-button {
	width: 100%;
	padding: 14px 20px;
	background: #0ea5e9;
	color: #ffffff;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.pe-button:hover {
	background: #0284c7;
}

.pe-button:disabled {
	background: #9ca3af;
	cursor: not-allowed;
}

.pe-button--secondary {
	background: #6b7280;
}

.pe-button--secondary:hover {
	background: #4b5563;
}

.pe-message {
	margin-top: 20px;
	padding: 12px 16px;
	border-radius: 6px;
	font-weight: 500;
}

.pe-message.success {
	background: #d1fae5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}

.pe-message.error {
	background: #fee2e2;
	color: #991b1b;
	border: 1px solid #fca5a5;
}

.pe-registration-logged-in {
	text-align: center;
	padding: 30px;
	background: #f0f9ff;
	border: 1px solid #0ea5e9;
	border-radius: 12px;
}

.pe-registration-logged-in p {
	margin: 0 0 15px;
	color: #0f172a;
}

.pe-registration-logged-in p:last-child {
	margin-bottom: 0;
}

/* Loading state */
.pe-button.loading {
	position: relative;
	color: transparent;
}

.pe-button.loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	border: 2px solid #ffffff;
	border-top: 2px solid transparent;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

