/**
 * POI ACF Pro - Frontend Styles
 * @since 2.0.0
 */

.poi-acf-pro {
	margin: 0;
	padding: 0;
}

.poi-acf-pro-field-group {
	margin-bottom: 2rem;
}

.poi-acf-pro-field {
	margin-bottom: 1.5rem;
}

.poi-acf-pro-field label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
	color: #333;
}

.poi-acf-pro-field input,
.poi-acf-pro-field select,
.poi-acf-pro-field textarea {
	width: 100%;
	padding: 0.5rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 1rem;
	font-family: inherit;
}

.poi-acf-pro-field input:focus,
.poi-acf-pro-field select:focus,
.poi-acf-pro-field textarea:focus {
	outline: none;
	border-color: #4a90e2;
	box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.poi-acf-pro-field-description {
	font-size: 0.875rem;
	color: #666;
	margin-top: 0.25rem;
}

.poi-acf-pro-template {
	background: #f9f9f9;
	padding: 1.5rem;
	border-radius: 4px;
	border: 1px solid #e0e0e0;
}

.poi-acf-pro-button {
	display: inline-block;
	padding: 0.5rem 1rem;
	background-color: #4a90e2;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 1rem;
	text-decoration: none;
	transition: background-color 0.3s ease;
}

.poi-acf-pro-button:hover {
	background-color: #357abd;
	text-decoration: none;
	color: white;
}

.poi-acf-pro-button-secondary {
	background-color: #e0e0e0;
	color: #333;
}

.poi-acf-pro-button-secondary:hover {
	background-color: #d0d0d0;
}

.poi-acf-pro-loading {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 3px solid #f3f3f3;
	border-top: 3px solid #4a90e2;
	border-radius: 50%;
	animation: poi-acf-spin 1s linear infinite;
}

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

.poi-acf-pro-error {
	color: #d32f2f;
	padding: 0.75rem;
	background-color: #ffebee;
	border: 1px solid #ef5350;
	border-radius: 4px;
	margin-bottom: 1rem;
}

.poi-acf-pro-success {
	color: #388e3c;
	padding: 0.75rem;
	background-color: #e8f5e9;
	border: 1px solid #66bb6a;
	border-radius: 4px;
	margin-bottom: 1rem;
}

.poi-acf-pro-info {
	color: #1976d2;
	padding: 0.75rem;
	background-color: #e3f2fd;
	border: 1px solid #42a5f5;
	border-radius: 4px;
	margin-bottom: 1rem;
}

@media (max-width: 768px) {
	.poi-acf-pro-field-group {
		margin-bottom: 1.5rem;
	}

	.poi-acf-pro-template {
		padding: 1rem;
	}
}
