﻿body {
    background-color: azure;
}

.imageClip {
    width: auto;
    height: 90px;
    overflow: hidden;
}
.imageClip {
    width: auto;
    height: 90px;
    overflow: hidden;
}

.autocomplete {
    position: relative;
    display: inline-block;
}

input {
    border: 1px solid transparent;
    background-color: #f1f1f1;
    padding: 6px;
    font-size: 10px;
}

    input[type=text] {
        background-color: #f1f1f1;
        width: 100%;
    }

    input[type=submit] {
        background-color: DodgerBlue;
        color: #fff;
        cursor: pointer;
    }

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    top: 90%;
    left: 0;
    right: 0;
    text-align: left;
}

    .autocomplete-items div {
        padding: 7px;
        cursor: pointer;
        background-color: #fff;
        border-bottom: 1px solid #d4d4d4;
    }

        .autocomplete-items div:hover {
            background-color: aliceblue;
        }

.autocomplete-active {
    background-color: DodgerBlue !important;
    color: #ffffff;
}

#MainGrid .job-card {
    border-radius: 12px;
    transition: box-shadow .2s ease-in-out;
    box-shadow: 0 3px 10px rgba(0,0,0,.06);
    border-color: rgba(0,0,0,.08);
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    #MainGrid .job-card:hover {
        box-shadow: 0 10px 22px rgba(0,0,0,.12);
    }

.card-header {
    background: linear-gradient(180deg, #ffffff, #fafafa);
    font-weight: 500;
}

#MainGrid .card img {
    max-height: 90px;
    object-fit: contain;
}

#MainGrid .col-sm-6 {
    display: flex;
}

.job-header-title {
    font-weight: 600;
    font-size: 1.15rem;
    line-height: 1.3;
    display: block;
    margin-bottom: .2rem;
}

.job-location {
    color: #6c757d;
    font-size: .95rem;
}

.logo-wrap {
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.salary-box {
    font-weight: 600;
    font-size: 1rem;
}

.apply-wrap {
    margin-top: auto;
}

.exclusive-tag {
    font-size: .85rem;
    text-decoration: none;
    white-space: nowrap;
}

.country-filter-wrap {
    margin: 1.5rem auto 2rem auto;
}

.country-filter-card {
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 4px 16px rgba(0,0,0,.05);
}

    .country-filter-card .card-body {
        padding: 1.5rem 1.5rem 1.25rem 1.5rem;
    }

.country-header {
    margin-bottom: 1rem;
    min-width: 0;
}

    .country-header h4 {
        font-weight: 600;
        margin-bottom: .35rem;
        line-height: 1.2;
        font-size: 1.5rem;
    }

    .country-header .text-muted {
        font-size: 1rem;
        line-height: 1.5;
    }

.country-filter-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: start;
    margin-bottom: 1rem;
}

.country-current-badge {
    align-self: start;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    padding: .7rem .95rem;
    font-size: 1rem;
    max-width: 280px;
}

.country-form {
    width: 100%;
}

.country-select {
    min-height: 0;
    height: auto;
    border-radius: 12px;
    font-size: 1rem;
    line-height: 1.2;
    padding: .45rem .65rem;
    background-color: #fff;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.03);
}

    .country-select option {
        padding: 6px 10px;
    }

    .country-select:focus {
        box-shadow: 0 0 0 .2rem rgba(13,110,253,.12);
    }

@@media (max-width: 767.98px) {
    .country-filter-card .card-body {
        padding: 1.1rem;
    }

    .country-filter-top {
        grid-template-columns: 1fr;
        gap: .75rem;
    }

    .country-current-badge {
        max-width: none;
        width: 100%;
    }

    .country-header h4 {
        font-size: 1.3rem;
    }

    .country-header .text-muted {
        font-size: .95rem;
    }

    .country-select {
        min-height: 240px;
    }
}
