/* Page Protection Frontend Styles */

.page-protection-container {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 60vh;
	padding: 40px 20px;
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    margin-top: 100px;
}

.page-protection-form-wrapper {
	background: white;
	padding: 40px;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	max-width: 400px;
	width: 100%;
}

.page-protection-header {
	margin-bottom: 30px;
	text-align: center;
}

.page-protection-header h2 {
	margin: 0 0 10px 0;
	color: #333;
	font-size: 24px;
	font-weight: 600;
}

.page-protection-header p {
	margin: 0;
	color: #666;
	font-size: 14px;
}

.page-protection-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.page-protection-message {
	min-height: 30px;
	display: flex;
	align-items: center;
}

.page-protection-message-success {
	padding: 12px;
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 500;
}

.page-protection-message-error {
	padding: 12px;
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 500;
}

.page-protection-form-group {
	display: flex;
	flex-direction: column;
}

.page-protection-form-group label {
	margin-bottom: 8px;
	font-weight: 500;
	color: #333;
	font-size: 14px;
}

.page-protection-input {
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	font-family: inherit;
}

.page-protection-input:focus {
	outline: none;
	border-color: #4CAF50;
	box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.page-protection-button {
	padding: 12px;
	background: #4CAF50;
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s ease, opacity 0.3s ease;
}

.page-protection-button:hover:not(:disabled) {
	background: #45a049;
}

.page-protection-button:active:not(:disabled) {
	background: #3d8b40;
}

.page-protection-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Responsive */
@media (max-width: 600px) {
	.page-protection-form-wrapper {
		padding: 30px 20px;
	}

	.page-protection-header h2 {
		font-size: 20px;
	}

	.page-protection-container {
		min-height: 50vh;
	}
}
