.lastsearchedc .clip {
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    /* Backward Triangle */

    background: hsla(20, 80%, 45%, 1);
    /* Base color */

    background: linear-gradient(90deg, hsla(20, 80%, 45%, 1) 0%, hsla(10, 75%, 50%, 1) 50%, hsla(280, 60%, 40%, 1) 100%);

    background: -moz-linear-gradient(90deg, hsla(20, 80%, 45%, 1) 0%, hsla(10, 75%, 50%, 1) 50%, hsla(280, 60%, 40%, 1) 100%);

    background: -webkit-linear-gradient(90deg, hsla(20, 80%, 45%, 1) 0%, hsla(10, 75%, 50%, 1) 50%, hsla(280, 60%, 40%, 1) 100%);

    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#E67E22", endColorstr="#6B28A5", GradientType=1);

    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 1;
    opacity: 0.3;
}



.lastsearchedc .hero-text {
    font-size: 20px;
    color: white;
}

.lastsearchedc .main-wrapper {
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 50px;
    align-items: center;
    justify-content: center;
}

/* .hero-image {
max-width: 950px;
width: 98%;
border-radius: 8px;
}
*/
.lastsearchedc .left-block {
    padding-top: 50px;
    z-index: 2;
    display: flex;
    height: 100%;
    flex-direction: column;
    align-content: space-around;
    justify-content: space-evenly;
    color: white;
}

.lastsearchedc .right-block {
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 90%;
    justify-content: center;
    text-align: center;
    padding-bottom: 25px;
    gap: 25px;
}


.lastsearchedc .hero-section {
    /* min-height: 500px; */
    background-color: #2C3444 !important;
    margin-top: 90px;
}


/* Container Spacing */
.lastsearchedc .container {
    padding-top: 50px;
    padding-bottom: 50px;
}

/* search company */

/* .search-company-form {
    padding-top: 3rem;
} */

.last_Search {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.search-title {
    color: white;
    margin-bottom: 20px;
}

.company-logo img {
    max-width: 100%;
    width: 550px;
    /* Ensures the logo fits within the container */
    height: auto;
    /* Maintains aspect ratio */
    display: block;
    margin: 0 auto;
    padding-bottom: 50px;
    /* Centers the logo */
}


.search-box {
    /* width: 100% !important; */
    width: 80% !important;
}

.input-group {
    display: flex;
    align-items: center;
}

div.search-company-form::after {
    content: "";
    clear: both;
    display: table;
}

div.search-company-form button {
    float: left;
    width: 50px;
    padding: 23px;
    background: linear-gradient(to left top, #0270D7, rgba(2, 112, 215, 0));
    color: white;
    font-size: 17px;
    border: 2px solid #2a6fdb;
    border-left: none;
    cursor: pointer;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.search-box .search-input {
    border: 2px solid #2A6FDB !important;
    padding: 10px !important;
    border-top-left-radius: 6px !important;
    border-bottom-left-radius: 6px !important;
}

.search-box .search-box-icon {
    left: 0 !important;
    right: 1rem !important;
}

.search-box-icon {
    margin-left: auto;
}


/* last search */

/* Scrollable container */
/* .latestcompy-scrollable-list {
    max-height: 400px;
    
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}


.latestcompy-scrollable-list::-webkit-scrollbar {
    width: 6px;

}

.latestcompy-scrollable-list::-webkit-scrollbar-track {
    background: #f1f1f1;

    border-radius: 10px;
}

.latestcompy-scrollable-list::-webkit-scrollbar-thumb {
    background: #888;

    border-radius: 10px;
}

.latestcompy-scrollable-list::-webkit-scrollbar-thumb:hover {
    background: #555;
   
} */




@media (min-width: 992px) and (max-width: 1075px) {
    .search-company-form {
        padding-top: 3rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .search-company-form>h5 {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .lastsearchedc .hero-section {
        margin-top: 0 !important;
    }
}

@media (max-width: 600px) {
    .latestcompy-cb-logo {
        width: 50px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .latestcompy-l-logo {
        width: 50px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}