/* /Layout/MainLayout.razor.rz.scp.css */
/* Ana Sayfa Düzeni */
.page[b-9dhyodw5m6] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-9dhyodw5m6] {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Sidebar: Sabit ve Akışkan Yapı */
.sidebar[b-9dhyodw5m6] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
    width: 250px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1050;
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

    /* Menü Elemanlarının Görünmesini Sağlayan Ayar */
    .sidebar[b-9dhyodw5m6]  .nav-scrollable {
        flex: 1;
        overflow-y: auto;
    }

    /* Menü Kapalı/Açık Durumları */
    .sidebar:not(.show)[b-9dhyodw5m6] {
        transform: translateX(-250px);
    }

    .sidebar.show[b-9dhyodw5m6] {
        transform: translateX(0);
    }

/* Üst Bar */
.top-row[b-9dhyodw5m6] {
    background-color: #ffffff;
    border-bottom: 1px solid #d6d5d5;
    height: 3.5rem;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

@media (min-width: 641px) {
    .sidebar.show + main[b-9dhyodw5m6] {
        margin-left: 250px;
        width: calc(100% - 250px);
    }

    .sidebar:not(.show) + main[b-9dhyodw5m6] {
        margin-left: 0;
        width: 100%;
    }
}

/* Versiyon Barı: En alta ve en üste çakılı */
.version-bar[b-9dhyodw5m6] {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 999999 !important; /* Maksimum öncelik */
}

/* MASAÜSTÜNDE İŞARETLEDİĞİN HATA BANDINI KESİN GİZLEME */
body #blazor-error-ui[b-9dhyodw5m6] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    top: -9999px !important;
}

/* --- MOBİL TABLO VE İÇERİK DÜZENLEMESİ --- */
article.content[b-9dhyodw5m6] {
    padding-bottom: 100px !important;
}

/* Tabloyu mobilde ekrana yayma */
.table-responsive[b-9dhyodw5m6] {
    margin-bottom: 20px;
    border-radius: 10px;
}

@media (max-width: 640px) {
    /* Mobilde tabloların daha geniş görünmesi için */
    .container[b-9dhyodw5m6], .container-fluid[b-9dhyodw5m6] {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    /* Mobilde butondaki yazıyı gizle, sadece ikonu göster */
    .btn-mobile-icon-only[b-9dhyodw5m6] {
        padding: 0.5rem;
    }

    .btn-icon-mobile span[b-9dhyodw5m6] {
        display: none !important;
    }

    /* Mobilde tablo yazılarını küçült */
    table[b-9dhyodw5m6] {
        font-size: 0.75rem !important;
    }
}

/* Menü Butonu Stili */
.navbar-toggler-custom[b-9dhyodw5m6] {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #2c3e50;
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* MEVCUT YAPIYA SADIK KALINAN ANA STİLLER */
.navbar-toggler[b-y8s72q5vqx] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

    .navbar-toggler:checked[b-y8s72q5vqx] {
        background-color: rgba(255, 255, 255, 0.5);
    }

.top-row[b-y8s72q5vqx] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-y8s72q5vqx] {
    font-size: 1.1rem;
}

.bi[b-y8s72q5vqx] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    vertical-align: middle;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* YENİ EKLENEN KULLANICI BİLGİ KUTUSU (VAROLAN RENK PALETİYLE UYUMLU) */
.user-info-box[b-y8s72q5vqx] {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 5px;
}

.nav-item[b-y8s72q5vqx] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-y8s72q5vqx] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-y8s72q5vqx] {
        padding-bottom: 1rem;
    }

    .nav-item[b-y8s72q5vqx]  .nav-link {
        color: #d7d7d7;
        display: flex;
        align-items: center;
        line-height: 3rem;
        height: 3rem;
        border-radius: 4px;
        transition: all 0.2s ease;
    }

    .nav-item[b-y8s72q5vqx]  i {
        font-size: 1.4rem;
        margin-right: 10px;
        width: 25px;
        text-align: center;
    }

    .nav-item[b-y8s72q5vqx]  .nav-link.active {
        background-color: rgba(255,255,255,0.37);
        color: white;
        font-weight: bold;
    }

    .nav-item[b-y8s72q5vqx]  .nav-link:hover {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }

/* --- DEĞİŞİKLİK YAPILAN BÖLÜM BAŞLANGICI --- */
/* NOT: Orijinal kodda yer alan ".nav-scrollable { display: none; }" kuralı silindi.
   Nedeni: Projeniz menü açılışını MainLayout.razor içerisindeki C# kodlarıyla kontrol ediyor. 
   Display none kuralı kaldırıldığı için artık MainLayout menüyü açtığında içerik gizlenmeyecektir.
*/
.nav-scrollable[b-y8s72q5vqx] {
    display: block;
}
/* --- DEĞİŞİKLİK YAPILAN BÖLÜM BİTİŞİ --- */

.navbar-toggler:checked ~ .nav-scrollable[b-y8s72q5vqx] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-y8s72q5vqx] {
        display: none;
    }

    .nav-scrollable[b-y8s72q5vqx] {
        display: block;
    }

    .nav-item[b-y8s72q5vqx]  .nav-link {
        padding-left: 0.5rem;
    }
}

/* MOBİL İÇİN ÖZEL DOKUNUŞLAR */
@media (max-width: 640.98px) {
    .nav-item[b-y8s72q5vqx]  .nav-link {
        padding-left: 1.5rem;
    }

    .user-info-box[b-y8s72q5vqx] {
        background-color: rgba(13, 110, 253, 0.1); /* Hafif mavi vurgu */
        border-left: 3px solid #0d6efd;
    }
}
/* /Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-3lm38seqnu],
.components-reconnect-repeated-attempt-visible[b-3lm38seqnu],
.components-reconnect-failed-visible[b-3lm38seqnu],
.components-pause-visible[b-3lm38seqnu],
.components-resume-failed-visible[b-3lm38seqnu],
.components-rejoining-animation[b-3lm38seqnu] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-3lm38seqnu],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-3lm38seqnu],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-3lm38seqnu],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-3lm38seqnu],
#components-reconnect-modal.components-reconnect-retrying[b-3lm38seqnu],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-3lm38seqnu],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-3lm38seqnu],
#components-reconnect-modal.components-reconnect-failed[b-3lm38seqnu],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-3lm38seqnu] {
    display: block;
}


#components-reconnect-modal[b-3lm38seqnu] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-3lm38seqnu 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-3lm38seqnu 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-3lm38seqnu 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-3lm38seqnu]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-3lm38seqnu 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-3lm38seqnu {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-3lm38seqnu {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-3lm38seqnu {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-3lm38seqnu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-3lm38seqnu] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-3lm38seqnu] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-3lm38seqnu] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-3lm38seqnu] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-3lm38seqnu] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-3lm38seqnu] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-3lm38seqnu 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-3lm38seqnu] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-3lm38seqnu {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Pages/Home.razor.rz.scp.css */
/* Home.razor.css */

/* --- Ana Sayfa ve Kapsayıcı Stilleri --- */
.main-wrapper[b-w4ts4e1fbu] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
    background-color: #f8f9fa;
    overflow-y: auto;
}

.auth-card[b-w4ts4e1fbu] {
    width: 100%;
    max-width: 420px;
    margin: auto;
    border-radius: 1.5rem !important;
}

.offcanvas-body[b-w4ts4e1fbu] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
}

.nav-link[b-w4ts4e1fbu], .btn-menu[b-w4ts4e1fbu] {
    padding: 12px 15px !important;
    font-size: 0.95rem;
}

/* --- QR Tarayıcı ve Log Kartları --- */
.scanner-container[b-w4ts4e1fbu] {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 1rem;
    overflow: hidden;
    margin-top: 15px;
}

#reader[b-w4ts4e1fbu] {
    width: 100%;
}

.logs-scroll-container[b-w4ts4e1fbu] {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
    scrollbar-width: thin;
}

.log-card[b-w4ts4e1fbu] {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* --- Esnek Buton Izgarası (Oppo A16 ve Mobil Uyumluluk) --- */
.button-grid[b-w4ts4e1fbu] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    justify-content: center;
    padding: 10px;
}

.action-card[b-w4ts4e1fbu] {
    flex: 1 1 calc(50% - 10px); /* Yan yana 2 buton sığdırır */
    min-width: 120px;
    max-width: 180px;
    aspect-ratio: 1 / 1; /* Kare buton yapısı */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 1.25rem;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 10px;
    text-decoration: none;
    transition: transform 0.1s;
}

    .action-card:active[b-w4ts4e1fbu] {
        transform: scale(0.95);
    }

    .action-card i[b-w4ts4e1fbu] {
        font-size: 2rem;
        margin-bottom: 5px;
    }

    .action-card span[b-w4ts4e1fbu] {
        font-size: 0.8rem;
        font-weight: 600;
        line-height: 1.1;
        text-align: center;
    }

/* --- Mobil Cihazlar İçin Ekstra Duyarlılık --- */
@media (max-width: 380px) {
    .action-card[b-w4ts4e1fbu] {
        min-width: 100px;
        padding: 5px;
    }

        .action-card i[b-w4ts4e1fbu] {
            font-size: 1.6rem;
        }

        .action-card span[b-w4ts4e1fbu] {
            font-size: 0.7rem;
        }

    .button-grid[b-w4ts4e1fbu] {
        gap: 8px;
    }
}
