html {
    font-size: 14px;
}
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}
@font-face {
    font-family: 'amiriquran-regular';
    src: url('../fonts/amiriquran-regular.ttf') format('truetype');
}
@font-face {
    font-family: 'amiri-regular';
    src: url('../fonts/amiri-regular.ttf') format('truetype');
}
@font-face {
    font-family: 'arefruqaa-bold';
    src: url('../fonts/arefruqaa-bold.ttf') format('truetype');
}

@font-face {
    font-family: 'arefruqaa-regular';
    src: url('../fonts/arefruqaa-regular.ttf') format('truetype');
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}
.w-20{
    width:20%;
}
.w-40 {
    width: 40%;
    /*color: #e1dfd918;*/ 
}
.text-search {
    background-image: url('../images/icons8_search_26px.png');
    background-repeat: no-repeat;
    background-size: 23px;
    background-position: left center;
    outline: none;
    border: none;
    box-shadow: 1px 1px 2px #c3c0c0;
    height: 35px;
    padding-left: 23px;
    padding-right: 10px;
    border-radius: 10px;
}

    .text-search:hover {
        box-shadow: 1px 1px 5px #a09a9a;
    }

    .text-search:focus {
        outline: 1px solid #1570e0;
    }







/*============= text =====================*/
.txtOneLine {
    outline: none;
    border: none;
    border-bottom: 1px solid #808080;
    min-width: 100px;
    padding: 3px 5px;
}

    .txtOneLine:focus {
        border-bottom: 2px solid #0a03a7;
    }

.tax-create {
    box-shadow: 2px 2px 15px #000;
    padding: 10px;
    border-radius: 10px;
    width: 100%;
}

.create-tax {
    width: 100%;
}

.tax-table {
    max-height: 550px;
    overflow: auto;
    width: 100%;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.tax-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}


/* PC Styles (Default) */

/*=====================Modal=================*/
.lojen-dialog {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    background: rgb(9, 52, 105, 0.54);
    z-index: 9999999;
}

.lojdialog-container {
    position: relative;
    background: rgb(253, 253, 253);
    /*width: auto;*/
    max-width: 99%;
    display: flex;
    gap: 2rem;
    padding: 1rem;
    top: 2rem;
    height: auto;
    z-index: 9999999;
}


.lojdialog-header {
    background: rgb(138, 135, 135);
    color: white;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 3rem;
}
    .lojdialog-header a{
        position:absolute;
        top:5px;
        left:5px;
    }

    .lojdialog-header h4 {
        text-align: center;
        padding: .5rem 2rem;
    }

.lojdialog-Content {
    margin-top: 45px;
    padding: 15px 10px;
    background: rgb(226, 222, 222, 0.47);
    color: #121111;
    width: 100%;
    max-height: 650px;
    overflow: auto;
    box-shadow: 0 0 8px #092a94;
}

.lojen-dialog .lojdialog-body #close {
    position: absolute;
    top: 0;
    right: 0;
    width: 2.0rem;
    background: lightgray;
    cursor: pointer;
}

    .lojen-dialog .lojdialog-body #close:hover {
        background: rgba(85, 84, 84, 0.785);
        box-shadow: 3px inset;
    }

.lojen-dialog .card .brand {
    width: 10rem;
}

    .lojen-dialog .card .brand .myimg {
        max-width: 10rem;
        max-height: 15rem;
    }

.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    animation: slideIn 0.3s;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.modal-title {
    font-size: 1.5em;
    margin: 0;
}

.close-button {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #888;
}

    .close-button:hover {
        color: #555;
    }

.modal-body {
    padding: 15px 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.middle-center{
    display:grid;
    place-items:center;
    place-content:center;

}
.bordered{
    border :1px solid #000;
    border-radius:2%;
    box-shadow:1px 1px 5px #000;
}

.logo-img{
    position:absolute;
    top:0;left:0;
    width:10%;
    cursor:pointer;
}

.custTable-container{
    width:80%;
}
@media (min-width: 992px) {
    .tax-container {
        flex-direction: row;
    }

    .create-tax {
        width: 25%;
    }

    .custTable-container {
        width: 80%;
    }

    .tax-table {
        flex: 1;
        max-height: 650px;
        overflow: auto;
        margin: 0 10px;
    }
}

/* Tablet Styles */
@media (max-width: 991px) and (min-width: 768px) {
    .create-tax, .tax-table {
        flex: 1;
    }

    .custTable-container{
        width: 90%;
    }

    .tax-container {
        flex-direction: column;
        
    }
}
.body-container1 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    margin: 0;
}


.home-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #bff6feac;
    border-radius: 10px;
    padding: 20px;
    width: 50%;
    transition: box-shadow 0.3s ease;
    position: relative;
    max-width: 100%;
}

.comp-container {
    
    width:450px !important;
    align-items: center;
    background-color: #ffffff53;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
    position: relative;
    max-width: 100%;
}

/*
.navbar-nav .nav-link:hover {
    background-color: #5084b9;
}

.navbar-nav .nav-link:hover {
    color: #FFD700;  Change this to the color you want on hover 
}*/

/* Mobile Styles */
@media (max-width: 767px) {
    .tax-container {
        padding: 10px;
    }

    .create-tax, .tax-table,.custTable-container {
        margin: 0;
        width: 100%;
    }

}

.select-row {
    cursor: pointer;
}

    .select-row:hover {
        background-color: #cb7daf;
        color: #fff;
    }
.body-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    margin: 0;
    background-color: #f0f0f0;
}



.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
    position: relative;
    width: 100%;
}

    .login-container:hover {
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    }
.home-container{
    width:40%;
    height:auto;

}
.login-image {
    width: 450px !important;
    height: 150px !important;
    border-radius: 15px;
    margin-bottom: 80px;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
/*@media (min-width=900){
    .login-image {
        width:350px !important;
        height:100px !important;
    }
}
@media (min-width=1200){
    .login-image {
        width:350px !important;
        height:100px !important;
    }

}
*/.login-container:hover .login-image {
    transform: scale(1.1);
}


.login-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

    .login-input:focus {
        box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
        outline: none;
    }

.login-button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .login-button:hover {
        background-color: #0056b3;
    }

.register-link {
    margin-top: 10px;
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor:pointer;
}

    .register-link:hover {
        color: #0056b3;
    }

/* Responsive Styles */
@media (min-width: 1024px) {
    .login-container {
        width: 400px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .login-container {
        width: 400px;
        
    }
}
@media (max-width: 767px) {
    .login-container {
        width: 300px;
        padding: 20px 10px;
    }
    .login-image {
        margin-bottom: 80px;
        width: 140px;
        height: 140px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }
}
.card:hover{
    box-shadow:0 0 15px #888;
    
}
.cust-car{
    text-align:center;
    background-color:#e4dfdf;
    padding:8px 1px;
    margin-top:0;
    width:100%
}
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0, 0.28); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999999; /* Higher than most Bootstrap components */
    visibility: hidden; /* Hidden by default */
    opacity: 0; /* Fully transparent initially */
    transition: visibility 0s, opacity 0.3s ease-in-out; /* Smooth show/hide */
}

    .spinner-overlay.active {
        visibility: visible; /* Make it visible */
        opacity: 1; /* Fully opaque */
    }