/**
 * Stock Earnings Calendar - Frontend Styles
 * Minimalistic Syron Theme Post Elastic Design
 */

/* Container */
.sec-earnings-container {
    width: 100%;
    margin: 0 auto;
}

.sec-earnings-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
}

/* Individual Earnings Item - Minimalistic Card */
.sec-earnings-item {
    position: relative;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.sec-earnings-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sec-earnings-inner {
    display: flex;
    gap: 16px;
    padding: 20px;
}

/* Date Badge (like Syron Post Elastic) */
.sec-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 60px;
    background: #70899930;
    border-radius: 6px;
    flex-shrink: 0;
}

.sec-date-badge .day {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
    color: #2d3748;
}

.sec-date-badge .month {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    color: #718096;
    margin-top: 2px;
}

/* Content Area */
.sec-earnings-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Tickers List - Vertical Stack */
.sec-tickers-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Individual Ticker Item */
.sec-ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    line-height: 1.4;
}

.ticker-symbol {
    font-weight: 600;
    color: #2d3748;
}

/* Icons - Small and Subtle */
.sec-icon {
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.sec-icon-sun {
    color: #f59e0b;
}

.sec-icon-moon {
    color: #6366f1;
}

.sec-ticker-item:hover .sec-icon {
    opacity: 1;
}

/* No Entries Message */
.sec-no-entries {
    text-align: center;
    padding: 40px 20px;
    color: #718096;
    font-size: 15px;
}

/* Dark Mode Support */
html[scheme="dark"] .sec-earnings-item {
    background: #1a202c;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

html[scheme="dark"] .sec-earnings-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

html[scheme="dark"] .sec-date-badge {
    background: #2d3748;
}

html[scheme="dark"] .sec-date-badge .day {
    color: #e2e8f0;
}

html[scheme="dark"] .sec-date-badge .month {
    color: #a0aec0;
}

html[scheme="dark"] .ticker-symbol {
    color: #e2e8f0;
}

html[scheme="dark"] .sec-no-entries {
    color: #a0aec0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sec-earnings-wrapper {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .sec-earnings-wrapper {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .sec-earnings-inner {
        padding: 16px;
        gap: 12px;
    }
    
    .sec-date-badge {
        min-width: 50px;
        height: 50px;
    }
    
    .sec-date-badge .day {
        font-size: 20px;
    }
    
    .sec-date-badge .month {
        font-size: 11px;
    }
    
    .ticker-symbol {
        font-size: 14px;
    }
    
    .sec-icon {
        width: 12px;
        height: 12px;
    }
}

