/* GeoFotos Frontend Styles */

.geofotos-container {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.geofotos-login-message,
.geofotos-error-message {
	padding: 15px;
	margin: 20px 0;
	border-radius: 4px;
	font-size: 14px;
}

.geofotos-login-message {
	background: #d1ecf1;
	color: #0c5460;
	border: 1px solid #bee5eb;
}

.geofotos-login-message a {
	color: #0c5460;
	font-weight: bold;
}

.geofotos-error-message {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* Map Styles */
.leaflet-container {
	background: #f5f5f5;
}

.leaflet-container a {
	color: #0073aa;
}

/* Filter Panel */
.geofotos-filter-panel {
	background: white;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.geofotos-filter-panel h3 {
	color: #333;
	font-size: 14px;
}

.geofotos-themes-list label {
	color: #333;
	font-size: 13px;
}

/* Detail Panel */
.geofotos-detail-panel {
	background: white;
	box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
}

.geofotos-detail-panel.active {
	animation: slideIn 0.3s ease;
}

@keyframes slideIn {
	from {
		right: -400px;
		opacity: 0;
	}
	to {
		right: 0;
		opacity: 1;
	}
}

.geofotos-detail-content img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
}

/* Rating */
.geofotos-rating {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 15px 0;
}

.geofotos-rating-stars {
	display: flex;
	gap: 3px;
	font-size: 20px;
	cursor: pointer;
}

.geofotos-rating-stars span {
	color: #ddd;
	cursor: pointer;
	transition: color 0.2s;
}

.geofotos-rating-stars span.active {
	color: #ffc107;
}

.geofotos-rating-stars span:hover,
.geofotos-rating-stars span.hover {
	color: #ffc107;
}

.geofotos-rating-stats {
	font-size: 12px;
	color: #666;
}

/* Responsive */
@media (max-width: 768px) {
	.geofotos-detail-panel {
		width: 100%;
	}

	.geofotos-filter-panel {
		max-height: 300px;
	}
}
