.main-container {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.index-page{
    background-color:#c5d8d4ff;
    background-repeat:no-repeat;
    background-size:cover;
}
.panel {
    background-color: var(--bs-gray-300);
    display: flex;
    flex-direction: column;
    align-content: stretch;
    justify-content: space-between;
    align-items: center;
    padding: 1vw;
    width: 50vw;
    height: 60vh;
    border-radius: 50px;
    box-shadow: 0px 1px 1px 1px var(--bs-gray-600);
}
.login-header {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
}
.login-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width:100%;
}
    .login-body div {
        display: flex;
        flex-direction: row;
        align-content: space-around;
        justify-content: space-evenly;
        align-items: center;
        gap: 1rem;
        width: 100%;
        margin:5px
    }
    .login-body div span {
        width:100px;
        text-align:center;
    }
.login-footer {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
}
.login-footer img{
    width:50px;
    margin:1vw;
}

input[type=text]{
    outline:none;
    border:none;
    background-color:transparent;
    text-align:center;
    border-bottom:1px solid #808080ff;
    width:20vw
}
input[type=password] {
    outline: none;
    border: none;
    background-color: transparent;
    text-align: center;
    border-bottom: 1px solid #808080ff;
    width: 20vw
}
input[type=button] {
    outline: none;
    border: 1px solid #808080ff;
    background-color: transparent;
    text-align: center;
    width: 15vw;
    margin: 1vh;
    border-radius: 10px;
}
    input[type=button]:hover {
        background-color: #06d3be;
        border: 1px solid #297500ff;
    }
.service-card-container {
    height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    align-content: center;
}
.service-card {
    display: flex;
    flex-direction: column;
    width: 20%;
    align-content: center;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
    height: fit-content;
    border-radius: 15px;
    box-shadow: 1px 2px 7px 0px;
}
    .service-card:hover {
        cursor:pointer;
        background-color: #7cc1ba;
        border: 1px solid #297500ff;
    }
    .service-card span{
        font-size:x-small;
    }
.service-detail {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    margin: 21px 0px 0px 0px;
}
.service-action-buttons {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 20px 0px 0px 0px;
    border-top: 1px solid;
}
    .service-action-buttons:hover {
        background-color: #9f6868;
    }
        .service-action-buttons:hover input[type=button] {
            background-color: #f8f9fa;
        }
            .service-action-buttons:hover input[type=button]:hover {
                background-color: #06d3be;
            }
* {
    direction: rtl;
}

.social-part .fa {
    padding-right: 20px;
}

.navbar-nav {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    padding: 0;
    text-align: center;
}

ul li a {
    margin-right: 20px;
}
.panel-section {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}
.search-section {
    align-self: center;
    height: 17vh;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    width: -webkit-fill-available;
}
.result-section {
    align-self: center;
}
.right-header {
    display: flex;
    width: -webkit-fill-available;
    flex-direction: row;
    align-content: center;
    align-items: center;
}
.result-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    width:100vw;
}
#PersonList{
    width:20vw;
}
#PersonInfo {
    width: 50vw;
}
.result-Search{
    widows:100vw;
}

#CompanyList {
    width: 20vw;
}

#CompanyInfo {
    width: 50vw;
}
.tab-content {
    height: 30vh !important;
    overflow-y: auto;
}

/* width */
::-webkit-scrollbar {
    width: 8px;
    background: transparent;
    border-radius: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #818181;
    border-radius: 10px;
    width: 8px;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #0d6efd;
    }
.btn-search.active {
    background: url('/images/loader.gif') no-repeat center center;
    background-size: contain; /* Ensure the loader fits within the div */
    background-color: #06d3be;
}
/*
.btn-search{
    background-color:#cccccc!important;
}
.header-section {
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    justify-content: space-between;
}
.right-header {
    display: flex;
    width: -webkit-fill-available;
    flex-direction: row;
    align-content: center;
    align-items: center;
}
.left-header {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
}
.search-left-header {
    width: 10vw;
}
.span-left-header {
    font-size: smaller;
    padding: 0.2rem;
    margin: 0px 27px 0px 0px;
}*/
@media (max-width: 600px) { /* Typical breakpoint for phones */
    .login-body div {
        flex-direction: column;
    }

    input[type=text] {
        width: 100%;
    }

    input[type=password] {
        width: 100%;
    }

    input[type=button] {
        width: 80%;
    }

    .service-card {
        width: 80%;
    }

    .nav-item {
        border: 1px solid var(--bs-gray-400);
    }

    .panel {
        border-radius: 10px;
        width: 80vw;
        padding: 10px;
    }
    ul li a {
        margin-right: 0;
        width: max-content;
        text-align: center;
    }

    .nav {
        flex-wrap: nowrap;
    }
    .service-card{
        margin:1rem;
    }
    .service-card-container {
        display: flex;
        flex-direction: column;
        align-content: center;
        justify-content: center;
        align-items: center;
        height: unset;
    }
    .service-action-buttons {
        display: flex;
        flex-direction: row;
        align-content: center;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 20px 0px 0px 0px;
        border-top: 1px solid;
    }

        .service-action-buttons:hover {
            background-color: #9f6868;
        }

            .service-action-buttons:hover input[type=button] {
                background-color: #f8f9fa;
            }

                .service-action-buttons:hover input[type=button]:hover {
                    background-color: #06d3be;
                }
    /*.header-section{
        display:flex;
        flex-direction:column;
    }
    .left-header {
        display: flex;
        flex-direction: column-reverse;
        width: -webkit-fit-content;
    }

    .right-header {
        width: -webkit-fit-content;
    }*/
}
@media (min-width: 601px) and (max-width: 900px) { /* Typical breakpoint for tablets */
    .login-body div {
        flex-direction: column;
    }

    input[type=text] {
        width: 100%;
    }

    input[type=password] {
        width: 100%;
    }

    input[type=button] {
        width: 80%;
    }

    .service-card {
        width: 80%;
    }
    .panel {
        border-radius: 10px;
        width: 80vw;
        padding: 10px;
    }

    .mt-lg-0 {
        padding: 0!important;
        text-align: center!important;
    }
    ul li a {
        margin-right: 0;
        width: max-content;
        text-align: center;
    }
    .nav {
        flex-wrap:nowrap;
    }

    .service-card {
        margin: 1rem;
    }
    .service-card-container {
        display: flex;
        flex-direction: column;
        align-content: center;
        justify-content: center;
        align-items: center;
        height: unset;
    }

    .service-action-buttons {
        display: flex;
        flex-direction: row;
        align-content: center;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 20px 0px 0px 0px;
        border-top: 1px solid;
    }

        .service-action-buttons:hover {
            background-color: #9f6868;
        }

            .service-action-buttons:hover input[type=button] {
                background-color: #f8f9fa;
            }

                .service-action-buttons:hover input[type=button]:hover {
                    background-color: #06d3be;
                }
    /*.left-header{
        display:flex;
        flex-direction:column-reverse;
        width:-webkit-fit-content;
    }
    .right-header {
        width: -webkit-fit-content;
    }*/
}

@font-face {
    font-family: Parastoo;
    src: url(../fonts/Parastoo.ttf);
    font-style: normal;
}
*{
    font-family:Parastoo;
}
