/* Main Container */
.ddk-jobs-container {
    margin: 0 auto;

    position: relative;
}

/* Job Item */
.ddk-job-item {
    position: relative;
    padding: 24px 0;
    border-bottom: 2px solid #b2b2b2;
    transition: border-color 0.3s ease;
    cursor: pointer;
}

/* border-color handled by Elementor */

.ddk-job-content {
    position: relative;
    left: 0;
    transition: left 0.3s ease;
}

.ddk-job-item:hover .ddk-job-content {
    left: 20px;
}

.ddk-job-title {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 600;
}

.ddk-job-title a {
    text-decoration: none;
    color: #1D1D1B;
    transition: color 0.3s ease;
}

.ddk-job-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.ddk-job-badge {
    color: #fff;
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
}

/* color handled by Elementor */

/* Filter Styling */
.ddk-filter-wrapper {
    background: #fff;
    padding: 34px;
    margin-bottom: 32px;
    border-radius: 0;
}

.ddk-filter-wrapper h3 {
    margin-top: 0;
    margin-bottom: 25px;
}

.ddk-filter-main {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.ddk-filter-field {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.ddk-filter-field label {
    text-transform: none;
}

.ddk-filter-field input[type="text"],
.ddk-filter-field select {
    box-sizing: border-box;
    padding: 0 16px;
    border: 2px solid black;
    border-radius: 0px;
    background: #fff;
    outline: none;
    height: 52px;
}

.ddk_standort_main select,
.ddk-bereich-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231D1D1B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 45px !important;
}

.ddk-filter-field input::placeholder {
    color: #1D1D1B;
}

.ddk-filter-field.ddk-radius {
    flex: 0 0 160px;
}

.ddk-radius-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px 10px;
    height: 40px;
}

.ddk-radius-control button {
    background: none;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    padding: 0;
}

.ddk-radius-control .radius-value {
    font-weight: bold;
    font-size: 13px;
    color: #1D1D1B;
}

.ddk-submit-btn {
    /* background handled by Elementor */
    border: none;
    padding: 0 40px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    height: 52px;
    letter-spacing: 0.5px;
}

/* background handled by Elementor */

/* Advanced Filter Toggle */
.ddk-filter-advanced-toggle {
    margin-top: 24px;
    color: #545454;
}

.ddk-filter-advanced-toggle:hover {
    color: #545454;
}

.ddk-filter-advanced-toggle a {
    color: #545454;
}

.ddk-filter-advanced-toggle a:hover {
    color: #545454;
}

.ddk-filter-advanced-toggle .toggle-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
}

.ddk-filter-advanced-toggle .toggle-btn .toggle-icon {
    transition: transform 0.3s ease;
}

.ddk-filter-advanced-toggle .toggle-btn.is-open .toggle-icon {
    transform: rotate(180deg);
}


.ddk-filter-advanced-toggle .toggle-btn:before {
    content: "" !important;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    /* background-color handled by Elementor */
    transition: width 0.5s ease-in-out !important;
}

.ddk-filter-advanced-toggle .toggle-btn:hover:before {
    width: 100% !important;
}

.ddk-filter-advanced {
    display: none;
    padding-top: 20px;
}

.ddk-filter-advanced.is-open {
    display: block;
}

.ddk-advanced-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}

.ddk-bereich-wrapper {
    flex: 1 1 100% !important;
}

.ddk-filter-bundeslaender label {
    font-size: 14px;
    margin-bottom: 15px;
    display: block;
    color: black;
}

.ddk-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.ddk-checkbox-item {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    font-size: 13px;
    cursor: pointer;
    color: #1D1D1B;
}

.ddk-checkbox-item input {
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    margin: 0px;
    border: 2px solid black;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: grid;
    place-content: center;
}

.ddk-checkbox-item input::before {
    content: "";
    width: 12px;
    height: 12px;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    /* background-color handled by Elementor */
}

.ddk-checkbox-item input:checked::before {
    transform: scale(1);
}

.ddk-checkbox-item span {
    padding-left: 16px;
}

/* accent-color handled by Elementor */


/* Result Count */
.ddk-result-count {
    margin-bottom: 80px;
    text-align: center;
}

/* Pagination */
.ddk-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.ddk-pagination .page-numbers {
    padding: 8px 15px;
    border: 2px solid black;
    text-decoration: none;
    color: #1D1D1B;
    border-radius: 0px;
}

.ddk-pagination .page-numbers.current {
    color: #fff;
    /* background and border handled by Elementor */
}

/* Autocomplete */
.ddk-autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    z-index: 100;
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.ddk-autocomplete-list li {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.ddk-autocomplete-list li:hover {
    background: #f0f0f0;
}


/* Recruiter Widget */
.ddk-recruiter-wrapper {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    padding: 20px 0;
}

.ddk-recruiter-image {
    width: 150px;
    flex: 0 0 150px;
}

.ddk-recruiter-image img {
    width: 100% !important;
    height: 150px !important;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

.ddk-recruiter-details {
    flex: 1;
}

.ddk-recruiter-name {
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 700;
}

.ddk-recruiter-phone,
.ddk-recruiter-email {
    margin: 0;
    font-size: 18px;
    color: #333;
}



.ddk-recruiter-email a {
    color: #333;
    text-decoration: none;
}

/* color handled by Elementor */

/* Responsive */
@media (max-width: 768px) {
    .ddk-filter-main {
        flex-direction: column;
        align-items: stretch;
    }

    .ddk-filter-field {
        flex: 1 1 auto;
    }

    .ddk-submit-btn {
        width: 100%;
    }

    .ddk-recruiter-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .ddk-checkbox-grid {
        grid-template-columns: 1fr;
    }
}