@import url("https://fonts.googleapis.com/css2?family=Audiowide&family=Mogra&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

body {
    font-family: "Plus Jakarta Sans", serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

.container-banner {
    background-image: url("/assets/images/search/office.webp");
    background-position: center;
    background-size: cover;
    position: relative;
    min-height: 10rem;
}
.companyCardAdd {
    box-shadow: 0 5px 10px 0.3px rgb(231, 231, 231);
    margin: 1rem;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-height: 320px;
}
.companyCardAdd:hover {
    background-color: rgb(216, 216, 216);
    transform: scale(1.05);
    cursor: pointer;
}

.container-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.container-banner > * {
    position: relative;
    z-index: 2;
}

.hero {
    width: 100%;
    height: auto;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0;
    padding: 0;
}

.hero h1 {
    color: white;
    position: relative;
    z-index: 100;
    top: 0px;
    font-weight: bold;
    text-align: center;
    transition: font-size 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 769px) {
    .hero {
        min-height: 300px;
        left: -24.5px;
    }

    .hero h1 {
        font-size: 1.5rem;
        left: 25px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 250px;
        left: -24.5px;
    }

    .hero h1 {
        font-size: 1.2rem;
        left: 25px;
    }
}

.search-container {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    top: -50px;
    margin-bottom: -60px;
}

.search-bar-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: calc(60% - 40px);
}

.search-input {
    flex: 1;
    padding: 12px 40px 12px 20px;
    border-radius: 6px;
    background-color: #fff;
    border: 1px solid gray;
    font-size: 18px;
    color: black;
}

.search-input::placeholder {
    color: #999;
}

.card {
    transition: all 0.3s ease-in-out;
    border: 0.5px solid rgb(170, 170, 170);
    z-index: 100;
}

.card img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.card:hover {
    border: transparent;
    box-shadow: 0px 0px 10px 5px rgba(228, 232, 252, 0.785);
    cursor: pointer;
    transform: translateY(-2px);
}

.search-button {
    position: relative;
    left: -40px;
    top: 50%;
    border: none;
    color: #b6b6b6;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    background-color: transparent;
}

.radio-container {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 5px;
    margin-left: 48px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #333;
}

.radio-option input[type="radio"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #b6b6b6;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.scrollable-content {
    max-height: 720px;
    overflow-y: auto;
    margin-bottom: 50px;
    margin-top: 0px;
    z-index: 1;
    position: relative;
}

.scrollable-content::-webkit-scrollbar {
    width: 20px;
    background: #d9d9d9;
    border-radius: 5px;
}

.scrollable-content::-webkit-scrollbar-thumb {
    background: #fff;
    border-radius: 5px;
    border: 2px solid #d9d9d9;
}

.scrollable-content::-webkit-scrollbar-thumb:hover {
    background: #b6b6b6;
}

.scrollable-content::-webkit-scrollbar-track {
    background: #d9d9d9;
    border-radius: 5px;
}

.filter-button {
    display: none;
}

/* #searchInput,
#searchButton,
#radioContainer {
    display: none;
} */

@media (max-width: 768px) {
    .search-button {
        position: absolute;
        left: 90%;
        top: 50%;
        border: none;
        color: #b6b6b6;
        padding: 8px 12px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 14px;
        background-color: transparent;
    }

    #filterButton {
        display: none;
    }

    #searchInput,
    #searchButton {
        display: flex !important;
    }

    .search-container {
        width: 100%;
        left: -10px;
        margin-bottom: -65px;
        flex-direction: column;
        align-items: flex-start;
    }

    .search-bar-wrapper {
        width: 100%;
        margin-left: 0;
    }

    .search-input {
        width: 100%;
        padding: 12px 10px;
        font-size: 16px;
        padding-left: 30px;
    }

    .search-button {
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    .tampilanhp {
        display: block;
        width: 100%;
    }

    .filter-button {
        display: inline;
        position: absolute;
        z-index: 999;
        top: 12px;
        left: 2px;
        background: none;
        border: none;
    }

    .radio-container {
        display: none;
    }
    .radio-container.show {
        display: block !important;
        background-color: white;
        margin-left: 0;
        padding: 10px;
        border-radius: 6px;
        position: relative;
        left: -10px;
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-right {
    animation: fadeInRight 0.5s ease forwards;
    z-index: 2;
}

@keyframes fadeInTop {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-top {
    animation: fadeInTop 0.3s ease-in-out;
}

.radioButton {
    position: relative;
    width: 20px;
    height: 20px;
    border: 2px solid #0d6efd;
    border-radius: 50%;
    cursor: pointer;
}

.radioButton::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px; /* bisa disesuaikan */
    height: 10px; /* bisa disesuaikan */
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

@keyframes fadeOutRight {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-30px);
    }
}

.fade-out-right {
    animation: fadeOutRight 0.5s ease forwards;
}

@keyframes fadeOutTop {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-30px);
    }
}

.fade-out-top {
    animation: fadeOutTop 0.3s ease-in-out forwards;
}

@media (max-width: 468px) {
    .search-button {
        left: 85%;
    }
}

.card-content {
    padding: 15px;
}

.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
    margin: 10px 0;
}

/* Atau alternatif lebih stylish */
.divider {
    border: 0;
    height: 1px;
    background-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 0.2),
        rgba(0, 0, 0, 0)
    );
    margin: 12px 0;
}
