@keyframes waveBackground {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.stellenangebote-search-container {
    text-align: center;
    background: linear-gradient(135deg, #e03e2c, #14addf, #ee8917);
    background-size: 300% 300%;
    animation: waveBackground 10s ease infinite;
    padding: 80px;
    color: white;
}

.stellenangebote-search-heading {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
    color: white !important;
}

.stellenangebote-search-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.stellenangebote-search-input, .stellenangebote-radius-dropdown, .stellenangebote-search-button {
    padding: 10px;
    border-radius: 8px;
    border: none;
    font-size: 15px;
    height: 45px;
}

.stellenangebote-radius-selection label {
    font-size: 16px;
}

.stellenangebote-radius-dropdown {
    background-color: transparent;
    color: white;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='14' height='10' viewBox='0 0 14 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23FFFFFF' stroke-width='2' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    padding-right: 30px;
}

/* Schriftfarbe beim Ausklappen (nur bei Interaktion) */
.stellenangebote-radius-dropdown:focus {
    color: black;
    background-color: white;
}

/* Option-Farben (funktioniert nicht überall, aber in Firefox z. B.) */
.stellenangebote-radius-dropdown option {
    color: black;
    background-color: white;
}


.stellenangebote-search-input {
    width: 250px;
}

.stellenangebote-search-button {
    background-color: #ffffff;
    color: #e03e2c;
    cursor: pointer;
    font-weight: bold;
    border: 1px solid #e03e2c;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.stellenangebote-radius-selection {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: transparent;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stellenangebote-search-form {
        flex-direction: column;
        align-items: center;
    }
    .stellenangebote-search-input, .stellenangebote-radius-dropdown, .stellenangebote-search-button {
        width: 100%;
        max-width: 300px;
    }
    .stellenangebote-radius-selection {
        flex-direction: column;
        align-items: center;
        gap: 5px;
        display: ruby;
    }
}

/* Mobile-spezifische Anpassungen für Chrome */
@media only screen and (max-width: 768px) and (-webkit-min-device-pixel-ratio: 1) {
    .stellenangebote-radius-selection {
        display: block;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .stellenangebote-radius-selection label {
        margin-right: 5px;
        display: inline-block;
    }

    .stellenangebote-radius-dropdown {
        width: auto;
        display: inline-block;
    }
}

.stellenangebote-search-subtext {
    margin-top: 10px;
    font-size: 14px;
    margin-bottom: 0;
}

.stellenangebote-search-results-container {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.stellenangebote-search-results {
    margin-top: 40px;
}
.stellenangebote-search-result {
    border: 1px solid #ccc;
    padding: 16px;
    border-radius: 8px;
    background: #f9f9f9;
}
.stellenangebote-search-result a {
    text-decoration: none;
    color: unset;
}

.stellenangebote-search-result:hover .stellenangebote-search-result-btn {
    background-color: #14addf;
    color: white !important;
    border: 1px solid #14addf;
}
.stellenangebote-search-result-btn {
    background-color: #e2001a;
    color: white !important;
    border: 1px solid #e2001a;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s;
}

.stellenangebote-search-results-container p {
    font-size: 16px;
    margin: 0 0 10px 0;
    line-height: 1.5;
    display: inline-block;
}
.stellenangebote-search-results-container h3 {
    font-size: 20px;
    margin-bottom: 15px;
}
@media (min-width: 1200px) {
    .stellenangebote-search-results-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .stellenangebote-search-results-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .stellenangebote-search-results-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stellenangebote-search-results-container {
        grid-template-columns: repeat(1, 1fr);
    }
}

.no-results-message {
    text-align: center;
    font-size: 16px;
    color: #e03e2c;
    margin-top: 20px;
}
