:root {
--primary-color: #27ae60;
--secondary-color: #2c3e50;
--accent-color: #3498db;
--danger-color: #e74c3c;
--warning-color: #f39c12;
--light-bg: #f8f9fa;
--border-color: #ddd;
--text-color: #2c3e50;
--text-light: #7f8c8d;
}  .mkisan-container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
.mkisan-card {
background: white;
border-radius: 8px;
padding: 20px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
margin-bottom: 20px;
}
.mkisan-btn {
display: inline-block;
padding: 10px 20px;
border-radius: 6px;
font-weight: 600;
text-decoration: none;
text-align: center;
cursor: pointer;
transition: all 0.3s;
border: none;
}
.mkisan-btn-primary {
background: var(--primary-color);
color: white;
}
.mkisan-btn-primary:hover {
background: #229954;
}
.mkisan-btn-secondary {
background: var(--secondary-color);
color: white;
}
.mkisan-btn-outline {
background: transparent;
border: 2px solid var(--primary-color);
color: var(--primary-color);
} .mkisan-grid {
display: grid;
gap: 20px;
}
.mkisan-grid-2 {
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.mkisan-grid-3 {
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
} .mkisan-deal-card {
background: white;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
transition: transform 0.3s;
}
.mkisan-deal-card:hover {
transform: translateY(-5px);
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.deal-image {
width: 100%;
height: 200px;
object-fit: cover;
}
.deal-content {
padding: 15px;
}
.deal-title {
font-size: 19px;
font-weight: 600;
color: var(--text-color);
margin-bottom: 10px;
}
.deal-meta {
display: flex;
justify-content: space-between;
align-items: center;
margin: 10px 0;
}
.deal-price {
font-size: 24px;
font-weight: 700;
color: var(--primary-color);
}
.deal-quantity {
color: var(--text-light);
font-size: 16px;
}
.deal-location {
display: flex;
align-items: center;
gap: 5px;
color: var(--text-light);
font-size: 15px;
margin: 10px 0;
}
.deal-type-badge {
display: inline-block;
padding: 4px 12px;
border-radius: 20px;
font-size: 14px;
font-weight: 600;
text-transform: uppercase;
}
.deal-type-buy {
background: #e3f2fd;
color: #1976d2;
}
.deal-type-sell {
background: #e8f5e9;
color: #388e3c;
} .mkisan-prices-table {
width: 100%;
border-collapse: collapse;
background: white;
border-radius: 8px;
overflow: hidden;
}
.mkisan-prices-table thead {
background: var(--primary-color);
color: white;
}
.mkisan-prices-table th,
.mkisan-prices-table td {
padding: 12px 15px;
text-align: left;
border-bottom: 1px solid var(--border-color);
}
.mkisan-prices-table tbody tr:hover {
background: var(--light-bg);
}
.price-up {
color: #27ae60;
}
.price-down {
color: #e74c3c;
} .mkisan-filters {
background: white;
padding: 20px;
border-radius: 8px;
margin-bottom: 20px;
}
.filter-group {
display: flex;
gap: 15px;
flex-wrap: wrap;
}
.filter-item {
flex: 1;
min-width: 200px;
}
.filter-item label {
display: block;
margin-bottom: 5px;
font-weight: 600;
color: var(--text-color);
}
.filter-item select,
.filter-item input {
width: 100%;
padding: 10px;
border: 1px solid var(--border-color);
border-radius: 6px;
font-size: 16px;
} .mkisan-pagination {
display: flex;
justify-content: center;
gap: 10px;
margin: 30px 0;
}
.page-link {
padding: 8px 12px;
border: 1px solid var(--border-color);
border-radius: 4px;
color: var(--text-color);
text-decoration: none;
transition: all 0.3s;
}
.page-link:hover,
.page-link.active {
background: var(--primary-color);
color: white;
border-color: var(--primary-color);
} @media (max-width: 768px) {
.mkisan-grid-2,
.mkisan-grid-3 {
grid-template-columns: 1fr;
}
.filter-group {
flex-direction: column;
}
.filter-item {
width: 100%;
}
.deal-meta {
flex-direction: column;
align-items: flex-start;
gap: 10px;
}
} .mkisan-loading {
display: flex;
justify-content: center;
align-items: center;
padding: 40px;
}
.spinner {
border: 4px solid rgba(0,0,0,0.1);
border-left-color: var(--primary-color);
border-radius: 50%;
width: 40px;
height: 40px;
animation: spin 1s linear infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
} .mkisan-alert {
padding: 15px 20px;
border-radius: 6px;
margin-bottom: 20px;
}
.mkisan-alert-success {
background: #d4edda;
color: #155724;
border: 1px solid #c3e6cb;
}
.mkisan-alert-error {
background: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
}
.mkisan-alert-info {
background: #d1ecf1;
color: #0c5460;
border: 1px solid #bee5eb;
} .status-badge {
display: inline-block;
padding: 4px 12px;
border-radius: 20px;
font-size: 14px;
font-weight: 600;
}
.status-pending {
background: #fff3cd;
color: #856404;
}
.status-approved {
background: #d4edda;
color: #155724;
}
.status-rejected {
background: #f8d7da;
color: #721c24;
}
.status-expired {
background: #e2e3e5;
color: #383d41;
}