@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
 body[dir="rtl"] {
        text-align: right;
 }
a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


    /*input item style here*/
input[type="text"],
input[type="email"],
input[type="number"],
input[type="select"]    {
    width: 100%;
    padding: 5px;
    margin-bottom: 3px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
    /*end input item style here*/

.table {
    width: 100%; /* Ensure the table takes full width */
    border-collapse: collapse; /* Remove gaps between cells */
    /*border-style: solid;*/
    /*border-width: 3px;
    border-color: red;*/
}

    .table th,
    .table td {
        padding: 5px; /* Add some padding for better spacing */
        text-align: left; /* Align text to the left */
        white-space: nowrap; /* Prevent text from wrapping */
        overflow: hidden; /* Hide overflow */
        text-overflow: ellipsis; /* Add ellipsis for overflowed text */
        border: 1px solid #2c3555;
    }

    .table th {
        background-color: #2c3555; /* #aec4b3;  Optional: Add background color for headers */
        font-weight: bold; /* Make header text bold */
        min-width: 50px; /* Set a minimum width for headers */
        max-width: none; /* Remove maximum width constraint */
        color: #fff;
    }

    .table td {
        min-width: 50px; /* Set a minimum width for cells */
        max-width: none; /* Remove maximum width constraint */
    }

.pagination-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}
.code {
    background-color: black;
    border: 1px solid azure;
}
    .code:hover {
        background-color: azure;
        border: 1px solid black;
    }
.modal-content {
    /*background-color: lightblue;*/
    /*padding: 20px;*/
    background-color: #f9f9f9;
    /*background-color: silver;*/
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.pagination {
    display: flex;
    align-items: center;
}

    .pagination button {
        border: none;
        background-color: #2c3555;
        color: white;
        /*padding: 10px 15px;*/
        padding: 5px;
        margin-left: 1px;
        margin-right: 1px;
        cursor: pointer;
        border-radius: 5px;
        font-size:14px;
        transition: background-color 0.3s;
    }

        .pagination button:hover:not(:disabled) {
            background-color: #0056b3;
        }

        .pagination button:disabled {
            background-color: #ccc;
            cursor: not-allowed;
        }

        .pagination button.active {
            background-color: #0056b3;
            font-weight: bold;
        }


fieldset {
    border: 1px solid #ccc;
    padding: 5px;
    margin: 5px 0;
    background-color:azure;
}

legend {
    font-weight: bold;
    padding: 0 10px;
    width:fit-content;
}

/* spinner.css */
.spinner {
    position: fixed;
    width: 100px;
    height: 100px;
    left: 50%;
    top: 50%;
    margin: -50px 0 0 -50px;
    z-index: 9999;
}

.double-bounce1, .double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #007bff; /* Change color as needed */
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    animation: bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
    animation-delay: -1.0s;
}

@keyframes bounce {
    0%, 100% {
        transform: scale(0.0);
    }

    50% {
        transform: scale(1.0);
    }
}

/* Side menu styling */
.side-menu {
    width: 250px;
    background-color: #333;
    color: white;
    padding: 10px;
}

.menu-item {
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
}

    .menu-item:hover {
        background-color: #444;
    }
.menu-item-link {
    cursor: pointer;
    font-weight: bold;
}

.submenu {
    padding-left: 1px;
    /*margin-top: 5px;*/
    display: flex;
    flex-direction: column;
    padding-left:8px;
}

.submenu-item {
    color: white;
    text-decoration: none;
    padding-left: 5px 0;
}

    .submenu-item:hover {
        text-decoration: underline;
    }
.small-box-custom {
    padding:5px;
}
.bg-blue {
    background-color: #00c6ff !important;
}
.bg-lightblue {
    background-color: lightblue !important;
}
.bg-lightcoral {
    background-color: lightcoral !important;
}
.bg-greenyellow {
    background-color: greenyellow !important;
}
.small-box-footer {
    display: block; /* Make the link a block element */
    text-align: center; /* Center the text inside the link */
    padding: 3px 0; /* Add some padding */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    color: white; /* Text color */
    text-decoration: none; /* Remove underline */
    width: 100%; /* Full width */
    position: relative; /* Position context for the pseudo-element */
}

    .small-box-footer:hover {
        background-color: rgba(0, 0, 0, 0.2); /* Darker background on hover */
    }

   /*here copy css code from main layout css command past cite here*/
/*.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row ::deep a, .top-row .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth) {
        display: none;
    }

    .top-row.auth {
        justify-content: space-between;
    }

    .top-row a, .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}*/

   /* end here copy css code from main layout css command past cite here*/



   /*here code css for dashboard statistics data*/

.statistics-counters-wrapper {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    gap: 12px;
    border-radius: 4px;
}

.statistics-counters-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: var(--bs-symbol-label-color);
    background-color: var(--bs-symbol-label-bg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    border-radius: .75rem;
}

.static-counter-title {
    font-size: 20px;
    font-weight: 700;
    color: #212839;
    line-height: 40px;
}

.static-counter-num {
    font-size: 16px;
}

.statistics-counters-icon .symbol-bg-info i {
    color: #fff;
    font-size: 24px;
}

.statistics-bg-1 {
    background: #ddfafd;
    border: 1px solid #58d0da;
}

.statistics-bg-2 {
    /*background: #daf0ff; */
    border: 1px solid #89bbe3;
    background: #e4f4ff;
}

.statistics-bg-3 {
    background: #f1e9ff;
    border: 1px solid #9575ce;
}

.statistics-icon-bg-1 {
    background: #7239EA;
}

.statistics-card-wrapper {
    border: solid 1px #acd0ec;
    padding: 10px 20px 15px;
    background: #fff;
    min-height: 477px;
}

.statistics-card-grid-wrapper {
    display: grid;
    grid-auto-rows: 1fr;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.statistics-card-row {
    margin-bottom: 0px;
}

.statistics-card-heading h4 {
    font-size: 21px;
    font-weight: 700;
    /*text-transform: uppercase; */
}

.statistics-card-row:last-child {
    margin-bottom: 5px;
}

.Statics-tabs {
    padding-left: 0px;
}

    .Statics-tabs li {
        position: relative;
        z-index: 1;
        display: block;
        margin: 0;
        text-align: center;
        -webkit-flex: 1;
        -moz-flex: 1;
        -ms-flex: 1;
        flex: 0;
        color:azure;
        cursor:pointer;
        /*top: 2px;*/
        list-style: none;
        /*padding: 2px 0px;*/
    }
   

        .Statics-tabs li a {
            position: relative;
            display: block;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            /*padding: 10px 45px 12px 16px;*/
            color: #ffffff;
            -webkit-transition: color 0.2s;
            transition: color 0.2s;
            float: left;
            /*line-height: 0px; */
            text-decoration: none;
            width: auto;
            font-weight: 500;
            font-size: 15px;
            font-family: "Open Sans", sans-serif;
        }

        .Statics-tabs li.active a::after {
            background: #fff;
            box-shadow: none;
            border-radius: 4px;
        }
        .Statics-tabs li.active a:hover {
            background: #fff;
            box-shadow: none;
            border-radius: 4px;
            color:black;
        }

        .Statics-tabs li a::after {
            position: absolute;
            top: 0px;
            right: -8px;
            bottom: -2px;
            left: 0px;
            z-index: -1;
            outline: 0;
            border-radius: 10px 10px 0 0;
            background: #212739;
            box-shadow: inset 0 -3px 3px rgba(0, 0, 0, 0.05);
            content: '';
            -webkit-transform: perspective(5px) rotateX(0.93deg) translateZ(-1px);
            transform: perspective(5px) rotateX(0.93deg) translateZ(-1px);
            -webkit-transform-origin: 0 0;
            transform-origin: 0 0;
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
            background: #2c3555;
        }

.Statics-tabs {
    display: flex;
    float: left;
    margin: 0 auto;
    padding: 0;
    max-width: 100%;
    list-style: none;
    justify-content: center;
    flex-flow: row wrap;
}

    .Statics-tabs li.active a {
        color: #000;
    }

.Statics-tabs {
    list-style: none;
    padding: 0;
    display: flex;
}

    /*.Statics-tabs li {
        margin-right: 20px;
        color: #fff;
    }*/

    .Statics-tabs a {
        text-decoration: none;
        padding: 10px 15px;
        color: #007bff; /* Bootstrap primary color */
    }

    .Statics-tabs li.active a {
        font-weight: bold;
        color: #0056b3; /* Darker shade for the active tab */
        border-bottom: 2px solid #0056b3; /* Optional underline for active tab */
    }
.tab-page {
    /*background-color: #A6F1E0;*/
    color: inherit;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /*padding: 10px 45px 12px 16px;*/
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
    float: left;
    /*line-height: 0px; */
    text-decoration: none;
    width: auto;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
}
.tab-page a:hover {
    color: inherit;
}
.nav-link a.active {
    background-color: #A6F1E0;
}
@media(max-width: 1400px) {
    .static-counter-title {
        font-size: 26px !important;
        line-height: normal !important;
    }

    .static-counter-num {
        font-size: 14px !important;
    }
}
   /*end  code css for dashboard statistics data*/


   /*Here copy code css fom NavNenu.razor.css for nav menu */
/*.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand {
    font-size: 1.1rem;
}

.oi {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type {
        padding-top: 1rem;
    }

    .nav-item:last-of-type {
        padding-bottom: 1rem;
    }

    .nav-item ::deep a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

        .nav-item ::deep a.active {
            background-color: rgba(255,255,255,0.25);
            color: white;
        }

        .nav-item ::deep a:hover {
            background-color: rgba(255,255,255,0.1);
            color: white;
        }

@media (min-width: 641px) {
    .navbar-toggler {
        display: none;
    }

    .collapse {*/
        /* Never collapse the sidebar for wide screens */
        /*display: block;
    }
}*/

   /*end code css fom NavNenu.razor.css for nav menu */


   /*this style from chat-gpt for use it in changepassword page and profile view page*/
/* Profile and Change Password Styles */
.profile-container {
    max-width: 600px;
    margin: auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

edit-form h3 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.profile-info {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
}

    .profile-info p {
        margin: 5px 0;
    }

.edit-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

    .edit-form label {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
    }

    .edit-form input[type="password"],
    .edit-form input[type="text"],
    .edit-form input[type="email"] {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    .edit-form button {
        background-color: #007bff;
        color: white;
        padding: 10px 15px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

        .edit-form button:hover {
            background-color: #0056b3;
        }

.validation-message {
    color: red;
    font-size: 0.9em;
    margin-top: -10px;
    margin-bottom: 10px;
}
   /*end style from chat-gpt for use it in changepassword page and profile view page*/


   /*here is css code for switch button*/
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

    .switch input {
        opacity: 0; /* Hide the checkbox */
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: .4s;
        border-radius: 50%;
    }

input:checked + .slider {
    background-color: #2196F3; /* Color when toggled on */
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    transform: translateX(26px);
}
   /*end is css code for switch button*/
   /*css code for card*/
.card-header {
     padding: 0; 
     margin-bottom: 0; 
    background-color: rgba(0, 0, 0, .03);
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}
   /*end css code for card*/
/*css code for header*/
.h1, h1 {
    font-size: 1.5rem;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1;
}
/*end css code for header*/
/*here css code for animitaion*/

.count-container {
    display: flex;
    justify-content: space-around;
    width: 80%;
    max-width: 800px;
}

.count-item {
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

    .count-item:hover {
        transform: translateY(-10px);
    }

.count-number {
    font-size: 2.5rem;
    font-weight: bold;
    /*color: #333;*/
    display: block;
    /*margin-bottom: 10px;*/
}

.count-label {
    font-size: 1.2rem;
    color: #777;
}
/*end css code for animitaion*/