﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

/* Dark mode  */
body.dark-mode {
    background-color: #121212 !important;
    color: #f1f1f1 !important;
}

    body.dark-mode .bg-white {
        background-color: #2c2c2c !important;
    }

    body.dark-mode .border {
        border-color: #555 !important;
    }

    body.dark-mode input,
    body.dark-mode textarea,
    body.dark-mode select {
        background-color: #5a5a5a !important; 
        color: #ffffff !important;
        border-color: #888 !important;
    }
    /* Dark mode for all tables */
    body.dark-mode table.table {
        border-color: #555;
        color: #f1f1f1;
    }

        /* Table headers */
        body.dark-mode table.table thead th {
            background-color: #3a3a3a;
            color: #f1f1f1;
            border: 1px solid #666;
        }

        /* Permanent striped rows */
        body.dark-mode table.table tbody tr:nth-of-type(odd) {
            background-color: #2c2c2c; /* dark stripe */
        }

        body.dark-mode table.table tbody tr:nth-of-type(even) {
            background-color: #353535; 
        }

        body.dark-mode table.table tbody td {
            background-color: transparent !important;
            color: #f1f1f1;
            border: 1px solid #555;
        }


    body.dark-mode input,
    body.dark-mode textarea,
    body.dark-mode select {
        background-color: #444 !important; 
        color: #fff !important;
      
    }
    body.dark-mode .zakatdiv {
        background-color: #2c2c2c !important;
        color: #f1f1f1 !important;
    }

        body.dark-mode .zakatdiv p,
        body.dark-mode .zakatdiv span {
            color: #f1f1f1 !important;
        }
    body.dark-mode .select2-container .select2-selection--single {
        background-color: #444 !important;
        color: #fff !important;
        border: 1px solid #666 !important;
    }
    body.dark-mode .select2-dropdown {
        background-color: #444 !important;
        color: #fff !important;
    }
    /* Make Select2 input lighter in dark mode */
    body.dark-mode .select2-container--default .select2-selection--single {
        background-color: #3a3a3a !important; 
        border: 1px solid #666 !important;
        color: #fff !important;
    }

        body.dark-mode .select2-container--default .select2-selection--single .select2-selection__rendered, body.dark-mode .h5{
            color: #f1f1f1 !important; 
        }

        body.dark-mode .select2-container--default .select2-selection--single .select2-selection__arrow b {
            border-color: #f1f1f1 transparent transparent transparent !important;
        }

    body.dark-mode .select2-dropdown {
        background-color: #2f2f2f !important; 
        color: #fff !important;
        border-color: #555 !important;
    }

    body.dark-mode .select2-results__option--highlighted {
        background-color: #666 !important; 
    }


    /* Dark mode modal styles */
    body.dark-mode .modal-content {
        background-color: #2b2b2b !important; 
        color: #f1f1f1 !important;
        border: 1px solid #444;
    }

    body.dark-mode .modal-footer {
        background-color: #333 !important; 
        color: #f1f1f1 !important;
        border-color: #444 !important;
    }

    body.dark-mode .modal-body {
        background-color: #2b2b2b !important;
        color: #f1f1f1 !important;
    }

    body.dark-mode .modal-backdrop.show {
        opacity: 0.85; 
    }
    body.dark-mode .highlight_row {
        background-color: #666666 !important;
        color: #fff !important;
    }
    /* Dark mode only */
    body.dark-mode .btn-outline-dark {
        color: #f8f9fa; 
        border-color: #f8f9fa !important;
        background-color: transparent !important;
    }

        body.dark-mode .btn-outline-dark:hover,
        body.dark-mode .btn-outline-dark:focus {
            color: #f8f9fa;
            background-color: #555 !important; 
            border-color: #f8f9fa !important;
        }

    body.dark-mode .btn-outline-success {
        color: #90EE90;
        border-color: #90EE90 !important;
        background-color: transparent !important;
    }

        body.dark-mode .btn-outline-success:hover,
        body.dark-mode .btn-outline-success:focus {
            color: #212529;
            background-color: #90EE90 !important;
            border-color: #90EE90 !important;
        }
    body.dark-mode .btn-outline-secondary {
        color: #87CEFA;
        border-color: #87CEFA !important;
        background-color: transparent !important;
    }

        body.dark-mode .btn-outline-secondary:hover,
        body.dark-mode .btn-outline-secondary:focus {
            color: #212529;
            background-color: #87CEFA !important;
            border-color: #87CEFA !important;
        }

    /* Dark mode for all input groups */
    body.dark-mode .input-group .form-control,
    body.dark-mode .input-group .form-control[readonly],
    body.dark-mode .input-group .input-group-prepend .input-group-text {
        background-color: #5a5a5a !important;
        color: #ffffff !important;
        border: 1px solid #888 !important;
    }
       
    body.dark-mode .input-group .input-group-prepend .input-group-text {
        background-color: #666 !important;
        color: white !important;
        border: 1px solid #888 !important;
    }
    /* Dark mode pagination */
    body.dark-mode .pagination .page-link {
        background-color: #2c2c2c; 
        color: #f1f1f1; 
        border: 1px solid #555;
    }

    body.dark-mode .pagination .page-item.active .page-link {
        background-color: #444; 
        color: white; 
        border-color: #666; 
    }

    body.dark-mode .pagination .page-link:hover {
        background-color: #555; 
        color: white;
    }
    body.dark-mode .login-page input,
    body.dark-mode .login-page select,
    body.dark-mode .login-page textarea {
        background-color: #fff !important; 
        color: #333 !important; 
    }
  
    body.dark-mode .card {
        background-color: #2c2c2c; 
        color: #f1f1f1;
        border-color: #444; 
    }

        body.dark-mode .card .card-header {
            background-color: #1f1f1f; 
            color: #f1f1f1;
        }

    body.dark-mode .table {
        background-color: #2c2c2c;
        color: #f1f1f1;
    }

        body.dark-mode .table thead {
            background-color: #1f1f1f;
            color: #fff;
        }


  
    body.dark-mode h1,
    body.dark-mode h2,
    body.dark-mode h3,
    body.dark-mode h4,
    body.dark-mode h5,
    body.dark-mode h6 {
        color: #f1f1f1 !important; 
    }
.dropdown {
    position: static !important;
}

/* Dark mode dropdown */
body.dark-mode .dropdown-menu.DropMenu {
    background-color: #1e1e1e !important;
    border-radius: 5px;
    border: 1px solid #333;
}

    body.dark-mode .dropdown-menu.DropMenu .dropdown-item {
        color: #f1f1f1 !important;
    }

        body.dark-mode .dropdown-menu.DropMenu .dropdown-item:hover {
            background-color: #444 !important; 
            color: #fe8b10 !important; 
        }
/* Dark mode card background override */
body.dark-mode .bg-light {
    background-color: #121212 !important;
}

body.dark-mode p {
    color: #ccc !important; 
}
body.dark-mode .nav-tabs .nav-link {
    color: #bbb;
    font-weight: 500;
    border: none;
    border-bottom: 3px solid transparent;
    transition: 0.3s;
}

    body.dark-mode .nav-tabs .nav-link:hover {
        border-bottom: 3px solid #ffffff;
        color: #ffffff;
    }

    body.dark-mode .nav-tabs .nav-link.active {
        border-bottom: 3px solid #ffffff;
        color: #ffffff;
        font-weight: 600;
        border-top: 1px solid #444;
        border-left: 1px solid #444;
        border-right: 1px solid #444;
        background-color: #2c2c2c;
    }
        .nav-tabs .nav-link {
    color: #495057;
    font-weight: 500;
    border: none;
    border-bottom: 3px solid transparent;
    transition: 0.3s;
}

    .nav-tabs .nav-link:hover {
        border-bottom: 3px solid #1c7585;
        color: #1c7585;
       
    }

    .nav-tabs .nav-link.active {
        border-bottom: 3px solid #1c7585;
        color: #1c7585;
        font-weight: 600;
        border-top:1px solid lightgrey;
        border-left:1px solid lightgrey;
        border-right:1px solid lightgrey;
    }


body.dark-mode .info-card {
    background: #1e1e1e;
    color: #e0e0e0;
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

    body.dark-mode .info-card h2 {
        color: #4CAF50;
    }

    body.dark-mode .info-card p {
        color: #ccc;
    }

/* Light mode dropdown background */
.dropdown-menu.DropMenu {
    background-color: #f9f9f9 !important; 
    border-radius: 5px;
    border: 1px solid #ddd; 
}

    .dropdown-menu.DropMenu .dropdown-item {
        color: #333; 
    }

        .dropdown-menu.DropMenu .dropdown-item:hover {
            background-color: #ddd !important; 
            color: #ff6a00; 
        }

@media (min-width: 1080px) {
    #Shortcut a {
        width: 9%;
        margin: 1px;
    }
}

@media (max-width: 642px) {
    #Shortcut a {
        width: 15%;
    }
}

@media (max-width: 452px) {
    #Shortcut a {
        width: 22%;
        font-size: 12px;
        margin: 1px;
        font-weight: bold;
    }
}
body{
    background-color:whitesmoke;
}
a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}
.custom-headerL {
    position: sticky;
    top: 0;
    z-index: 3;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}
.modal-dialog {
    margin-top:15%;
}
.modal-header, #myModalHeader {
    background-color: #ffa500;
    padding: 15px 0 15px 0;
}
#myModalLabel {
    margin-left: 160px;
    font-weight: bold;
}
#myModalFooter {
    background-color: #ffa500;
}
.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}
.btn-round {
    border-radius: 50%;
}
.whatsapp{
    font-size:12px;
    cursor:pointer;
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}
input[type="file"] {
    position: absolute;
    z-index: -1;
    top: 4px;
    left: 20px;
    font-size: 14px;
    color: #b8b8b8;
    width: 100%;
    height: 36px;
    text-align: center;
    margin-top: 4px;
}

.button {
    display: inline-block;
    padding: 10px 10px;
    cursor: pointer;
    border-radius: 5px;
    background-color: #1861ac;
    font-size: 15px;
    font-weight: bold;
    color: #fff;  
    width:100%;
    text-align:center;
}
.holder {         
    height: 260px;
    width: 400px;
    border: 2px solid black;
    box-sizing: border-box;
    box-shadow: #333 2px 2px 3px 3px;
}

#imgPreview {
    max-width: 400px;
    max-height: 260px;
    min-width: 400px;
    min-height: 260px;
}
/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 13px;
}

@media (min-width: 768px) {
    html {
        font-size: 14px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.container-fluid {
    padding: 0px !important;
}

input.form-control {
    font-size: 14px !important;
    height: 28px !important;
}
.tableFixed {
    max-height: 250px;
    overflow: auto;
    width: 100%;
}
.tableFixed td{
    padding:6px;
}

table {
    width: 100% !important;
}

input:focus {
    border-color: #000 !important;
}


/*--------Toggle Button---------*/
ul, li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tg-list {
    text-align: center;
    display: flex;
    align-items: center;
}

h2 {
    color: #777;
}

h4 {
    color: #999;
}

.tgl {
    display: none;
}

    .tgl, .tgl:after, .tgl:before, .tgl *, .tgl *:after, .tgl *:before, .tgl + .tgl-btn {
        box-sizing: border-box;
    }

        .tgl::selection, .tgl:after::selection, .tgl:before::selection, .tgl *::selection, .tgl *:after::selection, .tgl *:before::selection, .tgl + .tgl-btn::selection {
            background: none;
        }

        .tgl + .tgl-btn {
            outline: 0;
            display: block;
            width: 5em;
            height: 2em;
            position: relative;
            cursor: pointer;
            user-select: none;
        }

            .tgl + .tgl-btn:after, .tgl + .tgl-btn:before {
                position: relative;
                display: block;
                content: "";
                width: 50%;
                height: 100%;
            }

            .tgl + .tgl-btn:after {
                left: 0;
            }

            .tgl + .tgl-btn:before {
                display: none;
            }

        .tgl:checked + .tgl-btn:after {
            left: 50%;
        }

.tgl-skewed + .tgl-btn {
    overflow: hidden;
    transform: skew(-10deg);
    backface-visibility: hidden;
    transition: all 0.2s ease;
    font-family: sans-serif;
    background: #5a6268;
}

    .tgl-skewed + .tgl-btn:after, .tgl-skewed + .tgl-btn:before {
        transform: skew(10deg);
        display: inline-block;
        transition: all 0.2s ease;
        width: 100%;
        text-align: center;
        position: absolute;
        line-height: 2em;
        font-weight: bold;
        color: #fff;
        text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
    }

    .tgl-skewed + .tgl-btn:after {
        left: 100%;
        content: attr(data-tg-on);
    }

    .tgl-skewed + .tgl-btn:before {
        left: 0;
        content: attr(data-tg-off);
    }

    .tgl-skewed + .tgl-btn:active {
        background: #888;
    }

        .tgl-skewed + .tgl-btn:active:before {
            left: -10%;
        }

.tgl-skewed:checked + .tgl-btn {
    background: #fe8b10;
}

    .tgl-skewed:checked + .tgl-btn:before {
        left: -100%;
    }

    .tgl-skewed:checked + .tgl-btn:after {
        left: 0;
    }

    .tgl-skewed:checked + .tgl-btn:active:after {
        left: 10%;
    }


/*--------Toggle Button---------*/


/* alert box jquery confirm css*/
.jconfirm .jconfirm-box div.jconfirm-content-pane .jconfirm-content {
    overflow: hidden !important;
}


/*Orange button btn-create class*/
.btn-add {
    color: #fff !important;
    background-color: #5a6268 !important;
    border-color: #5a6268 !important;
}

    .btn-add:hover {
        color: #fff !important;
        background-color: #fe8b10 !important;
        border-color: #fe8b10 !important;
    }

.btn-add-inverse {
    color: #fff !important;
    background-color: #fe8b10 !important;
    border-color: #fe8b10 !important;
}

    .btn-add-inverse:hover {
        color: #fff !important;
        background-color: #5a6268 !important;
        border-color: #5a6268 !important;
    }

/*Form control focus */
.form-control:focus {
    border-color: #fe8b10 !important;
    box-shadow: 0 0 15px #fe8b10 ;
}

.login100-form-bgbtn {
    background: -webkit-linear-gradient(right, #f7741d, #404040, #f7741d, #404040) !important;
    border: 1px solid white !important;
}
.bg2{
    background-color:lightgray;   
}
.bg2:hover{
    background-color:#5a6268;
}
.bg1:hover {
    background-color: #14194e;
}
.bg3:hover {
    background-color: #a56111;
}
.bg3 {
    background-color: #faa500;
}

.custom-header {
    background-color: #333;
    color: white;   
}
.custom-headerL {
    background-color: #333;
    color: white;
    padding: 5px;    
}
.CurrentDate {
    box-sizing: border-box;
    width: 200px;
    height: 150px;
    border-radius: 5px;
    background-color: skyblue;
    margin: 20px;
    padding: 10px;
}
/*-----Urdu Font------*/
@font-face{
    src: url(../fonts/urdu.ttf);
    font-family: 'noto urdu';
    font-size: 25px;
}

.urdu{
    font-family: 'noto urdu';
}
/*----Urdu Font------*/

/*----Loader------*/
.loader{
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: white;
    z-index: 999;
}

.lds-dual-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-block;
    width: 80px;
    height: 80px;
}

    .lds-dual-ring:after {
        content: " ";
        display: block;
        width: 64px;
        height: 64px;
        margin: 8px;
        border-radius: 50%;
        border: 6px solid #333;
        border-color: #333 transparent #333 transparent;
        animation: lds-dual-ring 1.2s linear infinite;
    }

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*----Loader------*/
/*File Import Button*/
input[type='file'] {
    width: 0;    
}
/*----Product Search Modal------*/
#prmodal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    /*padding-top: 40px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100vh; /* Full height */
    /*overflow: hidden; /*Enable scroll if needed */
    background-color: rgba(0,0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
/* Modal Content */
#modalcontent {
    position: relative;
    background-color: white;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 100%;
    height: 100%;    
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
}
/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}
@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}
/*--close button--*/
#CMbtn {
    background-color: white;
    color: black;
    border-color: #fc5b11
}
#CMbtn:hover {
        background-color: #fc5b11;
        color: white;
    }
#modalheader {
    padding: 2px 450px;
    background-color: #333;
}
#modaltitle {
    color: white;
}
#modalbody {
    padding: 30px 40px;
    height: 100%;
    width:100%;
}
.modal-body {
    padding: 20px 30px;
    height: 100%;
    width: 100%;
    overflow: auto;
}
#MTable  #theadpr{
    position: sticky;
    top: 0px;
}
#MTable th {
    background-color: #5a6268;
    color: #fff;
}
#mtable {
    height: 80%;
    width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
}
#modalfooter {
    padding: 10px 40px;
    background-color: white;
    color: white;
}
/*POS Modal*/
#posmodal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    padding-top: 40vh; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100vh; /* Full height */
    /*overflow: hidden; /*Enable scroll if needed */
    /*background-color: rgba(0,0,0,0); /* Fallback color */
    /*background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
/* Modal Content */
#posmodalcontent {
    position: relative;
    background-color: white;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 100%;
    height: 100%;
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}
/*--close button--*/
#CMbtn {
    background-color: white;
    color: black;
    border-color: #fc5b11
}

    #CMbtn:hover {
        background-color: #fc5b11;
        color: white;
    }

#posmodalheader {
    padding: 2px 450px;
    background-color: #333;
}

#posmodaltitle {
    color: white;
}

#posmodalbody {
    padding: 30px 40px;
    height: 100%;
    width: 100%;
}

.modal-body {
    padding: 20px 30px;
    height: 100%;
    width: 100%;
    overflow: auto;
}

#MTablepos #theadpos{
    position: sticky;
    top: 0px;
}

#MTablepos th {
    background-color: #5a6268;
    color: #fff;
}

#mtablepos {
    height: 80%;
    width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
}

#posmodalfooter {
    padding: 10px 40px;
    background-color: white;
    color: white;
}
/*-----Modal UP Down Key-----*/
.highlight_row {
    background-color: #fc5b11;
    opacity: 1;
}
.hidden {
    display: none;
}
/*-------Logout Button----------*/
#btnlogout {
    border: 1px solid #e36e1f;
}
#btnlogout:hover{
    background-color: #e36e1f;
}

/*-- Text Animation For Modal Hearder Code --*/
#myModalLabel {
    text-transform: uppercase;
    background-image: linear-gradient( -225deg, #5a6268 0%, #333 29%, #5a6268 67%, #fff 100% );
    background-size: auto auto;
    background-clip: border-box;
    background-size: 200% auto;
    color: white;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textclip 2s linear infinite;
    display: inline-block;
    font-size: 20px;
}

@keyframes textclip {
    from {
        background-position: 200% center;
    }
}
/*Login Year selection*/
#YearId {
    border: none;
    outline: none;
}
/*------Zakat Div------*/
html {
    height: 100%;
}

body {
    height: 100%;
}

.zakatdiv {
    position: absolute;
    padding: 10px;
    border: 2px solid #000;
    border-radius: 15px;
    -moz-border-radius: 15px;
    margin: auto;
    background-color:#fff;
    top: 0;
    right: 0;
    left: 0;    
}
/*-- End Code --*/