﻿body {
    font-family: sans-serif !important;
}
table,th,td{
    border:0;
}
table tr:nth-child(even) {
    background-color: #f3faff;
}

table tr:nth-child(odd) {
    background-color: white;
}

thead th {
    position: sticky;
    top: 0;
    background-color: #77a3cb;
    color: white;
}


button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
    appearance: none;
}

.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: 0.5;
}

.modal-content {
    padding: 15px;
}
.modal-header {
    padding: 5px !important;
}

.modal-body {
    border: 1px solid black;
    border-radius: 10px;
}

.mask {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.5); /* semi-transparent gray */
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-container {
    background: transparent;
    padding: 20px;
    border-radius: 10px;
    /* box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px;*/
    display: flex;
    align-items: center;
    color: black;
}

/* Animation for spinning loader */
@@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

th, td {
    padding: 10px 10px;
}

.foc {
    padding: 5px 8px;
    width: 80px;
}

td i:hover {
    color: #145DA0;
}







.sidebar {
    transition: width 0.3s;
    overflow: hidden;
    background: linear-gradient(0deg, #87c5f9, #145DA0);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    color: white;
    z-index: 999;
}

.sidebar-header {
    padding: 10px;
    align-items: center;
}

.sidebar-logo {
    width: 40px;
    height: 40px;
}
.Collapse-sidebar-logo {
    width: 120px;
    height: 40px;
}
.menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .menu li {
        padding: 10px;
        display: flex;
        align-items: center;
        cursor: pointer;
        white-space: nowrap;
    }

.icon {
    width: 30px;
    text-align: center;
}

.label {
    margin-left: 8px;
}

.submenu {
    list-style: none;
    padding-left: 30px;
    margin: 0;
}

    .submenu li {
        padding: 5px;
    }
/*  .sidebar {
    border-radius:10px;
    background: linear-gradient(0deg, #87c5f9, #145DA0);
    color: white;
    transition: width 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    }

    .sidebar-header {
    padding: 10px 0;
    text-align: center;
    }

    .sidebar-logo {
    width: 40px;
    height: auto;
    margin-bottom: 10px;
    transition: width 0.3s;
    }
    */
.sidebar ul {
    list-style: none;
    padding: 0;
    width: 100%;
}

.sidebar li {
    padding: 15px;
    text-align: left;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: margin-left 0.3s;
}

    .sidebar li:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

.icon {
    margin-left: 10px;
    margin-right: 10px;
}

.label {
    display: inline;
}

.main-content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background: linear-gradient(0deg, #87c5f9, #145DA0);
    color: white;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    z-index: 999;
    transition: margin-left 0.3s;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: linear-gradient(1deg, #87c5f9, #145DA0);
    color: black;
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    min-width: 150px;
}

    .dropdown-menu li {
        padding: 10px;
        border-bottom: 1px solid #ccc;
    }

        .dropdown-menu li:last-child {
            border-bottom: none;
        }

    .dropdown-menu a {
        text-decoration: none;
        color: black;
        display: block;
    }


/*   .navbar {
    border-radius: 10px;
    background: linear-gradient(0deg, #87c5f9, #145DA0);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid #ccc;
    position: sticky;
    top: 0;
    z-index: 100;
    } */

.navbar-title {
    margin: 0;
}

.navbar-links a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
}

    .navbar-links a:hover {
        text-decoration: underline;
    }

.toggle-btn {
    background-color: transparent;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

.main-content {
    padding: 20px;
    flex: 1;
}


.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

    .menu > li {
        padding: 15px;
        cursor: pointer;
        display: flex;
        align-items: center;
        transition: background 0.3s;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

        .menu > li:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }

.submenu {
    list-style: none;
    padding-left: 30px;
    background-color: rgba(255, 255, 255, 0.05);

}

    .submenu li {
        padding: 10px;
    }

    .submenu a {
        color: white;
        text-decoration: none;
    }

        .submenu a:hover {
            text-decoration: underline;
        }

.submenu-arrow {
    margin-left: auto;
    padding-left: 10px;
}

/*  .sidebar:hover{
    width:200px;
    } */



input::-webkit-input-placeholder {
    color: black;
}

input:-moz-placeholder {
    color: black;
    opacity: 1;
}

input::-moz-placeholder {
    color: black;
    opacity: 1;
}

input:-ms-input-placeholder {
    color: black;
}



.header-sort {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.sort-icon {
    font-size: 14px;
    cursor: pointer;
}


.GoBack {
    position: absolute;
    margin: 0;
    color: #3082ce;
    cursor: pointer;
}

    .GoBack:hover {
        color: #145590;
    }



#ViewInfo tr:nth-child(even) {
    background-color: transparent;
}
/* Custom modal size: modal-ml (Medium-Large) */
@media (min-width: 576px) {
    .modal-ml {
        max-width: 600px;
    }
}

@media (min-width: 768px) {
    .modal-ml {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .modal-ml {
        max-width: 900px; /* Between modal-lg (800px) and modal-xl (1140px) */
    }
}

@media (min-width: 1200px) {
    .modal-ml {
        max-width: 960px;
    }
}
/*.form-control:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.15) inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}*/
input:-webkit-autofill {
    background-color: rgba(255, 255, 255,10%) !important;
    color: white !important;
    box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 10%) inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

.asteriskMandatory {
    color: red;
    font-size: large;
}
.form-control-plaintext {
    color: #145DA0 !important;
}

.RWclrorange {
    background-color: #ffa5006b !important;
}

.RWclryellow {
    background-color: #ffff0082 !important;
}

.RWclrred {
    background-color: #ff000057 !important;
}

/* Boost z-index for toast notifications */
.blazored-toast-container {
    z-index: 9999 !important;
    position: fixed !important;
}


.column_adjuster {
    padding: 0;
    background: none;
    border: none;
}

/* Column Container Styling */
.list-group {
    border-radius: 12px !important;
    border: 1px solid #d1d9e6 !important;
    background-color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden !important;
}

/* Header */
.list-group-item h6 {
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #333 !important;
}

/* Item Style */
.list-group-item {
    background-color: #CBE7FF !important;
    font-size: 14px !important;
    transition: background-color 0.3s ease !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    padding: 10px 16px !important;
}

    .list-group-item:hover {
        background-color: #f0f4ff !important;
    }

    .list-group-item:last-child {
        border-bottom: none !important;
    }

    .list-group-item input[type="checkbox"] {
        margin-right: 10px !important;
    }

/* Scrollable List */
.list-group[style] {
    max-height: 400px !important;
    overflow-y: auto !important;
    scrollbar-width: thin !important;
    scrollbar-color: #999 #f4f4f4 !important;
}

    .list-group[style]::-webkit-scrollbar {
        width: 6px !important;
    }

    .list-group[style]::-webkit-scrollbar-thumb {
        background-color: #aaa !important;
        border-radius: 6px !important;
    }

/* Buttons (Arrow + Up/Down) */
.col-1 .btn {
    margin: 6px 0 !important;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    font-size: 16px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #87c5f9 !important;
    border: none !important;
    transition: background-color 0.2s ease-in-out !important;
}

    .col-1 .btn:hover {
        background-color: #145DA0 !important;
    }

/* Footer Buttons */
.modal-footer {
    display: flex !important;
    justify-content: flex-end !important;
  
    border-top: 1px solid #ccc !important;
    border: none !important;
}


.common-button-save,
.common-button-cancel,
.common-button-reset {
    padding: 3px 8px !important;
    width: 80px !important;
    height: 31px !important;
    font-size: 14px !important;
    border-radius: 15px !important;
    border: none !important;
    cursor: pointer !important;
    background-color: #2998F5 !important;
    transition: all 0.3s ease; /* Smooth transition for size change */
}

    .common-button-save:hover,
    .common-button-cancel:hover,
    .common-button-reset:hover {
        background-color: #005CA9 !important; /* Darker shade for hover */
    }

.common-button-cancel {
    background-color: #0363b3 !important; /* Cancel button color */
    color: white;
}

.common-button-reset {
    background-color: #ffdd57 !important; /* Reset button color */
}

/* Media query for small devices (phones) */
@media (max-width: 576px) {
    .common-button-save,
    .common-button-cancel,
    .common-button-reset {
        width: 70px !important;
        height: 28px !important;
        font-size: 12px !important;
        padding: 2px 6px !important;
    }
}

/* Media query for medium devices (tablets) */
@media (min-width: 577px) and (max-width: 768px) {
    .common-button-save,
    .common-button-cancel,
    .common-button-reset {
        width: 75px !important;
        height: 30px !important;
        font-size: 13px !important;
        padding: 3px 7px !important;
    }
}

/* Media query for large devices (desktops) */
@media (min-width: 769px) {
    .common-button-save,
    .common-button-cancel,
    .common-button-reset {
        width: 80px !important;
        height: 31px !important;
        font-size: 14px !important;
        padding: 3px 8px !important;
    }
}

/* Hover effects for buttons */
.common-button-save:hover {
    background-color: #005CA9 !important;
}

.common-button-cancel:hover {
    background-color: #002d53 !important;
}

.common-button-reset:hover {
    background-color: #d4af37 !important;
}

/* Change color on hover for secondary buttons */
.btn-secondary.common-button:hover {
    background-color: #5a6268 !important; /* Darker shade of secondary */
    color: white !important; /* Optional: Change text color */
}

/* Change color on hover for primary buttons */
.btn-primary.common-button:hover {
    background-color: #034995 !important; /* Darker shade of primary */
    color: white !important; /* Optional: Change text color */
}


.whiteHyperlink {
    color: white;
    text-decoration: none;
}

    .whiteHyperlink:hover {
        color: #00b6ff;
    }

.pagination {
    color: #002A60;
}

    .pagination > li > span {
        position: relative;
        margin: 0 5px;
        /*    float: left;*/
        padding: 3px 8px;
        margin-left: 1px;
        line-height: 1.42857143;
        color: #3282cb;
        text-decoration: none;
        background-color: #fff;
        border: 1px solid #ddd;
        cursor: pointer !important;
        border-radius: 15px;
    }


/* For small devices (phones, 600px and below) */
@media (max-width: 600px) {
    .pagination > li > span {
        margin: 2px; /* Reduce margin for smaller screens */
        padding: 5px 10px; /* Increase padding for better touch targets */
        font-size: 14px; /* Adjust font size for readability */
        float: left;
    }
}

/* For medium devices (tablets, 600px to 992px) */
@media (max-width: 992px) {
    .pagination > li > span {
        margin: 5px;
        padding: 2px 4px;
        font-size: 13px;
        float: left;
    }
}

/* For large devices (desktops, 992px and above) */
@media (min-width: 992px) {
    .pagination > li > span {
        margin: 0 5px; /* Maintain original margin */
        padding: 3px 8px; /* Maintain original padding */
        font-size: 16px; /* Maintain original font size */
    }
}

.pagination li.active span {
    /*background-color: #3282cb !important;*/
    color: #3282cb;
    border: 4px solid #3282cb;
}

.pagination li:hover span {
    background-color: lightgrey;
}

.page-content {
    min-height: 84vh;
}

.custom-select {
    margin-left: 5px;
    margin-right: 20px;
    padding: 1px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    height: 24px;
    appearance: none; /* Removes default arrow in some browsers */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 23px; /* space for arrow */
    transition: border 0.3s ease;
}

    .custom-select:focus {
        border-color: #007BFF;
        outline: none;
    }
