﻿:root {
    --bs-font-sans-serif: 'Inter', sans-serif;
}
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
    font-family: 'Inter', sans-serif;
}

body {
    margin-top: 57px;
    background-color: #f7f7f0;
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
}

main {
    min-height: 75vh;
}

a {
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }



.nav-item {
    padding: 0em .7em;
    margin: 0 2px;
    text-overflow: ellipsis;
    overflow: hidden;
    text-wrap: none;
    white-space: nowrap;
}

    .nav-item.active {
        background: #ced4da;
        border-radius: 4px;
        color: #0077cc !important;
    }

.nav-pills .nav-item.active .nav-link {
    color: #0077cc !important;
}

.nav-item.active .nav-link {
    color: white !important;
}

.nav-pills .nav-item {
    padding: 0em;
    margin-bottom: 2px;
}

.nav-link {
    color: black;
}

    .nav-link:hover {
        text-decoration: none;
    }

.nav-item:hover {
    background: #e6e6e6;
    border-radius: 4px;
}

.navbar-nav .nav-item.active {
    background: #000065;
    border-radius: 4px;
}



a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

a {
    color: #0077cc;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}


.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}



.side-navbar {
    width: 240px;
    min-height: 50vh;
    position: fixed;
    margin-left: -300px;
    background: rgb(248,249,250);
    background: linear-gradient(0deg, rgb(0, 0, 0, 0) 0%, rgba(248,249,250,1) 100%);
    transition: 0.5s;
    border-right: 1px solid;
    border-image-slice: 1;
    border-width: 2px;
    border-image-source: linear-gradient(0deg, rgb(0, 0, 0, 0) 0%, rgba(0,0,0,.2) 100%);
}

    .side-navbar.nav-link:active,
    .side-navbar.nav-link:focus,
    .side-navbar.nav-link:hover {
        background-color: #ffffff26;
    }

.border-gradient {
    border-right: 10px solid;
    border-image-slice: 1;
    border-width: 5px;
}

.border-gradient-purple {
    border-image-source: linear-gradient(to left, #743ad5, #d53a9d);
}

.my-container {
    transition: 0.4s;
}

.active-nav {
    margin-left: 0;
}
/* for main section */
.active-cont {
    margin-left: 240px;
}

@media print {
    .active-cont {
        margin-left: 1px;
    }
}




#menu-btn {
}


.text-ellipsized {
    text-overflow: ellipsis;
    overflow: hidden;
    text-wrap: none;
    white-space: nowrap;
}

.card {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    margin-bottom: 2rem !important;
    border-radius: .1rem;
}

.card-footer {
    text-align: right;
    background: #f8f9fa;
}

.card-header {
    background: #224b6f;
    color: white;
    padding: .3rem;
}

/* Multi-step form progress bar */

#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    /*CSS counters to number the steps*/
    counter-reset: step;
    width: 100%;
    text-align: center;
}

    #progressbar li {
        list-style-type: none;
        color: rgb(51, 51, 51);
        text-transform: uppercase;
        font-size: .75em;
        width: 25%;
        float: left;
        position: relative;
    }

        #progressbar li:before {
            content: counter(step);
            counter-increment: step;
            width: 20px;
            line-height: 20px;
            display: block;
            font-size: 10px;
            color: #333;
            background: white;
            border-radius: 3px;
            margin: 0 auto 5px auto;
        }
        /*progressbar connectors*/
        #progressbar li:after {
            content: '';
            width: 100%;
            height: 2px;
            background: white;
            position: absolute;
            left: -50%;
            top: 9px;
            z-index: -1; /*put it behind the numbers*/
        }

        #progressbar li:first-child:after {
            /*connector not needed before the first step*/
            content: none;
        }
        /*marking active/completed steps green*/
        /*The number of the step and the connector before it = green*/
        #progressbar li.active:before, #progressbar li.active:after {
            background: #212529;
            color: white;
        }


.v-progressbar {
    padding: 0;
    counter-reset: step;
}

    .v-progressbar li {
        list-style-type: none;
        display: block;
    }

        .v-progressbar li:before {
            content: counter(step);
            counter-increment: step;
            width: 20px;
            color: #000;
            display: inline-block;
            background: #eee;
            border-radius: 3px;
            margin: 0 .5em 0 0;
            text-align: center;
        }
        /*progressbar connectors*/
        .v-progressbar li:after {
            content: '';
            width: 4px;
            margin-left: 8px;
            height: 20px;
            background: #eee;
            display: block;
            z-index: -1; /*put it behind the numbers*/
        }

        .v-progressbar li:last-child:after {
            /*connector not needed before the first step*/
            content: none;
        }
        /*marking active/completed steps green*/
        /*The number of the step and the connector before it = green*/
        .v-progressbar li.active:before, .v-progressbar li.active:after {
            background: #212529;
            color: white;
        }

a.btn {
    text-decoration: none;
}

    a.btn:hover {
        text-decoration: none;
    }

.form-label {
    color: #6c757d !important;
    font-size: smaller;
    margin: 0;
    padding: 0;
}

.field-validation-error {
    font-size: smaller;
    color: #dc3545;
}

h5, h6 {
    font-weight: lighter;
}

.text-ellipsis-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-ellipsis-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-ellipsis-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

a {
    color: #009fff;
    text-decoration: none;
}

    a:hover, a:focus {
        color: #0070c0;
    }

.breadcrumb-item {
    color: rgba(0, 0, 0, 0.7) !important;
}

    .breadcrumb-item:hover {
        color: rgba(0, 0, 0, 0.9) !important;
    }

    .breadcrumb-item a {
        text-decoration: none !important;
        color: inherit;
    }


.styled-table {
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

    .styled-table thead tr {
        background-color: #009879;
        color: #ffffff;
        text-align: left;
    }

    .styled-table th,
    .styled-table td {
        padding: 4px 15px;
    }

    .styled-table tbody tr {
        border-bottom: 1px solid #dddddd;
    }

        .styled-table tbody tr:nth-of-type(even) {
            background-color: #f3f3f3;
        }

        .styled-table tbody tr:last-of-type {
            border-bottom: 2px solid #009879;
        }


.styled-table-pdf {
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

    .styled-table-pdf thead tr {
        background-color: #009879;
        color: #ffffff;
        text-align: left;
    }

    .styled-table-pdf th,
    .styled-table-pdf td {
        padding: 4px 15px;
    }

    .styled-table-pdf tbody tr {
        border-bottom: 1px solid #dddddd;
    }

        .styled-table-pdf tbody tr:nth-of-type(even) {
            background-color: #f3f3f3;
        }


        .styled-table-pdf tbody tr:last-of-type {
            border-bottom: 2px solid #009879;
        }

@page {
    size: auto;
    margin: 0mm;
}

.right_menu_btn:hover {
    background-color: white;
    transition: 0.2s;
}


.more-items-menu {
    position: relative;
    display: inline-block;
    width: 300px;
}

.more-items-menu-link {
    color: #333;
    text-decoration: none;
    padding: 8px 16px;
    font-size: 16px;
    margin-right: 10px;
}

.more-items-menu-button {
    background-color: transparent;
    border: none;
    color: black;
    padding: 8px;
    font-size: 16px;
    cursor: pointer;
    float: right;
}

.more-items-menu-content {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    padding: 8px;
    border-radius: 16px;
    overflow: hidden;
}

    .more-items-menu-content a {
        color: black;
        padding: 8px 0;
        text-decoration: none;
        display: block;
    }

        .more-items-menu-content a:hover {
            background-color: #f1f1f1;
        }

.grip-icon {
    width: 20px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

    .grip-icon span {
        width: 100%;
        height: 3px;
        background-color: #333;
    }

.more-items-menu:hover .more-items-menu-content {
    display: block;
}

.more-items-menu:hover .more-items-menu-button {
    background-color: #f1f1f1;
}

.card-rounded {
    border-radius: 20px;
    overflow: hidden;
}



/* Footer */
footer {
    background: black;
    color: #fff;
    padding: 60px 20px 30px;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
}

.footer-column h4 {
    color: #c89b3c;
    margin-bottom: 14px;
    font-size: 1.05rem;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

    .footer-column ul li {
        margin: 8px 0;
    }

        .footer-column ul li a {
            color: #ddd;
            text-decoration: none;
            font-size: 0.95rem;
        }

            .footer-column ul li a:hover {
                color: #c89b3c;
            }

.footer-column p {
    color: #ddd;
    font-size: 0.95rem;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 14px;
    margin-top: 10px;
}

    .social-icons a {
        color: #fff;
        font-size: 1.2rem;
        transition: color 0.2s;
    }

        .social-icons a:hover {
            color: #c89b3c;
        }

.payment-logos {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

    .payment-logos img {
        height: 28px;
        object-fit: contain;
    }

.payment-text {
    font-size: 0.9rem;
    color: #ccc;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #aaa;
}
