/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-pn0b8vcxxl] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-pn0b8vcxxl] {
    flex: 1;
   
    
}

.sidebar[b-pn0b8vcxxl] {
    background-color: white; /* خلفية بيضاء للقائمة الجانبية */
    color: #333; /* لون الخط داخل القائمة */
}

.top-row[b-pn0b8vcxxl] {
    background-color: #A16512; /* خلفية العنوان */
    height: 3.5rem;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    color: white;
    justify-content: flex-start; /* اجعل المحتوى يبدأ من اليمين */
    position: sticky;
    top: 0;
    z-index: 1;
}


    .top-row[b-pn0b8vcxxl]  a, .top-row[b-pn0b8vcxxl]  .btn-link {
        white-space: nowrap;
        margin-left: 3.5rem;
        text-decoration: none;
        color: brown; /* لون روابط العنوان */
    }

        .top-row[b-pn0b8vcxxl]  a:hover, .top-row[b-pn0b8vcxxl]  .btn-link:hover {
            text-decoration: underline;
        }

        .top-row[b-pn0b8vcxxl]  a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

@media (max-width: 640.98px) {
    .top-row[b-pn0b8vcxxl] {
        justify-content: space-between;
    }

        .top-row[b-pn0b8vcxxl]  a, .top-row[b-pn0b8vcxxl]  .btn-link {
            margin-left: 0;
        }
}

@media (min-width: 641px) {
    .page[b-pn0b8vcxxl] {
        flex-direction: row;
    }

    .sidebar[b-pn0b8vcxxl] {
        width: 190px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-pn0b8vcxxl] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

        .top-row.auth[b-pn0b8vcxxl]  a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }

    .top-row[b-pn0b8vcxxl], article[b-pn0b8vcxxl] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-3f3j9eiu0d] {
    background-color: rgba(255, 255, 255, 0.1);
}
.navbar-toggler-icon[b-3f3j9eiu0d] {
    filter: brightness(0) saturate(100%) invert(0); /* ← أسود */
}

.top-row[b-3f3j9eiu0d] {
    height: 3.5rem;
    background-color: white; /* ← خلفية بيضاء بالكامل */
    color: black; /* ← اجعل الخط واضحاً على الأبيض */
    
}


.navbar-brand[b-3f3j9eiu0d] {
    display: block;
    width: 200px; /* عدل الحجم حسب الحاجة */
    height: 80px;
    background-image: url('/images/logo.png'); /* غيّر هذا المسار حسب مكان شعارك */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: white; /* خلفية بيضاء للشعار */
    border-radius: 4px; /* اختياري: زوايا ناعمة */
    text-indent: -9999px; /* إخفاء النص */
    overflow: hidden;
}




.bi[b-3f3j9eiu0d] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: .75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-3f3j9eiu0d] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-3f3j9eiu0d] {
    background-image: url("data:image/svg+xml,...fill='black'...");
}

.bi-list-nested-nav-menu[b-3f3j9eiu0d] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}
.nav-item[b-3f3j9eiu0d] {
    font-size: 0.9rem;
    padding-bottom: 0rem;
}

    .nav-item:first-of-type[b-3f3j9eiu0d] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-3f3j9eiu0d] {
        padding-bottom: 1rem;
    }

    .nav-item[b-3f3j9eiu0d]  a {
        color: midnightblue !important; /* اللون الذي اخترته */
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }


        .nav-item[b-3f3j9eiu0d]  a:hover {
            background-color: rgba(255,255,255,0.1);
            color: #FF9A7A !important;
        }

        .nav-item[b-3f3j9eiu0d]  a.active {
            background-color: rgba(255,255,255,0.37);
            color: #FF9A7A !important;
        }


@media (min-width: 641px) {
    .navbar-toggler[b-3f3j9eiu0d] {
        display: none;
    }

    .collapse[b-3f3j9eiu0d] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-3f3j9eiu0d] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }

}
/* /Pages/ImportForm.razor.rz.scp.css */
/*.form-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 16px;
    background-color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: #333;
        font-size: 1rem;
    }

.form-control {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

    .form-control:focus {
        border-color: #4CAF50;
        box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
        outline: none;
    }

.voice-button {
    background-color: #e0e0e0;
    border: none;
    color: #333;
    padding: 0.4rem 0.8rem;
    margin-top: 0.5rem;
    margin-right: 0.5rem;
    font-size: 1.1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .voice-button:hover {
        background-color: #ccc;
    }

.save-button {
    background-color: #4CAF50;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .save-button:hover {
        background-color: #45a049;
        transform: translateY(-2px);
    }

.success-message {
    color: #2e7d32;
    margin-top: 1rem;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
}
*/
