.main-logo {
    height: 50px;
}

@media (max-width: 767px) {

    .main-logo {
        height: 35px;
    }
}

.form-control {
    text-align: right;
    border-radius: 8px;
    border: 1px solid #d5dae0;
}

/* ++++++++++ Category Card ++++++++++ */
/* Styles for category cards, including layout, item presentation, and active states */

.category-cards {
    border-bottom: 1px solid var(--color-gray-200);
    padding: 20px 0;
}

.category-cards:last-child {
    border-bottom: none;
}

.category-cards .items {
    display: flex;
    flex-wrap: wrap;
}

.category-card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    position: relative;
    margin: 3px;
    padding: 5px;
    width: calc((100% - 30px) / 5);
    border-radius: var(--border-radius);
    border: 1px solid transparent;
    cursor: pointer;
}

.category-card .input {
    -webkit-appearance: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    margin: 0;
    outline: none;
}

.category-card input[type="checkbox"],
.category-card input[type="radio"] {
    border: none;
}

.category-card input[type="checkbox"]:checked,
.category-card input[type="radio"]:checked {
    background: none;
    border: none;
}

.category-card .img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: var(--color-gray-100);
    border: 2px solid var(--color-gray-200);
    margin-bottom: 3px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.category-card .label {
    font-size: 13px;
    line-height: 15px;
    height: 55px;
    overflow: hidden;
    margin-top: 5px;
    color: var(--color-black);
}

.category-cards .title {
    font-size: var(--text-x-large);
}

.category-cards .item-label {
    line-height: 18px;
}

/* Active state styles for the category card */
.category-card.active .img {
    border: 2px solid #bb1919;
    background-color: var(--color-mistyRose);
}

.category-card.active .item-label {
    color: #bb1919;
    font-weight: bold;
}

/* Responsive styles for category cards */
@media (max-width: 767px) {
    .category-card {
        width: calc((100% - 24px) / 4);
    }
}

/* ---------- End Category Card ---------- */


/* ++++++++++ Modal ++++++++++ */
/* Styles for modal window, including content layout, loading state, and responsiveness */

.modal {
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 900;
}

.modal .modal-content {
    border-radius: var(--border-radius);
}

.modal-header h3 {
    font-size: 20px;
}

.modal-footer__button {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

/* Modal type selection list */
.modal-type ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.modal-type ul li {
    flex-grow: 1;
    flex-shrink: 0;
    margin: 0 5px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-type ul li:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 12px 0 hsla(0, 0%, 71%, 0.51);
}

/* Icon styles for modal options */
.modal-type li .icon {
    width: 120px;
    height: 120px;
    background-size: cover;
    background-repeat: no-repeat;
}

.modal-type li .service-icon {
    background-image: url(./../images/customer-support.png);
}

.modal-type li .product-icon {
    background-image: url(./../images/shopping-cart.png);
}

.modal-type li.active {
    background-color: var(--color-mistyRose);
}

/* Form title styling in the modal */
.modal-form-title {
    text-align: justify;
    line-height: 1.5;
}

/* Loading state for modal */
.modal-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 910;
}

.modal-loading .modal-content {
    border-radius: var(--border-radius);
}

.modal-loading .modal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Modal body */
.modal-body {
    max-height: 650px;
    overflow: auto;
    padding: 0;
}

/* Dialog box styling */
.modal-dialog {
    max-width: 550px;
}

/* Responsive styles for modal */
@media (max-width: 767px) {
    .modal-loading {
        display: block;
    }

    .modal-fullscreen .modal-dialog {
        max-height: 100vh;
        margin: 0;
        height: 100%;
        max-width: 100%;
    }

    .modal-fullscreen .modal-content {
        border-radius: 0;
        margin: 0;
        border: 0;
        height: 100%;
    }

    .modal-fullscreen .modal-header {
        height: 50px;
        width: 100%;
        background-color: #fff;
        position: fixed;
        top: 0;
        right: 0;
        display: flex;
        z-index: 1500;
    }

    .modal-fullscreen .modal-body {
        margin-top: 50px;
        overflow-y: auto;
        max-height: 100vh;
    }
}

/* ---------- End Modal ---------- */


/* ++++++++++ nav-menu ++++++++++ */
/* Styles for the navigation menu, including item layout and user interaction */

.nav-menu {
    list-style: none;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin: 0;
}

.nav-menu .items{
    background-color: #fff;
    border : 1px solid var(--color-gray-200);
    border-radius: var(--border-radius);
}

.nav-menu .item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--seperator-color);
    padding: 15px 10px;
    cursor: pointer;
}

.nav-menu .item:last-child {
    border-bottom: 0;
}

.nav-menu .title {
    font-weight: 100;
    font-size: var(--text-size);
    margin: 0 10px 0 0 ;

}

.nav-menu .item-content {
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-menu .item-content i {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    font-size: 18px;
}

.nav-menu .router-link-active .title{
    color: var(--dark-red);
    font-weight: 500;
    flex-grow: 1;
}

.nav-menu .router-link-active .fa-chevron-left{
    color: var(--dark-red);
}


/* ++++++++++ nav-tabs ++++++++++ */
/* Styles for navigation tabs, focusing on layout and active state */

.nav-tabs .nav-item {
    flex-grow: 1;
    margin: 0;
    flex-shrink: 0;
}

.nav-tabs .nav-link {
    font-size: var(--text-size);
    text-align: center;
    border: 0;
    background-color: unset;
}

.nav-tabs .nav-link.active {
    border-bottom: 5px solid var(--dark-red);
    color: var(--dark-red);
    background-color: unset;
}

/* ============================= */
/*            nav-body           */
/* ============================= */
.nav-body {
    padding: 20px;
    /*min-height: 400px;*/
}

/* ============================= */
/*        Responsive Styles      */
/* ============================= */

@media (max-width: 767px) {
    /*.nav-menu {*/
    /*    position: fixed;*/
    /*    top: 59px;*/
    /*    left: 0;*/
    /*}*/

    /*.nav-menu .items{*/
    /*    display: flex;*/
    /*    flex-direction: row;*/
    /*    position: fixed;*/
    /*    top: 90px;*/
    /*    left: 0;*/
    /*    width: 100%;*/
    /*    z-index: 99;*/
    /*    border: 0;*/
    /*    border-radius: 0;*/
    /*    border-bottom: 1px solid var(--seperator-color);*/
    /*}*/

    /*.nav-menu .item-content {*/
    /*    flex-direction: column;*/
    /*}*/

    /*.nav-menu .item > i {*/
    /*    display: none;*/
    /*}*/


    /*.nav-menu .item {*/
    /*    width: calc(100% / 6);*/
    /*    padding: 7px 3px;*/
    /*    flex-grow: 1;*/
    /*    flex-shrink: 0;*/
    /*    justify-content: center;*/
    /*    border: 0;*/
    /*    border-left: 1px solid var(--seperator-color);*/
    /*}*/

    /*.nav-menu .title {*/
    /*    font-size: 10px;*/
    /*    margin-top: 5px;*/
    /*    text-align: center;*/
    /*    color: #000;*/
    /*    height: 25px;*/
    /*    overflow: hidden;*/
    /*    font-weight: 500;*/
    /*    margin-right: 0;*/
    /*}*/

    /*.nav-menu .item-content i {*/
    /*    margin: 0;*/
    /*}*/

    /*.nav-menu .item-content .arrow-icon{*/
    /*    display: none;*/
    /*}*/
}



/* Main Content Styles */
#main-content {
    /*padding: 35px 0;*/
    position: relative;
}

@media only screen and (max-width: 991px) {
    #main-content {
        /*padding:90px 0;*/
    }
}


/* ============================= */
/*         Page Styles          */
/* ============================= */
.page-inventories {
    background-color: #075e5482;
}

.page-rfqs {
    background-color: #93becf;
}

/* ============================= */
/*         Card Styles          */
/* ============================= */
.rfq-cards {
    padding: 10px;
}

.rfq-card {
    display: flex;
    flex-direction: row;
    position: relative;
    border-radius: var(--border-radius);
    border: var(--card-border);
}

.rfq-card.expired {
    background-color: var(--color-mistyRose);
    border-color: #ffcdcd;
}

/* ============================= */
/*      Card Header/Footer       */
/* ============================= */
.rfq-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--seperator-color);
    padding: 10px;
}

.rfq-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--seperator-color);
    padding: 10px;
}

/* ============================= */
/*     Card Content Styles       */
/* ============================= */
.rfq-card-main {
    width: calc(100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rfq-card-content {
    padding: 20px;
    overflow: hidden;
}

/* ============================= */
/*       Card Item Styles        */
/* ============================= */
.rfq-card .title {
    font-weight: var(--font-medium);
    font-size: var(--text-large);
    margin-bottom: 20px;
}

.rfq-card .description .value {
    font-size: var(--text-size);
    line-height: 28px;
}

.rfq-card .date {
    color: var(--green);
    font-size: var(--text-small);
    flex-shrink: 0;
}

/* ============================= */
/*        RFQ Form Styles        */
/* ============================= */
.rfq-form .rfq-card {
    background-color: var(--color-gray-100);
}

/* ============================= */
/*      Floating Button Styles    */
/* ============================= */
.rfq-add.float-btn {
    position: fixed;
    bottom: 65px;
    left: 10px;
    z-index: 2;
}

.rfq-add.float-btn img {
    width: 50px;
    box-shadow: var(--card-shadow-1);
    border-radius: 50%;
}


/*------------------------------------------*/
/*             Attachment Section           */
/*------------------------------------------*/

/* Attachment Row Layout */
.attachment-row {
    margin-right: -5px;
    margin-left: -5px;
}

.attachment-row > div {
    padding-right: 5px;
    padding-left: 5px;
}

/* Attachment Box Positioning */
.attachment-box {
    position: relative;
}

.attachment-box:before {
    content: "";
    display: block;
    padding-top: 100%;
}

/* Attachment Content Styling */
.attachment-content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    color: #fff;
    line-height: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--seperator-color);
    border-radius: 15px;
    overflow: hidden;
}

/* Attachment Image Styling */
.attachment-image {
    width: 100%;
    height: 100%;
    flex: 1;
    background-size: cover;
    background-repeat: no-repeat;
    flex-shrink: 0;
    background-position: center;
    display: flex;
}

.attachment-image .image {
    width: 100%;
    height: 100%;
    background-size: cover;
}

.attachment-image .document {
    width: 70%;
    height: 70%;
    background-position: center;
    background-repeat: no-repeat;
    margin: auto;
}

/* Footer Section for Attachment Details */
.attachment-footer {
    padding: 0 5px;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    align-items: center;
    height: 25px;
    color: #000;
}

.attachment-footer .name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: right;
}

.attachment-footer .size {
    font-size: 10px;
    color: #666;
}

/* Icons for Attachment Actions */
.attachment-icons {
    position: absolute;
    display: flex;
    top: 5px;
    right: 5px;
    cursor: pointer;
}

.attachment-icon {
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: white;
    flex-shrink: 0;
    margin-left: 5px;
}

.attachment-icon i {
    font-size: 21px;
}


/* ========== Profile Box Container ========== */

.profile-box {
    background-color: #272729;
    background-image: url("../images/pattern-7.svg");

    background-size: cover;
    background-position: center center;
    overflow: hidden;
    border-radius: var(--border-radius);
}

/* ========== Profile Box Header ========== */
.profile-box_header {
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background-size: cover;
}

.profile-box_header-img {
    height: 100px;
    width: 100px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: relative;
    background-color: #fff;
}

.profile-box_header-img img {
    height: 100%;
}

.profile-box_header-content {
    margin-top: 8px;
    text-align: center;
}

/* ========== Profile Box Text Styles ========== */
.profile-box .name {
    color: #fff;
    font-size: 1.2rem;
}

.profile-box .additional_name {
    font-size: 13px;
    color: #fff;
}

/* ========== Profile Box Tabs ========== */
.profile-box_tabs {
    background-color: #172937;
    display: flex;
    border-top: 1px solid #4a4a4a;
}

.profile-box_tabs .profile-box_tab:first-child {
    border-left: 1px solid #4a4a4a;
}

.profile-box_tab {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    height: 45px;
}

/* ========== Icon Styles ========== */

.img-round {
    flex-shrink: 0;
    height: 100px;
    border-radius: 50%;
    width: 100px;
    border: 1px solid #eee;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    display: inline-block;
    background-color: #fff;
    position: relative;
}

.img-round .icon-float {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    position: absolute;
    left: 3px;
    top: 3px;
    cursor: pointer;
}

/* ========== Media Queries ========== */
@media (max-width: 767px) {

}


/* ++++++++++ Profile Navbar ++++++++++ */

.profile-navbar{
    background-color: #fff;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--seperator-color);
    height: 80px;
    flex-wrap : nowrap;
}

.profile-navbar #navbar-content{
    margin: 0;
}


/* ---------- Profile Navbar ---------- */


/* ++++++++++ Profile ++++++++++ */

.premium-user {
    background-image: url("../images/premium-bg-4.jpg");
}

.nav-profile {
    margin-bottom: 0 !important;
}

.nav-profile .nav-link {
    padding: 10px 10px;
    cursor: pointer;
}

.nav-profile .nav-item {
    flex-grow: 1;
    text-align: center;
}


.nav-profile-body {
    padding: 35px 25px;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-top: 0;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.profile-headline {
    font-size: 20px;
    font-weight: 400;
    color: #000;
    margin: 10px 0;
    padding: 0 4px;
    align-items: center;
    border-right: 4px solid #bb1919;
    display: flex;
    line-height: 25px;
    justify-content: space-between;
}

.profile-headline .icon {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: #bb1919;
}

.profile-card {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    border: var(--card-border);
    border-radius: var(--border-radius);
}

.profile-card_icons {
    width: 40px;
    height: auto;
    background-image: url(./../images/17580.jpg);
    background-position: center;
    background-size: cover;
    padding: 5px 0;
    flex-shrink: 0;
    border-left: 1px solid #dedede;
}

.profile-card_icons .icon {
    flex-direction: column;
    align-items: center;
}

.profile-card_icons .icon li {
    margin-left: 0;
    margin-bottom: 5px;
    width: 24px;
    height: 24px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.profile-card_icons .icon li i {
    font-size: 14px;
    margin: 0;
    padding: 0;
}

.profile-card_icons .icon {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

.profile-card_main {
    width: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.profile-card_content {
    min-height: 140px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.profile-card_col i {
    color: var(--color-gray-700);
    margin-left: 5px;
    width: 27px;
    height: 27px;
    line-height: 26px;
    text-align: center;
    background-color: var(--color-gray-200);
    border-radius: 50%;
    font-size: 16px;
    border: 1px solid var(--color-gray-300);
}

.profile-card_col {
    margin-bottom: 7px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.profile-card_col:first-child {
    border-right: none;
}

.card-h.profile-card {
    flex-direction: column;
}

.card-h .profile-card_icons {
    width: auto;
    height: 45px;
}

.card-h .profile-card_icons {
    border-left: 0;
    border-top: 1px solid #dedede;
}

.card-h .profile-card_icons .icon {
    flex-direction: row;
}

.card-h .profile-card_main {
    width: auto;
}


