/**
 * FazaRadar - Gantt Table Styles
 * 
 * @package FazaRadar
 * @since 2.9.05
 * 
 * Extracted from class-itwp-frontend.php get_inline_styles()
 * for better maintainability and caching.
 */

/* ==========================================================================
   Base Table Styles
   ========================================================================== */

.itwp-gantt-table th {
    font-size: 18px;
    background: #4e4a4aff;
    color: #FFFFFF !important;
    text-align: center;
    padding: 5px 5px !important;
    border: 2px solid #fff !important;
}

.itwp-gantt-table td {
    text-align: center;
    padding: 5px 5px !important;
    border: 2px solid #fff !important;
}

/* ==========================================================================
   Row Type Styles
   ========================================================================== */

/* Stavka (Item) Row - Dark Blue */
.itwp-gantt-table .itwp-stavka-td {
    background: #243C7B !important;
    color: #FFFFFF !important;
}

/* Zadatak (Task) Row - Gray */
.itwp-gantt-table .itwp-zadatak-td {
    background: #cccccc !important;
    color: #000000 !important;
}

/* Korak (Step) Row - Light Gray */
.itwp-gantt-table .itwp-korak-td {
    background: #d9d9d9 !important;
    color: #000000 !important;
}

/* ==========================================================================
   Status Styles
   ========================================================================== */

/* Preostalo (Remaining) - Bright Green */
.itwp-gantt-table .itwp-status-preostalo {
    background: #00ff80 !important;
    color: #000000 !important;
}

/* Završeno (Completed) - Dark Green */
.itwp-gantt-table .itwp-status-zavrseno {
    background: #008542ff !important;
    color: #FFFFFF !important;
}

/* Kašnjenje (Delay) - Red */
.itwp-gantt-table .itwp-status-kasnjenje {
    background: #c50000ff !important;
    color: #FFFFFF !important;
}

/* Neutral - Orange */
.itwp-gantt-table .itwp-status-neutral {
    background: #FFA500 !important;
    color: #000000 !important;
}

/* Nije započet (Not Started) - Orange */
.itwp-gantt-table .itwp-status-nije-zapocet {
    background: #FFA500 !important;
    color: #000000 !important;
}

/* U toku (In Progress) - Yellow */
.itwp-gantt-table .itwp-status-u-toku {
    background: #FFFF00 !important;
    color: #000000 !important;
}

/* ==========================================================================
   Dana (Days) Column Styles
   ========================================================================== */

.itwp-gantt-table .itwp-dana-preostalo {
    background: #00ff80 !important;
    color: #000000 !important;
}

.itwp-gantt-table .itwp-dana-zavrseno {
    background: #008542ff !important;
    color: #FFFFFF !important;
}

.itwp-gantt-table .itwp-dana-kasnjenje {
    background: #c50000ff !important;
    color: #FFFFFF !important;
}

.itwp-gantt-table .itwp-dana-neutral {
    background: #FFFFFF !important;
    color: #000000 !important;
}

.itwp-gantt-table .itwp-dana-nije-zapocet {
    background: #FFA500 !important;
    color: #000000 !important;
}

.itwp-gantt-table .itwp-dana-u-toku {
    background: #FFFF00 !important;
    color: #000000 !important;
}

/* ==========================================================================
   FAZA 5: Deviation and Accumulated Column Styles
   ========================================================================== */

/* Odstupanje Pozitivno (Ahead of schedule) - Dark Green */
.itwp-gantt-table .itwp-odstupanje-pozitivno {
    background: #008542ff !important;
    color: #FFFFFF !important;
}

/* Odstupanje Negativno (Behind schedule) - Red */
.itwp-gantt-table .itwp-odstupanje-negativno {
    background: #c50000ff !important;
    color: #FFFFFF !important;
}

/* Odstupanje Nula (On time) - Light Green */
.itwp-gantt-table .itwp-odstupanje-nula {
    background: #90EE90 !important;
    color: #000000 !important;
}

/* Akumulirano Pozitivno (Cumulative ahead) - Dark Green */
.itwp-gantt-table .itwp-akumulirano-pozitivno {
    background: #008542ff !important;
    color: #FFFFFF !important;
}

/* Akumulirano Negativno (Cumulative behind) - Red */
.itwp-gantt-table .itwp-akumulirano-negativno {
    background: #c50000ff !important;
    color: #FFFFFF !important;
}

/* Akumulirano Nula (Cumulative on time) - Light Green */
.itwp-gantt-table .itwp-akumulirano-nula {
    background: #90EE90 !important;
    color: #000000 !important;
}

/* ==========================================================================
   Hidden Status Column (v2.9.00)
   Kept in code for future use
   ========================================================================== */

.itwp-status-column {
    display: none !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    visibility: hidden !important;
}
