/* ==========================================================================
   Coveto Jobboard Public Styles
   ========================================================================== */

/* List Container */
.cjb-list-container {
    margin: 0;
    padding: 0;
}

.cjb-list-title {
    margin-bottom: 10px;
}

.cjb-list-subtitle {
    margin-bottom: 15px;
}

.cjb-count-line {
    margin-bottom: 15px;
    color: #666;
    font-size: 0.9em;
}

/* List Items */
.cjb-items-container {
    margin: 0;
    padding: 0 !important;
    border-radius: 5px;
}

.cjb-item-line {
    padding: 5px 15px;
    margin-bottom: 5px;
    border-radius: 5px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.cjb-item-line:not(.adevis-topjob):nth-child(odd) {
    background: #ececec;
    border: 1px solid #ececec;
}

.cjb-item-line:not(.adevis-topjob):nth-child(even) {
    background: #f6f5f5;
    border: 1px solid #f6f5f5;
}

.cjb-item-line:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #cccccc;
}

.cjb-item-title {
    margin: 0 0 5px 0;
    color: #0850a3;
    line-height: 1em;
    font-weight: 500;
    font-size: 100%;
}

.cjb-item-link {
    text-decoration: none;
    color: #0850a3;
}

.cjb-item-link:hover {
    text-decoration: underline;
}

.cjb-item-apply-link {
    margin-left: 5px;
    font-size: 12px;
    background-color: #fff;
    color: #666;
    padding: 0px 5px;
    border-radius: 5px;
    text-decoration: none;
}

.cjb-item-apply-link:hover {
    background-color: #0850a3;
    color: #fff;
}

.cjb-item-action-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.cjb-item-location {
    color: #575757;
    font-size: 16px;
    margin-bottom: 3px;
}

.cjb-item-category {
    display: inline-block;
    color: #888;
    font-size: 0.85em;
    margin-right: 10px;
}

.cjb-item-employment-type {
    display: inline-block;
    color: #888;
    font-size: 0.85em;
}

.cjb-item-date-line {
    margin-top: 0;
}

.cjb-item-date {
    color: #000;
    font-size: 12px;
    font-weight: bold;
}

.cjb-item-footer {
    margin-top: 5px;
    font-size: 0.85em;
    color: #666;
}

/* Empty List */
.cjb-empty-list {
    padding: 30px 0;
    text-align: center;
    color: #666;
}

/* List Footer */
.cjb-list-footer {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

/* Filter */
.cjb-filter-container {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.cjb-filter-keyword {
    padding: 12px 12px!important;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-width: 200px;
    width:100%;
    font-size: 1.5rem;
}

.cjb-filter-row {
    display: flex;
    gap: 10px;
    width: 100%;
}

.cjb-filter-category,
.cjb-filter-city {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    flex: 1;
}

.cjb-filter-employment-type {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-width: 150px;
}

.cjb-filter-submit {
    padding: 8px 20px;
    border: 1px solid #333;
    border-radius: 4px;
    background: #333;
    color: #fff;
    cursor: pointer;
}

.cjb-filter-submit:hover {
    background: #555;
}

.cjb-filter-reset {
    color: #666;
    font-size: 0.85em;
}

/* Pagination */
.cjb-pagination {
    margin-top: 20px;
    text-align: center;
}

.cjb-page-btn,
.cjb-page-btn-current,
.cjb-page-btn-disabled {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 2px;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-decoration: none;
    color: #333;
}

.cjb-page-btn:hover {
    background-color: #f5f5f5;
}

.cjb-page-btn-current {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

.cjb-page-btn-disabled {
    color: #ccc;
    cursor: default;
}

.cjb-pagination-spacer {
    display: inline-block;
    padding: 6px 4px;
    color: #999;
}

/* Detail */
.cjb-detail-container {
    margin: 0;
    padding: 0;
}

.cjb-detail-title {
    margin-bottom: 15px;
}

/* Application Form */
.cjb-application-form-container {
    margin: 24px 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.cjb-application-form-header {
    margin-bottom: 18px;
}

.cjb-application-form-eyebrow {
    margin-bottom: 10px;
    color: #6b7280;
    font-size: 1rem;
    font-weight: 400;
}

.cjb-application-form-title {
    margin: 0 0 16px;
    color: #111827;
    font-size: clamp(2rem, 3vw, 2.7rem);
    font-weight: 700;
    line-height: 1.15;
}

.cjb-application-form-info {
    max-width: 900px;
    margin: 0 0 16px;
    color: #666;
    font-size: 1.05rem;
    line-height: 1.5;
}

.cjb-application-messages {
    display: none;
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 6px;
}

.cjb-application-messages.is-error,
.cjb-application-messages.is-success {
    display: block;
}

.cjb-application-messages.is-error {
    background: #fff1f2;
    color: #9f1239;
}

.cjb-application-messages.is-success {
    background: #ecfdf5;
    color: #166534;
}

.cjb-application-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.cjb-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cjb-form-field-full {
    grid-column: 1 / -1;
}

.cjb-form-field input,
.cjb-form-field select,
.cjb-form-field textarea,
.cjb-application-upload input[type="file"] {
    width: 100%;
    padding: 10px 12px!important;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    background: #efefef;
    color: #111827;
    box-shadow: none;
}

.cjb-form-field label {
    color: #666;
    font-size: 1rem;
}

.cjb-form-field textarea {
    min-height: 120px;
    resize: vertical;
}

.cjb-input-error {
    border-color: #c81e1e !important;
}

.cjb-field-error,
.cjb-privacy-error {
    color: #b91c1c;
    font-size: 0.95rem;
    margin-top: 6px;
}

.cjb-application-upload {
    margin-top: 26px;
}

.cjb-application-upload-title {
    margin: 0 0 6px;
    color: #333;
    font-size: 1.8rem;
    font-weight: 400;
}

.cjb-application-upload input[type="file"] {
    display: inline-block;
    width: auto;
    padding: 8px 10px;
    border: 0;
    background: #bcbcbc;
    color: #fff;
    cursor: pointer;
}

.cjb-application-upload-info {
    margin-top: 8px;
    color: #666;
    font-size: 1rem;
}

.cjb-application-footer {
    margin-top: 22px;
}

.cjb-privacy-label {
    display: block;
    margin-bottom: 10px;
    color: #666;
}

.cjb-application-submit-info {
    margin: 0 0 14px;
    color: #555;
    font-size: 1rem;
    font-weight: 600;
}

.cjb-application-submit {
    border: 0;
    border-radius: 2px;
    background: #0f4c81;
    color: #fff;
    padding: 12px 22px;
    cursor: pointer;
}

.cjb-application-submit:disabled {
    opacity: 0.6;
    cursor: progress;
}

.cjb-honeypot {
    position: absolute;
    left: -9999px;
}

.cjb-application-error {
    color: #b91c1c;
}

@media (max-width: 767px) {
    .cjb-application-form-container {
        padding: 0;
    }

    .cjb-application-form-title {
        font-size: 2rem;
    }
}

.cjb-detail-description {
    margin-bottom: 20px;
    line-height: 1.6;
}

.cjb-detail-footer {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

/* Not Found */
.cjb-notfound {
    padding: 40px 0;
    text-align: center;
    color: #666;
}

/* Jobdetails */
.cjb-jobdetails-container {
    margin: 15px 0;
}

.cjb-jobdetails-header {
    font-weight: bold;
    margin-bottom: 10px;
}

.cjb-jobdetails-line {
    padding: 5px 0;
}

.cjb-jobdetails-label {
    font-weight: bold;
    color: #555;
}

.cjb-jobdetails-value {
    color: #333;
}

/* Description */
.cjb-description {
    line-height: 1.6;
}

.cjb-description-footer {
    margin-top: 15px;
}

/* Buttons */
.cjb-apply-button,
.cjb-back2list-button,
.cjb-whatsapp-button {
    margin: 10px 0;
}

.cjb-apply-link,
.cjb-back2list-link,
.cjb-whatsapp-link {
    display: inline-block;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 4px;
    color: #fff;
}

.cjb-apply-link:hover,
.cjb-back2list-link:hover,
.cjb-whatsapp-link:hover {
    color: #fff;
}

.cjb-whatsapp-link {
    background-color: #25D366;
}

.cjb-whatsapp-link:hover {
    background-color: #128C7E;
}

/* Jobshare */
.cjb-jobshare-container {
    margin: 15px 0;
}

.cjb-jobshare-header {
    font-weight: bold;
    margin-bottom: 10px;
}

.cjb-jobshare-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cjb-jobshare-buttons a {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 0.9em;
}

.cjb-jobshare-buttons a:hover {
    background-color: #f5f5f5;
}

/* Google Maps */
.cjb-googlemaps-container {
    margin: 15px 0;
}

.cjb-googlemaps-header {
    font-weight: bold;
    margin-bottom: 10px;
}

.cjb-googlemaps-container iframe {
    border: 0;
    width: 100%;
}

/* Searchbox */
.cjb-searchbox-container {
    margin-bottom: 20px;
}

.cjb-searchbox-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.cjb-searchbox-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.cjb-searchbox-keyword {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-width: 200px;
}

.cjb-searchbox-category,
.cjb-searchbox-city {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.cjb-searchbox-submit {
    padding: 8px 20px;
    border: 1px solid #333;
    border-radius: 4px;
    background: #333;
    color: #fff;
    cursor: pointer;
}

.cjb-searchbox-submit:hover {
    background: #555;
}

.cjb-searchbox-reset-container {
    margin-top: 5px;
    width: 100%;
}

.cjb-searchbox-reset {
    color: #666;
    font-size: 0.85em;
}

/* Image */
.cjb-image {
    max-width: 100%;
    height: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .cjb-filter-container,
    .cjb-searchbox-form {
        flex-direction: column;
    }

    .cjb-filter-row {
        flex-direction: column;
    }

    .cjb-filter-keyword,
    .cjb-filter-category,
    .cjb-filter-city,
    .cjb-filter-employment-type,
    .cjb-searchbox-keyword,
    .cjb-searchbox-category,
    .cjb-searchbox-city {
        width: 100%;
        min-width: unset;
    }

    .cjb-jobshare-buttons {
        flex-direction: column;
    }
}

/* Contact */
.cjb-contact-container {
    margin: 20px 0;
    padding: 15px;
}

.cjb-contact-header {
    margin-bottom: 10px;
}

.cjb-contact-name {
    font-weight: bold;
    margin-bottom: 2px;
}

.cjb-contact-position {
    margin-bottom: 2px;
}

.cjb-contact-company {
    margin-bottom: 5px;
}

.cjb-contact-address {
    margin-bottom: 5px;
}

.cjb-contact-phone,
.cjb-contact-email {
    margin-bottom: 2px;
}

.cjb-contact-phone a,
.cjb-contact-email a {
    text-decoration: none;
}

.cjb-contact-phone a:hover,
.cjb-contact-email a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Coveto API - Statische Layout-Styles
   Quelle: Coveto API html-Feld (<style>-Bloecke)
   Dynamische Styles (Bilder, Kundenfarben) werden weiterhin via API geladen.
   ========================================================================== */

.custom-quickapply {
    justify-content: space-between;
    align-items: center;
    padding: 20px 10px;
    background-color: #333;
    color: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
}

.custom-logo {
    max-width: 200px;
    margin: 0 auto;
    margin-top: 40px;
}

.custom-body {
    max-width: 950px;
    margin: auto;
    box-shadow: 0 0 20px rgb(0, 0, 0, 0.3);
    background-color: #fff;
}

.custom-paper {
    flex: 2;
}

.custom-identifier-slogan {
    flex: 0 0 50%;
    padding: 20px;
    font-size: 30px;
    line-height: 1.1;
}

.custom-identifier-bild {
    flex: 0 0 50%;
    background-size: cover;
    background-position: center;
    min-height: 200px;
}

.custom-inner {
    padding: 20px;
}

.custom-sidebar {
    flex: 1;
    background-color: #414549;
    color: #fff;
}

#coveto_public .custom-sidebar * {
    color: #fff;
}

.custom-sidebar .ctabtnp,
.custom-sidebar .ctabtns,
.custom-sidebar .ctabtnwa {
    display: inline-block;
    width: 80%;
}

#coveto_public h1 {
    border-bottom: 1px dashed;
}

.custom-share {
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
}
