﻿/* ============================================================
   fixes.css  (LIGHT theme folder)  —  Kendo UI 2026.3.811
   ------------------------------------------------------------
   Audited against this folder's kendo bootstrap-3.css.
   Unlike the dark variant, NO selector here is dead — .k-header,
   .k-grouping-row, .k-hierarchy-cell, .k-grid-footer and
   .k-footer-template all still exist in 2026.

   The swatch in this folder is a genuine light theme
   (--kendo-color-app-surface at 100% lightness), so most of what
   follows is reinforcing defaults rather than fighting them.
   ============================================================ */


/* ------------------------------------------------------------
   1. THEME TOKENS  (optional starting point)
   ------------------------------------------------------------
   Left commented out because the light swatch already produces
   these colours. Uncomment only if you need to shift the palette;
   editing tokens beats adding more !important rules.
   ------------------------------------------------------------ */
/*
:root {
    --kendo-color-app-surface: #ffffff;
    --kendo-color-surface: #f7f7f7;
    --kendo-color-surface-alt: #ffffff;
}
*/


/* ------------------------------------------------------------
   2. GRID
   ------------------------------------------------------------ */

/* Border reset carried over from the module.
   Collapsed four overlapping border declarations
   (border:none ×3 + border:0 + border-top-width:0) into one —
   they all resolved to the same thing.

   Grid header text reaches .k-column-title by inheritance:
   .k-link is `color: inherit` in 2026, so setting colour on
   .k-grid-header is still enough. */
.k-header,
.k-grid-header,
.k-grid .k-grouping-row td,
.k-grid .k-hierarchy-cell,
.k-grid .k-grid-footer td,
.k-footer-template td,
.table {
    color: black;
    border: none !important;
    border-collapse: collapse !important;
    background-image: none !important;
    border-spacing: 1px !important;
}

/* Grid cells inside dialogs fall back to the window surface.
   `tbody td` still matches — the 2026 rendering adds .k-table-tbody
   and .k-table-td but keeps the real elements underneath. */
.k-window .k-grid tbody td {
    background-color: initial !important;
}


/* ------------------------------------------------------------
   3. APP-SPECIFIC  (no Kendo classes involved)
   ------------------------------------------------------------ */

.panel-info > .panel-heading {
    color: #333333 !important;
}

.btn-info {
    background-color: #e9e9e9 !important;
    border-color: #c5c5c5;
    color: #2e2e2e !important;
}

a.btn-info {
    color: #2e2e2e !important;
}

.bgYellow {
    background-color: Yellow;
}

.bgOrange {
    background-color: orange;
}

.assignedPilot {
    color: #e9e9e9 !important;
}

/* Specificity (0,1,1) via :where(): still overrides Kendo 2026 ".k-grid a { color: inherit }"
   (same specificity, loaded earlier), while module rules loaded later such as
   ".regularColorRow a { color: initial }" (Bpa_Scheduled_Jobs) win again. */
:where(.k-grid) a:not(.k-button) {
    color: #337ab7;
    text-decoration: none;
}

    /* hover/focus colour also at (0,1,1), so module link colours keep winning */
    :where(.k-grid) a:where(:not(.k-button)):hover,
    :where(.k-grid) a:where(:not(.k-button)):focus {
        color: #23527c;
    }

    /* underline only: must beat Kendo ".k-grid a:hover { text-decoration: none }" (0,2,1) */
    :where(.k-grid) a:not(.k-button):hover,
    :where(.k-grid) a:not(.k-button):focus {
        text-decoration: underline;
    }
