/* Yol haritası: ihalenin hazırlık adımları ve yapılması gerekenler (dll_Menu_YasGuruplari/Pages/GenelDurum).
   index.html (Windows) ve App.razor (Web) içinde _content/dll_iu/css/yol-haritasi.css olarak yüklenir.
   Renkler: tamam yeşil, eksik kırmızı, uyarı turuncu, bilgi gri. */



/* ---------------------------------------------------------------- Sıradaki iş */

.css-BK-yh-siradaki-is {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: .9rem 1.1rem;
    background: #fff;
    border: 1px solid #d3dbe4;
    border-left: 5px solid #8a94a3;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(20, 48, 90, .08);
}

    .css-BK-yh-siradaki-is > i {
        font-size: 26px;
    }

    .css-BK-yh-siradaki-is.css-BK-yh-eksik {
        border-left-color: #dc2626;
    }

        .css-BK-yh-siradaki-is.css-BK-yh-eksik > i {
            color: #dc2626;
        }

    .css-BK-yh-siradaki-is.css-BK-yh-uyari {
        border-left-color: #f59e0b;
    }

        .css-BK-yh-siradaki-is.css-BK-yh-uyari > i {
            color: #f59e0b;
        }

    .css-BK-yh-siradaki-is.css-BK-yh-tamam {
        border-left-color: #16a34a;
    }

        .css-BK-yh-siradaki-is.css-BK-yh-tamam > i {
            color: #16a34a;
        }


.css-BK-yh-siradaki-yazi {
    flex: 1;
    min-width: 0;
    font-size: 13.5px;
    color: #495057;
}


.css-BK-yh-siradaki-baslik {
    font-size: 16px;
    font-weight: 600;
    color: #14305a;
}


/* Yönlendirme düğmesi (sıradaki iş ve bulgularda) */
.css-BK-yh-git {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .9rem;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: #1f8a8a;
    border-radius: 5px;
    text-decoration: none;
    white-space: nowrap;
}

    .css-BK-yh-git:hover {
        color: #fff;
        background: #187070;
    }

    /* Bulgunun önemine göre: Hata kırmızı, Uyarı turuncu (işlem planındaki renkler) */
    .css-BK-yh-git.css-BK-yh-git-Hata {
        background: #dc2626;
    }

        .css-BK-yh-git.css-BK-yh-git-Hata:hover {
            background: #b91c1c;
        }

    .css-BK-yh-git.css-BK-yh-git-Uyarı {
        background: #f59e0b;
    }

        .css-BK-yh-git.css-BK-yh-git-Uyarı:hover {
            background: #d97706;
        }


/* ---------------------------------------------------------------- Adımlar */

.css-BK-yh-adimlar {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: .6rem;
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
}


@media (max-width: 1100px) {
    .css-BK-yh-adimlar {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}


@media (max-width: 640px) {
    .css-BK-yh-adimlar {
        grid-template-columns: 1fr;
    }
}


.css-BK-yh-adim {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    height: 100%;
    padding: .75rem .85rem;
    color: #212529;
    text-decoration: none;
    background: #fff;
    border: 1px solid #d3dbe4;
    border-top: 4px solid #8a94a3;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(20, 48, 90, .06);
    transition: box-shadow .15s, transform .15s;
}

    .css-BK-yh-adim:hover {
        color: #212529;
        box-shadow: 0 4px 12px rgba(20, 48, 90, .14);
        transform: translateY(-1px);
    }

    .css-BK-yh-adim.css-BK-yh-tamam {
        border-top-color: #16a34a;
    }

    .css-BK-yh-adim.css-BK-yh-uyari {
        border-top-color: #f59e0b;
    }

    .css-BK-yh-adim.css-BK-yh-eksik {
        border-top-color: #dc2626;
    }

    /* Sıradaki adım belirgin */
    .css-BK-yh-adim.css-BK-yh-adim-siradaki {
        box-shadow: 0 0 0 2px #14305a;
    }


/* Üst satır: solda büyük adım numarası, sağda adımın simgesi */
.css-BK-yh-adim-ust {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .css-BK-yh-adim-ust > i {
        font-size: 16px;
        color: #b8c0ca;
    }


.css-BK-yh-adim-no {
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    background: #8a94a3;
    border-radius: 50%;
}

.css-BK-yh-tamam .css-BK-yh-adim-no {
    background: #16a34a;
}

.css-BK-yh-uyari .css-BK-yh-adim-no {
    background: #f59e0b;
}

.css-BK-yh-eksik .css-BK-yh-adim-no {
    background: #dc2626;
}


.css-BK-yh-adim-ad {
    font-size: 15px;
    font-weight: 600;
    color: #14305a;
}


.css-BK-yh-adim-ozet {
    flex: 1;
    font-size: 12px;
    color: #6c757d;
}


.css-BK-yh-adim-durum {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.css-BK-yh-tamam .css-BK-yh-adim-durum {
    color: #16a34a;
}

.css-BK-yh-uyari .css-BK-yh-adim-durum {
    color: #b45309;
}

.css-BK-yh-eksik .css-BK-yh-adim-durum {
    color: #dc2626;
}


/* ---------------------------------------------------------------- Yapılması gerekenler */

.css-BK-yh-bulgular-baslik {
    margin-bottom: .6rem;
    font-size: 16px;
    font-weight: 600;
    color: #14305a;
}


.css-BK-yh-bulgu {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    margin-bottom: .6rem;
    padding: .8rem 1rem;
    background: #fff;
    border: 1px solid #d3dbe4;
    border-left: 4px solid #8a94a3;
    border-radius: 8px;
}

    .css-BK-yh-bulgu > i {
        margin-top: .1rem;
        font-size: 18px;
    }

    .css-BK-yh-bulgu .css-BK-yh-git {
        align-self: center;
    }


.css-BK-yh-bulgu-Hata {
    border-left-color: #dc2626;
}

    .css-BK-yh-bulgu-Hata > i {
        color: #dc2626;
    }


.css-BK-yh-bulgu-Uyarı {
    border-left-color: #f59e0b;
}

    .css-BK-yh-bulgu-Uyarı > i {
        color: #f59e0b;
    }


.css-BK-yh-bulgu-Bilgi > i {
    color: #8a94a3;
}


.css-BK-yh-bulgu-icerik {
    flex: 1;
    min-width: 0;
}


.css-BK-yh-bulgu-baslik {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
}


.css-BK-yh-bulgu-adim {
    margin-right: .4rem;
    padding: 1px 7px;
    font-size: 11px;
    font-weight: 600;
    color: #14305a;
    background: #e8eef7;
    border-radius: 9px;
}


.css-BK-yh-bulgu-aciklama {
    margin-top: .2rem;
    font-size: 12.5px;
    color: #495057;
}


.css-BK-yh-ornekler {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    margin-top: .5rem;
}

    .css-BK-yh-ornekler > span {
        padding: 1px 8px;
        font-size: 11.5px;
        color: #495057;
        background: #f1f4f8;
        border-radius: 10px;
    }

    .css-BK-yh-ornekler > .css-BK-yh-ornek-fazla {
        color: #8a94a3;
        background: none;
    }


@media print {
    .css-BK-yh-git {
        display: none;
    }

    .css-BK-yh-adim,
    .css-BK-yh-bulgu,
    .css-BK-yh-siradaki-is {
        box-shadow: none;
        break-inside: avoid;
    }
}
