/* Economic Calendar Styles */
.day-section {
    margin-bottom: 2rem;
}

.day-header {
    margin-bottom: 1rem;
}

.day-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    margin: 0 0 0.5rem 0;
}

.day-separator {
    height: 2px;
    background: linear-gradient(90deg, #333, #666, #333);
    border-radius: 1px;
}

.event-row {
    display: grid;
    grid-template-columns: 80px 40px 1fr;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #333;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.event-row:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.event-row.expanded {
    background-color: rgba(255, 255, 255, 0.08);
}

.event-time {
    font-weight: bold;
    color: #fff;
    display: flex;
    align-items: center;
}

.event-impact {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.event-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.event-title-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.event-title {
    font-weight: bold;
    color: #fff;
    flex: 1;
}

.event-country {
    font-size: 0.9rem;
    color: #ccc;
    white-space: nowrap;
}

.event-description {
    color: #ccc;
    line-height: 1.4;
    display: none;
}

.event-row.expanded .event-description {
    display: block;
}

.event-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #999;
}

.meta-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* Impact-specific styles */
.high-impact .event-title {
    color: #ff6b6b;
}

.medium-impact .event-title {
    color: #ffd93d;
}

.low-impact .event-title {
    color: #6bc4ff;
}

/* Responsive design */
@media (max-width: 768px) {
    .event-row {
        grid-template-columns: 70px 30px 1fr;
        gap: 0.75rem;
        padding: 0.75rem;
    }
    
    .event-title-line {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}