/* ============================================================
   PATCH ACCESSIBILITÉ - DALTONISME
   Remplace toutes les teintes vertes (#64ffda, #00d2ff cyan-vert)
   par du bleu électrique (#38bdf8) lisible par tous.
   ============================================================ */

/* ---- REMPLACEMENT DES VARIABLES GLOBALES ---- */
:root {
    --omc-cyan:      #38bdf8;          /* Était #00d2ff (cyan-vert) → bleu électrique */
    --omc-cyan-dark: #0ea5e9;          /* Variante plus foncée pour les survols */
    --omc-cyan-glow: rgba(56, 189, 248, 0.4);
    --omc-cyan-soft: rgba(56, 189, 248, 0.1);
    --omc-cyan-border: rgba(56, 189, 248, 0.25);
}

/* ---- PORTAIL / INDEX ---- */
.portal-container h1 {
    color: #38bdf8 !important;
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.4) !important;
}

.portal-subtitle {
    color: #38bdf8 !important;
}

.portal-logo {
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.5)) !important;
}

.menu-card:hover:not(.locked) {
    border-color: #38bdf8 !important;
    box-shadow: 0 15px 30px rgba(56, 189, 248, 0.15) !important;
}

/* ---- LIENS RETOUR & NAVIGATION ---- */
.back-link,
.back-btn {
    color: #38bdf8 !important;
}

/* ---- BORDURES & CADRES ---- */
.sheet-container,
.popup-content {
    border-color: #38bdf8 !important;
}

/* ---- INPUTS FOCUS ---- */
input:focus,
textarea:focus,
select:focus {
    border-color: #38bdf8 !important;
    outline-color: #38bdf8 !important;
}

input:focus,
textarea:focus {
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.15) !important;
}

/* ---- AUTOCOMPLETE HOVER ---- */
.autocomplete-item:hover {
    background: #0284c7 !important; /* Bleu plus profond */
    color: white !important;
}

/* ---- CONSTAT - focus border ---- */
input:focus, textarea:focus {
    border-color: #38bdf8 !important;
}

/* ---- TOUTES LES OCCURRENCES HARD-CODÉES de #64ffda ---- */

/* Titres de sections cyan */
[style*="color: #64ffda"],
[style*="color:#64ffda"] {
    color: #38bdf8 !important;
}

/* Bordures cyan */
[style*="border-color: #64ffda"],
[style*="border-color:#64ffda"],
[style*="border: 4px solid #64ffda"],
[style*="border: 2px solid #64ffda"] {
    border-color: #38bdf8 !important;
}

/* Texte dans les h3/labels qui était cyan */
.mode-btn.active {
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
    background: rgba(56, 189, 248, 0.1) !important;
}

/* Boutons principaux (générer, copier, etc.) */
.btn-generate,
.btn-copy,
.btn-primary {
    background: #38bdf8 !important;
    color: #0a192f !important;
}

.btn-generate:hover,
.btn-copy:hover,
.btn-primary:hover {
    background: var(--omc-cyan-dark) !important;
}

/* ---- APTITUDE - cadre iframe ---- */
.sheet-container {
    border-color: #38bdf8 !important;
    box-shadow: 0 10px 40px rgba(56, 189, 248, 0.3) !important;
}

/* ---- DIAGNOSTICS & CALCULATRICE ---- */
.time-badge {
    background: rgba(56, 189, 248, 0.08) !important;
    border-color: rgba(56, 189, 248, 0.2) !important;
    color: #38bdf8 !important;
}

.check-yes {
    color: #38bdf8 !important;
}

.total-amount {
    color: #38bdf8 !important;
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.4) !important;
}

.total-band {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.1) !important;
}


.calc-card-header.soins {
    background: rgba(56, 189, 248, 0.07) !important;
    color: #38bdf8 !important;
    border-bottom-color: rgba(56, 189, 248, 0.2) !important;
}

.calc-item:has(input:checked) .item-price {
    color: #38bdf8 !important;
}

.summary-header {
    color: #38bdf8 !important;
}

.summary-tag b {
    color: #38bdf8 !important;
}

.summary-tag {
    background: rgba(56, 189, 248, 0.08) !important;
    border-color: rgba(56, 189, 248, 0.2) !important;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
    background: rgba(56, 189, 248, 0.05) !important;
}

.result-count b {
    color: #38bdf8 !important;
}

.search-input:focus {
    border-color: #38bdf8 !important;
}

mark {
    background: rgba(56, 189, 248, 0.2) !important;
    color: #38bdf8 !important;
}

.card-subtotal {
    color: #38bdf8 !important;
}