/* General form styles */
.zvoove-cockpit-search form {
    margin-bottom: 20px;
}

.zvoove-cockpit-search form div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

/* Input fields */
.zvoove-cockpit-search input[type="text"] {
    padding: 10px 10px 10px 35px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    height: 40px;
    line-height: 40px;
    margin-top: 8px;
    font-size: 14px;
    color: #444;
}

/* Icons for input fields */
.zvoove-cockpit-search i {
    color: #ccc;
}

/* Main search button */
.zvoove-cockpit-search button {
    padding: 0 20px; /* Consistent padding */
    background-color: #783b40;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex; /* Use flexbox for box alignment */
    align-items: center; /* Vertical center */
    justify-content: center; /* Horizontal center */
    height: 40px; /* Matching height with inputs */
    gap: 8px; /* Icon spacing */
    line-height: normal;
}

/* Icon inside search button */
.zvoove-cockpit-search button i {
    margin: 0;
    font-size: 14px;
    line-height: 1;
}

/* Reset button (additional styles if needed) */
.zvoove-cockpit-search button[type="reset"] {
    margin-top: 10px;
}

/* Job row container */
.zvoove-cockpit-list {
    margin-top: 20px;
}

/* Job row styling */
.zvoove-job {
    position: relative;
    border-top: 1px solid #cccccc; /* Separator between rows */
    padding: 20px 20px!important;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

/* Hover effect for the job row */
.zvoove-job:hover {
    background-color: #f9f9f9; /* Subtle background hover color */
}

/* Hover effect with vertical line */
.zvoove-job:hover::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #783b40;
    border-radius: 3px; /* Rounded corners for the line */
}

/* Job title and location icons */
.zvoove-job h3,
.zvoove-job p {
    position: relative;
    padding-left: 30px; /* Ensure both <h3> and <p> have the same padding */
    margin: 0; /* Remove default margin */
    display:block;
}

/* Icons for title and location */
.zvoove-job h3 i,
.zvoove-job p i {
    position: absolute;
    top: 50%;
    left: 0px; /* Move icons to match the padding alignment */
    transform: translateY(-50%);
    font-size: 18px;
    color: #444;
    /*margin-left: 10px;*/
}

/* Title formatting */
.zvoove-job h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 32px!important; /* Retained original font size */
    font-weight: 600!important;
    margin-bottom: 10px; /* Spacing below the title */
}

/* Date styling inside title row */
.zvoove-job h3 span {
    font-size: 24px;
    color: #783b40;
    font-weight: 400;
}

/* Location text formatting */
.zvoove-job p {
    font-size: 14px; /* Retained original font size */
    color: #555;
    line-height: 1.4; /* Ensures better readability */
    margin-top: 5px; /* Avoid conflicts with h3 spacing */
}

/* Icon color override */
.zvoove-cockpit-list .fas {
    color: #ccc !important;
}

/* Pagination styles */
.zvoove-pagination-info {
    margin-top: 20px;
}

.zvoove-pagination-info a {
    text-decoration: none;
    color: #783b40;
    font-weight: bold;
}

.zvoove-pagination-info span {
    font-weight: bold;
    color: #000;
}

/* Active states for pagination */
.zvoove-pagination-info a:hover {
    text-decoration: underline;
}

/* Adjust the Select2 dropdown to match input styling */
.select2-container .select2-selection--single {
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px 10px;
    box-sizing: border-box;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #783b40;

}

.select2-selection__clear {
    display: block !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    /*line-height: 40px;*/
    padding-left: 10px; /* Padding for text inside */
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px;
    top: 1px; /* Center the arrow vertically */
}

.zvoove-job-count {
    text-align: center;
    margin: 20px 0;
    font-size: 13px!important;
    color: #888;
    font-weight: 300;
}

.office-info img {
    display: block;
    margin: 0 auto; /* Center the image */
    max-width: 200px; /* Restrict the width */
    height: auto;
}

.zvoove-jobimage {
    display: block;       /* removes inline gap */
    max-width: 100%;      /* never exceed parent width */
    height: auto;         /* keep aspect ratio */
}

.cockpit-form-wrapper h2{
    font-size: 24px;
}

.rnFormGroup {    margin-top:10px}

.rnRadioboxList .label {
    margin-right:10px;
    color:#3B3F4A;
}

.rnFormGroup label{
    color: #783b40;
}

.rnFormGroup input[type="text"]{
    width: 100%;
}

fieldset {
    border: none;   /* removes the border */
    padding: 0;     /* optional: removes default padding */
    margin: 0;      /* optional: removes default margin */
    min-width: 0;   /* optional: fixes layout in flex/columns */
}

legend {
    padding: 0;
    margin: 20px 0 0 0;
    font-size: 18px;
    font-weight: bold;
    color: #783b40;
}

.rnErrors.rnHelpBlock {color:red; font-size:12px;}

/* Vorname / Nachname */
.rnFormGroup.rnfirstName,
.rnFormGroup.rnlastName {
    width: 50%;
    box-sizing: border-box;
    float: left;
    padding-right: 10px;
}

/* Strasse / Hausnummer */
.rnFormGroup.rninternationalStreet,
.rnFormGroup.rninternationalHouseNumber {
    width: 50%;
    box-sizing: border-box;
    float: left;
    padding-right: 10px;
}

/* PLZ / Ort */
.rnFormGroup.rninternationalZipCode,
.rnFormGroup.rninternationalCity {
    width: 50%;
    box-sizing: border-box;
    float: left;
    padding-right: 10px;
}

.rnSelectValue {display:none!important;}
#phoneSelector_mobilePhoneNumber {
    width: calc(50% - 10px);
    margin-right: 5px;
}
#phoneNumber_mobilePhoneNumber {
   width: calc(50% - 75px);
}


.rnPhonePrefix {
    display:inline-block;
    background-color: #3B3F4A!important;
    color: white!important;
    padding: 6px;
    width:50px;
    text-align:center;
}

.rnFormGroup label[for="emailAddress"] {
    display: inline-block;
    margin-top: 20px!important;
}

.rnFormGroup label[for="internationalHouseNumberSuffix"] {
    display: inline-block;
    margin-top: 20px!important;
}

#internationalHouseNumberSuffix{
    width: calc(100% - 10px);
}

.rnFormControl[type="email"]{
    width: 100%!important;
}

.rnFormGroup label[for="cvFile"] {
    display: inline-block;
    margin-top: 20px!important;
}

.rnFormGroup.rnmotivation-text {
    margin-top: 20px;

}

.rnFormGroup textarea {width: 100%!important;}


.rnFormGroup.rncity {
    padding-right: 0;
}

.rnFormControl::placeholder {
    color: #bbb!important;        /* gray */
    font-size: 13px;    /* adjust size */
}
.rnFormControl[type="file"]::file-selector-button {
    background-color: #783B40;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 0px;
    cursor: pointer;
    font-size: 14px;
}

.rnFormControl[type="file"]::file-selector-button:hover {
    background-color: #643135; /* darker orange */
}

#emailAddress
{
    width: calc(100% - 10px)!important;
}

.rnButton {
    background-color: #783B40;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 0px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 20px;
}

.rnFormGroup.rncheckboxField {
    display: flex;
    flex-direction: row;       /* normal order */
    align-items: flex-start;   /* top align */
    gap: 8px;
    justify-content: flex-start;
}

.rnFormGroup.rncheckboxField span {
    line-height: 1.3em!important;
}

.rnFormGroup.rncheckboxField label.rnLabel {
    order: 2;  /* move label after checkbox */
}

.rnFormGroup.rncheckboxField .rnCheckbox {
    order: 1;  /* move checkbox first */
}


label[for="mail-and-whatsapp-consent"] {
    line-height: 1.0em;
}

.rnTitlePrefix {display:none!important;}
.rnVacancyTitle {
	text-align:center!important
	}

/* Responsive: auf mobilen Geräten untereinander */
@media (max-width: 768px) {
    .rnFormGroup.rnfirstName,
    .rnFormGroup.rnlastName,
    .rnFormGroup.rninternationalZipCode,
    .rnFormGroup.rninternationalCity,
    .rnFormGroup.rninternationalStreet,
    .rnFormGroup.rninternationalHouseNumber{
        width: 100%;
        float: none;
        padding-right: 0;
    }

    .rnFormGroup.rnfirstName,
    .rnFormGroup.rnlastName,
    .rnFormGroup.rninternationalZipCode,
    .rnFormGroup.rninternationalHouseNumber{
        width: calc(100% - 10px)!important;
        float: none;
        padding-right: 0;
    }

    #phoneSelector_mobilePhoneNumber{
        width: calc(100% - 10px)!important;
        float: none;
        padding-right: 0;
        margin-bottom:10px!important;
    }

    #rnPhonePrefix{
        width:50px!important;
        float: none;
        padding-right: 0;
    }

    #phoneNumber_mobilePhoneNumber{
        width: calc(100% - 76px)!important;
        float: none;
        padding-right: 0;
    }

    #internationalStreet{
        width: calc(100% - 10px)!important;
        float: none;
        padding-right: 0;

    }

    #internationalCity{
        width: calc(100% - 10px)!important;
        float: none;
        padding-right: 0;
    }

    .rnFormGroup label[for="internationalHouseNumberSuffix"] {
        margin-top: 0!important;
    }
	



}
