/* ===========================================================
   RRPH Edit-Tour — Inline ACF-Form, Toast
   =========================================================== */

#acf-form {
    margin-top: 50px;
}

/* ----- ACF Frontend-Form innerhalb #edittourpanel ----- */

#edittourpanel .acf-form {
    font-size: 14px;
    line-height: 1.5;
}

#edittourpanel .acf-fields,
#edittourpanel .acf-fields > .acf-field {
    border: 0;
    background: transparent;
}

#edittourpanel .acf-field {
    padding: 12px 16px;
    /*border-bottom: 1px solid #ececec;*/
}

#edittourpanel .acf-fields > .acf-label {
    border-bottom: 0px solid #f2f2f2;
}

#edittourpanel .acf-field .acf-field > .acf-label {
    margin-bottom: 6px;
    border-bottom: 1px solid #f2f2f2;
}

#edittourpanel .acf-field > .acf-label > label {
    display: block;
    font-weight: 600;
    color: #333;
    font-size: 18px;
    text-transform: none;
    letter-spacing: 0;
}

#edittourpanel .acf-fields .acf-field > .acf-label > label {
    font-size: 15px;
    text-transform: none;
    letter-spacing: 0;
}

#edittourpanel .acf-field .description,
#edittourpanel .acf-field .acf-tip {
    color: #777;
    font-size: 12px;
    margin-top: 4px;
}

#edittourpanel .acf-input-prepend, 
#edittourpanel .acf-input-append {
    font-size: 13px;
    line-height: 20px;
    padding: 3px 7px;
    background: #333;
}

/* Required-Marker */
#edittourpanel .acf-field.acf-required > .acf-label > label::after {
    content: " *";
    color: #c00;
}

/* Inputs */
#edittourpanel .acf-input input[type="text"],
#edittourpanel .acf-input input[type="email"],
#edittourpanel .acf-input input[type="url"],
#edittourpanel .acf-input input[type="number"],
#edittourpanel .acf-input input[type="search"],
#edittourpanel .acf-input input[type="tel"],
#edittourpanel .acf-input input[type="password"],
#edittourpanel .acf-input input[type="date"],
#edittourpanel .acf-input textarea,
#edittourpanel .acf-input select {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
    color: #333;
    font: inherit;
    font-size: 14px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#edittourpanel .acf-input textarea {
    min-height: 100px;
    resize: vertical;
}

#edittourpanel .acf-input input:focus,
#edittourpanel .acf-input textarea:focus,
#edittourpanel .acf-input select:focus {
    outline: 0;
    border-color: #009fe3;
    box-shadow: 0 0 0 2px rgba(0, 159, 227, 0.15);
}

/* Checkbox / Radio */
#edittourpanel .acf-input ul.acf-checkbox-list,
#edittourpanel .acf-input ul.acf-radio-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#edittourpanel .acf-input ul.acf-checkbox-list li,
#edittourpanel .acf-input ul.acf-radio-list li {
    padding: 4px 0;
}

#edittourpanel .acf-input input[type="checkbox"],
#edittourpanel .acf-input input[type="radio"] {
    margin-right: 6px;
}

/* Repeater */
#edittourpanel .acf-repeater {
    border: 1px solid #ddd;
    border-radius: 3px;
    background: #fafafa;
}

#edittourpanel .acf-repeater .acf-table {
    border: 0;
    background: transparent;
}

#edittourpanel .acf-repeater .acf-row {
    border-bottom: 1px solid #ececec;
}

#edittourpanel .acf-repeater .acf-row:last-child {
    border-bottom: 0;
}

#edittourpanel .acf-repeater .acf-row-handle {
    background: #f0f0f0;
    color: #888;
}

#edittourpanel .acf-repeater .acf-actions {
    padding: 10px;
    background: #f5f5f5;
}

/* Repeater "Eintrag hinzufügen" + alle ACF-Buttons (außer Submit) */
#edittourpanel .acf-button,
#edittourpanel .acf-actions .button {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
    color: #333;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}

#edittourpanel .acf-button:hover,
#edittourpanel .acf-actions .button:hover {
    background: #f5f5f5;
    border-color: #999;
}

/* File / Image Upload */
#edittourpanel .acf-image-uploader,
#edittourpanel .acf-file-uploader {
    background: #fafafa;
    border: 1px dashed #ccc;
    padding: 12px;
    border-radius: 3px;
}

#edittourpanel .acf-image-uploader .image-wrap img {
    max-width: 200px;
    height: auto;
    border-radius: 3px;
}

/* Submit-Button (groß, blau) */
#edittourpanel .acf-form-submit {
    margin-top: 16px;
    padding: 16px;
    text-align: right;
    /*border-top: 1px solid #ececec;*/
}

#edittourpanel .acf-form-submit input[type="submit"],
#edittourpanel .acf-form-submit .acf-button {
    background: #009fe3;
    color: #fff;
    border: 0;
    padding: 10px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 3px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: background 0.15s ease;
}

#edittourpanel .acf-form-submit input[type="submit"]:hover,
#edittourpanel .acf-form-submit .acf-button:hover {
    background: #007bb3;
}

/* Validation-Errors */
#edittourpanel .acf-error-message,
#edittourpanel .acf-notice.-error {
    background: #fce4e4;
    border: 1px solid #f5a3a3;
    color: #a02020;
    padding: 10px 14px;
    border-radius: 3px;
    margin-bottom: 12px;
}

/* ----- Toast ----- */

.rrph-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100001;
    background: #2c3e50;
    color: #fff;
    padding: 12px 20px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    animation: rrph-toast-in 0.25s ease;
}

.rrph-toast-success {
    background: #2e7d32;
}

.rrph-toast-error {
    background: #c62828;
}

@keyframes rrph-toast-in {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


.select2-results__option {
    color: #666;
}