/* Frontend Data Loader Styles */
.marketplace-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: linear-gradient(135deg, #6c5ce7, #74b9ff);
    color: white;
    border-radius: 10px;
}

.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.marketplace-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.marketplace-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.marketplace-item h3 {
    color: #2d3436;
    margin-bottom: 0.5rem;
}

.marketplace-item p {
    color: #636e72;
    margin-bottom: 1rem;
}

.item-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.price {
    font-weight: bold;
    color: #00b894;
    font-size: 1.2em;
}

.category {
    background: #ddd6fe;
    color: #6c5ce7;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8em;
}

.seller-info {
    color: #636e72;
    font-size: 0.9em;
    font-style: italic;
}

/* Dashboard Styles */
.dashboard-posts, .dashboard-events {
    margin: 2rem 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.section-header {
    background: linear-gradient(135deg, #00cec9, #00b894);
    color: white;
    padding: 1rem;
    margin: 0;
}

.section-header h3 {
    margin: 0;
}

.posts-list, .events-list {
    padding: 1rem;
}

.dashboard-post, .dashboard-event {
    border-bottom: 1px solid #f0f0f0;
    padding: 1rem 0;
}

.dashboard-post:last-child, .dashboard-event:last-child {
    border-bottom: none;
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.post-type {
    background: #74b9ff;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8em;
}

.post-footer {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.9em;
    color: #636e72;
}

/* Calendar Styles */
.calendar-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: linear-gradient(135deg, #fd79a8, #fdcb6e);
    color: white;
    border-radius: 10px;
}

.calendar-events {
    display: grid;
    gap: 1rem;
}

.calendar-event-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    transition: transform 0.2s;
}

.calendar-event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.event-date {
    background: #fd79a8;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-weight: bold;
}

.event-content {
    flex: 1;
}

.event-content h4 {
    margin: 0 0 0.5rem 0;
    color: #2d3436;
}

.event-content p {
    color: #636e72;
    margin-bottom: 0.5rem;
}

.event-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9em;
    color: #636e72;
}

.location {
    font-style: italic;
}

/* Dashboard Events */
.dashboard-event {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.dashboard-event .event-date {
    background: #6c5ce7;
    color: white;
    padding: 0.5rem;
    border-radius: 5px;
    min-width: 80px;
    text-align: center;
    font-size: 0.9em;
}

.event-details h4 {
    margin: 0 0 0.5rem 0;
    color: #2d3436;
}

.event-details p {
    color: #636e72;
    margin-bottom: 0.5rem;
}

.event-location {
    font-size: 0.9em;
    color: #636e72;
    font-style: italic;
}
