/*!************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./public/css/newDropDown.css ***!
  \************************************************************************************************************************************************************************************************************************************************************************/
.autocomplete-container {
    position: relative;
    width: 100%;
}

.autocomplete-input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    border-radius: 5px;
    z-index: 900;
    display: block;
}

.autocomplete-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.autocomplete-list li {
    padding: 10px;
    cursor: pointer;
}

.autocomplete-list li:hover {
    background-color: #f0f0f0;
}

/* NEW Add property form list--------------------------------------------- */
.dropdown-container {
    position: relative;
    width: 250px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.dropdown-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
}

.dropdown-item {
    padding: 10px 15px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s;
    border-radius: 4px;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #ffdbdb6c;
    border: 1px solid #ff4d4d;
}

.item-content {
    display: flex;
    align-items: center;
    position: relative;
}

.item-icon {
    margin-right: 12px;
    color: #ff5050;
    font-size: 20px;
}

.item-name {
    flex-grow: 1;
    color: #333;
    align-items: center;
    font-size: 19px;
    font-weight: 500;
}

.item-arrow {
    color: #ff5050;
    transition: transform 0.2s;
    margin-left: 8px;
}

.dropdown-item.active .item-arrow {
    transform: rotate(90deg);
}

.sub-dropdown-container {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 200px;
    padding-left: 8px;
    z-index: 999;
}

.sub-dropdown-list {
    list-style: none;
    padding: 8px 0;
    margin: 0;
    background: #fff;
    border-radius: 0 8px 8px 8px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
}

.sub-dropdown-item {
    padding: 5px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.2s;
}

.sub-dropdown-item:hover {
    background-color: #ffdbdb6c;
    font-weight: 500;
}

.sub-item-icon {
    margin-right: 12px;
    color: #ff5050;
    font-size: 14px;
}

.sub-item-name {
    color: #555;
    font-size: 16px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .dropdown-container {
        width: 100%;
    }

    .sub-dropdown-container {
        position: static;
        padding-left: 0;
        padding-top: 8px;
        min-width: auto;
    }

    .sub-dropdown-list {
        box-shadow: none;
        border-radius: 0 0 8px 8px;
        background: #f9f9f900;
    }

    .sub-dropdown-item {
        padding-left: 20px;
    }
}

/* Add Cars form Color list--------------------------------------------- */
.dropdownContainer {
    position: relative;
    max-width: 100%;
}

.dropdownHeader {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid #e4e4e4;
    border-radius: 8px;
    background-color: white;
    cursor: pointer;
    gap: 8px;
    font-family: "Josefin Sans", sans-serif;
    color: #161e2d;
    line-height: 28px;
}

.dropdownHeader:hover {
    border-color: #e0e0e0;
}

.dropdownHeader:after {
    border-bottom: 1.7px solid #161e2d;
    border-right: 1.7px solid #161e2d;
    content: "";
    height: 8px;
    width: 8px;
    margin-top: -6px;
    pointer-events: none;
    position: absolute;
    right: 18px;
    top: 50%;
    transform-origin: 66% 66%;
    transform: rotate(45deg);
    transition: all 0.15s ease-in-out;
}

.dropdownList {
    position: absolute;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
    z-index: 1000;
    margin-top: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

    &::-webkit-scrollbar {
        display: none;
    }

    -ms-overflow-style: none;
    scrollbar-width: none;
}

.dropdownItem {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    gap: 8px;
}

.dropdownItem:hover {
    background-color: #f5f5f5;
}

.dropdownItem.selected {
    background-color: #e0e0e0;
}

.colorSwatch {
    width: 16px;
    height: 16px;
    border: 1px solid #ddd;
    border-radius: 3px;
    display: inline-block;
}

/* Main Menu sub list--------------------------------------------- */
.mainSubListContainer {
    position: absolute;
    left: 280px;
    top: 10px;
    width: inherit;
    background: #ffffff;
    border-radius: 12px;
    padding: 15px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(-20px);
    animation: slideFadeIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    z-index: 100;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.mainMenuSublist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mainMenuSublist li {
    padding: 3px 20px;
    width: 100%;
    margin: 2px 0;
    color: #333333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.mainMenuSublist li:hover {
    background: linear-gradient(90deg, #faf5f5 0%, #ede4e4 100%);
    color: #e52c2c;
    transform: translateX(5px);
}

.mainMenuSublist li:active {
    transform: translateX(5px) scale(0.98);
}

.mainMenuSublist li:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20px;
    right: 20px;
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
}

@keyframes slideFadeIn {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInMove {
    0% {
        opacity: 0;
        transform: translateX(-5px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


.mobile-open {
    display: none;
}

@media (max-width: 759px) {
    .flat-tab-form .nav-tab-form {
        display: none;
    }
    .mobile-close {
        display: none;
    }
    .mobile-open {
        display: block;
    }
}

.tabs-container {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 10px;
}

.tabs-container .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    padding: 10px;
    height: 80px;
    background-color: #e7e7e7;
    border-radius: 5px;
    cursor: pointer;
}

.tabs-container .card .icon {
    width: 100%;
    font-size: 25px;
    color: #2e0000;
}

.tabs-container .card span {
    width: 100%;
    font-size: 10px;
    text-align: center;
    line-height: normal;
}
