/* assets/css/tabs/grow-manager.css */

/* --- DÜNGE-SCHEMA TABELLE --- */
.schedule-table tbody tr:hover {
    background-color: #f9fdfa;
}

/* Für das Balkendiagramm der Analyse */
.val-text {
    min-width: 45px;
    text-align: right;
}

/* --- MOBILE OPTIMIERUNG (TABELLE & ANALYSE) --- */
@media (max-width: 900px) {
    /* Zwingt die Tabelle und den Wrapper, die Breite des Handys anzunehmen */
    .schedule-table {
        min-width: 100% !important; 
    }
    
    .schedule-table, .schedule-table tbody, .schedule-table tr, .schedule-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    
    .schedule-table thead {
        display: none; /* Versteckt den Tabellenkopf */
    }
    
    .schedule-table tr {
        border-bottom: 4px solid var(--border-color) !important;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    
    .schedule-table tr:last-child {
        border-bottom: none !important;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .schedule-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px !important;
        border: none !important;
    }

    /* Das erste Element (Produktname) zentriert als Header */
    .schedule-table td:nth-child(1) {
        background: #f1f8e9;
        border-radius: 6px 6px 0 0;
        margin-bottom: 5px;
        justify-content: center;
    }
    
    /* Mobile Pseudo-Labels für die Spalten */
    .schedule-table td:nth-child(2)::before { content: "Typ:"; font-weight: bold; color: #888; font-size: 0.85rem; }
    .schedule-table td:nth-child(3)::before { content: "Nährstoffe:"; font-weight: bold; color: #888; font-size: 0.85rem; }
    .schedule-table td:nth-child(4)::before { content: "Start:"; font-weight: bold; color: #888; font-size: 0.85rem; }
    .schedule-table td:nth-child(5)::before { content: "Basis (1L):"; font-weight: bold; color: #888; font-size: 0.85rem; }
    .schedule-table td:nth-child(6)::before { content: "Berechnet:"; font-weight: bold; color: var(--primary-dark); font-size: 0.9rem; }

    /* Analyse-Grid auf Einspaltig erzwingen */
    .analysis-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
}

.guide-card-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}