/* FL Simulator Styles */

/* Settings Grid */
.fl-settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

/* Summary Section */
.fl-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 25px;
    border-radius: 12px;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.fl-summary h3 {
    margin: 0 0 15px 0;
    color: white;
    font-size: 20px;
}

/* Stat Cards */
.fl-stat-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.fl-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.fl-stat-value {
    font-size: 36px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 8px;
}

.fl-stat-label {
    font-size: 14px;
    color: #7f8c8d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Timeline Visualization */
.fl-timeline {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.fl-timeline h3 {
    margin: 0 0 20px 0;
    color: #2c3e50;
}

.fl-timeline-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fl-timeline-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.fl-timeline-label {
    min-width: 100px;
    font-family: monospace;
    font-weight: bold;
    color: #2c3e50;
    font-size: 13px;
}

.fl-timeline-bar-container {
    flex: 1;
    height: 40px;
    background: #e0e0e0;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.fl-timeline-bar {
    position: absolute;
    top: 0;
    height: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.fl-timeline-bar:hover {
    opacity: 0.9;
    transform: scaleY(1.05);
}

.fl-timeline-bar-text {
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

/* Results Table Styling */
#fl-results-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

#fl-results-table td {
    padding: 12px 10px;
    vertical-align: middle;
}

/* Responsive Design */
@media (max-width: 768px) {
    .fl-settings-grid {
        grid-template-columns: 1fr;
    }
    
    .fl-timeline-label {
        min-width: 80px;
        font-size: 11px;
    }
    
    .fl-stat-value {
        font-size: 28px;
    }
    
    .fl-timeline-bar-text {
        font-size: 10px;
    }
}

/* Animation for results appearing */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#fl-results-section {
    animation: fadeInUp 0.5s ease-out;
}

/* Textarea styling */
#fl-farm-list-input {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.5;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    transition: border-color 0.3s;
}

#fl-farm-list-input:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Info boxes */
.fl-info-box {
    padding: 15px;
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    border-radius: 4px;
    margin: 15px 0;
}

.fl-info-box strong {
    color: #1565c0;
}

.fl-warning-box {
    padding: 15px;
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    border-radius: 4px;
    margin: 15px 0;
}

.fl-warning-box strong {
    color: #e65100;
}

