/**
 * Public-facing styles.
 *
 * @package Guyana_Task_Marketplace
 */

/* Reset and base styles */
.gy-notice {
	padding: 15px;
	margin: 20px 0;
	border-radius: 4px;
	border-left: 4px solid;
}

.gy-notice-warning {
	background: #fff3cd;
	border-color: #ffc107;
	color: #856404;
}

.gy-notice-error {
	background: #f8d7da;
	border-color: #dc3545;
	color: #721c24;
}

.gy-notice-success {
	background: #d4edda;
	border-color: #28a745;
	color: #155724;
}

/* Buttons */
.gy-btn {
	display: inline-block;
	padding: 10px 20px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: #fff;
	color: #333;
	text-decoration: none;
	cursor: pointer;
	font-size: 14px;
	transition: all 0.3s;
}

.gy-btn:hover {
	background: #f5f5f5;
}

.gy-btn-primary {
	background: #0073aa;
	color: #fff;
	border-color: #0073aa;
}

.gy-btn-primary:hover {
	background: #005a87;
	border-color: #005a87;
	color: #fff;
}

.gy-btn-small {
	padding: 6px 12px;
	font-size: 12px;
}

/* Tables */
.gy-table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
}

.gy-table th,
.gy-table td {
	padding: 12px;
	text-align: left;
	border-bottom: 1px solid #ddd;
}

.gy-table th {
	background: #f5f5f5;
	font-weight: 600;
}

.gy-table tr:hover {
	background: #fafafa;
}

/* Status badges */
.gy-status-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
}

.gy-status-open {
	background: #d4edda;
	color: #155724;
}

.gy-status-in_progress {
	background: #d1ecf1;
	color: #0c5460;
}

.gy-status-completed {
	background: #cce5ff;
	color: #004085;
}

.gy-status-cancelled {
	background: #f8d7da;
	color: #721c24;
}

.gy-status-pending {
	background: #fff3cd;
	color: #856404;
}

.gy-status-accepted {
	background: #d4edda;
	color: #155724;
}

.gy-status-declined {
	background: #f8d7da;
	color: #721c24;
}

/* Map container */
.gy-map {
	width: 100%;
	border: 1px solid #ddd;
	border-radius: 4px;
}

/* Mobile responsive */
@media (max-width: 768px) {
	.gy-btn {
		width: 100%;
		text-align: center;
		margin-bottom: 10px;
	}

	.gy-table {
		font-size: 14px;
	}

	.gy-table th,
	.gy-table td {
		padding: 8px;
	}
}

/* Utility classes */
.gy-text-center {
	text-align: center;
}

.gy-mb-20 {
	margin-bottom: 20px;
}

.gy-mt-20 {
	margin-top: 20px;
}

/* Loading spinner */
.gy-loading {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 3px solid rgba(0,115,170,.3);
	border-radius: 50%;
	border-top-color: #0073aa;
	animation: gy-spin 1s ease-in-out infinite;
}

@keyframes gy-spin {
	to { transform: rotate(360deg); }
}

/* No results message */
.gy-no-results {
	text-align: center;
	padding: 40px 20px;
	color: #666;
	font-size: 16px;
}
