/* ==========================================================================
   EMG VOLUNTEERING JOBS SEARCH & FILTER PAGE STYLES
   Colors: Dark Navy (#23283f) | Accent Green (#66bd48)
   ========================================================================== */

/* Main Container Setup */
.bootstrap-wrapper {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
    color: #23283f;
    padding-top: 20px;
    padding-bottom: 50px;
}

/* Hide Unnecessary Theme Banner Image */
.bootstrap-wrapper img[src*="astra.png"] {
    display: none !important;
}

/* Sidebar & Search Box Wrapper */
.facet-parent.item {
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 24px !important;
    box-shadow: 0 4px 20px rgba(35, 40, 63, 0.05) !important;
    margin-bottom: 30px;
}

/* Search Input Field */
.facet-parent #dirsearch {
    width: 100% !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 12px 16px 12px 42px !important;
    font-size: 15px !important;
    color: #23283f !important;
    background-color: #f8fafc !important;
    transition: all 0.25s ease !important;
}

.facet-parent #dirsearch:focus {
    border-color: #66bd48 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(102, 189, 72, 0.15) !important;
    outline: none !important;
}

.facet-parent .inner-addon {
    position: relative;
}

.facet-parent .inner-addon .glyphicon {
    position: absolute;
    left: 15px;
    color: #64748b;
    z-index: 5;
}

/* Search Submit Button */
.facet-parent #submitbtn {
    background-color: #23283f !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    padding: 12px !important;
    border-radius: 8px !important;
    border: none !important;
    margin-top: 15px !important;
    transition: all 0.25s ease !important;
}

.facet-parent #submitbtn:hover {
    background-color: #191c2d !important;
}

/* Filter Header Title */
.facet-parent .filter {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #23283f !important;
    margin-top: 25px !important;
    margin-bottom: 15px !important;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Facet Search Sections (Accordion Titles) */
.facetsearch {
    margin-bottom: 16px !important;
}

.facettitle {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #23283f !important;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.facetitem {
    font-size: 14px !important;
    color: #64748b !important;
    padding: 6px 0 !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.facetitem input[type="checkbox"] {
    accent-color: #66bd48 !important;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.facetitemcount {
    color: #94a3b8 !important;
    font-size: 12px !important;
}

/* Bottom Filter Controls (Count, Sort, Reset) */
.bottomline {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 2px solid #f1f5f9;
}

.facettotalcount {
    font-weight: 800 !important;
    color: #66bd48 !important;
    font-size: 16px !important;
    margin-bottom: 10px;
}

.deselectstartover {
    color: #e11d48 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer;
    margin-top: 10px;
}

/* ==========================================================================
   JOB RESULTS CARDS LIST
   ========================================================================== */

.result-parent #results .item {
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 24px !important;
    margin-bottom: 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    box-shadow: 0 4px 16px rgba(35, 40, 63, 0.04) !important;
    transition: all 0.3s ease !important;
}

.result-parent #results .item:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(35, 40, 63, 0.08) !important;
    border-color: #66bd48 !important;
}

/* Job Image/Thumbnail Wrapper */
.dirpro-list-img {
    width: 80px !important;
    height: 80px !important;
    flex-shrink: 0;
    border-radius: 12px !important;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.dirpro-list-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Job Details Content */
.list-content {
    flex-grow: 1;
    position: relative;
}

.list-content .name {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #23283f !important;
    margin-bottom: 8px !important;
}

.list-content a {
    text-decoration: none !important;
}

.list-content a:hover .name {
    color: #66bd48 !important;
}

.list-content p.category {
    font-size: 13px !important;
    color: #64748b !important;
    display: inline-block;
    margin-right: 15px !important;
}

.list-content .time i {
    color: #66bd48;
    margin-right: 5px;
}

/* Favorites / Star Icon */
.fav_icon.jobbookmark {
    position: absolute;
    top: 0;
    right: 0;
    color: #cbd5e1 !important;
    font-size: 18px !important;
    cursor: pointer;
    transition: color 0.2s ease;
}

.fav_icon.jobbookmark:hover {
    color: #eab308 !important;
}

/* Apply Button */
.client-contact button.email {
    background-color: #66bd48 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 10px 24px !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 12px rgba(102, 189, 72, 0.25) !important;
    margin-top: 10px;
}

.client-contact button.email:hover {
    background-color: #549e3b !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(102, 189, 72, 0.35) !important;
}

/* Load More Button */
#showmorebutton {
    background-color: transparent !important;
    border: 2px solid #23283f !important;
    color: #23283f !important;
    font-weight: 700 !important;
    padding: 12px 30px !important;
    border-radius: 8px !important;
    display: block;
    text-align: center;
    margin: 30px auto;
    text-decoration: none !important;
    max-width: 200px;
    transition: all 0.25s ease !important;
}

#showmorebutton:hover {
    background-color: #23283f !important;
    color: #ffffff !important;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .result-parent #results .item {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .fav_icon.jobbookmark {
        top: 0;
        right: 0;
    }
}


/* ==========================================================================
   EMG VOLUNTEERING REGISTRATION FORM STYLES
   Colors: Dark Navy (#23283f) | Accent Green (#66bd48)
   ========================================================================== --> */

/* Container & Background Card */
#jobboard_registration {
    max-width: 750px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(35, 40, 63, 0.08);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Header Styling */
#jobboard_registration .light-bg {
    background: linear-gradient(135deg, #23283f 0%, #171a2b 100%) !important;
    padding: 24px 30px;
    margin: 0 !important;
    border-bottom: 3px solid #66bd48;
}

#jobboard_registration .header-profile h4 {
    color: #ffffff !important;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Form Body Area */
#jobboard_registration .user_info {
    padding: 35px 25px 20px 25px;
    margin: 0 !important;
}

/* Form Group Spacing & Labels */
#jobboard_registration .form-group {
    margin-bottom: 22px;
    align-items: center;
}

#jobboard_registration label.control-label {
    color: #23283f;
    font-weight: 700;
    font-size: 14px;
    padding-top: 8px;
}

/* Input Fields & Select Dropdown Styling */
#jobboard_registration .form-control,
#jobboard_registration select.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    height: auto;
    font-size: 15px;
    color: #23283f;
    background-color: #f8fafc;
    transition: all 0.25s ease;
}

/* Focus States (Focus Green/Navy border) */
#jobboard_registration .form-control:focus,
#jobboard_registration select.form-control:focus {
    border-color: #66bd48;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(102, 189, 72, 0.15);
    outline: none;
}

/* Placeholders */
#jobboard_registration .form-control::placeholder {
    color: #94a3b8;
    font-size: 14px;
}

/* File Input (Profile Picture) */
#jobboard_registration .form-input[type="file"] {
    display: block;
    width: 100%;
    padding: 10px;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

#jobboard_registration .form-input[type="file"]:hover {
    border-color: #66bd48;
}

/* Submit Button Override */
#jobboard_registration #submit_jobboard_payment {
    background-color: #66bd48 !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    padding: 14px 36px !important;
    border-radius: 8px !important;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 16px rgba(102, 189, 72, 0.3) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#jobboard_registration #submit_jobboard_payment:hover {
    background-color: #549e3b !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(102, 189, 72, 0.4) !important;
}

/* Validation Error Messages & Alerts */
#jobboard_registration .form-error {
    color: #e11d48 !important;
    font-size: 12px;
    font-weight: 600;
    margin-top: 5px;
}

#jobboard_registration .alert-danger {
    background-color: #ffe4e6;
    border: 1px solid #f43f5e;
    color: #be123c;
    border-radius: 8px;
    font-size: 14px;
    padding: 12px 16px;
}

/* Responsive Fixes for Mobile */
@media (max-width: 767px) {
    #jobboard_registration {
        margin: 20px 10px;
    }
    #jobboard_registration label.control-label {
        padding-top: 0;
        margin-bottom: 6px;
    }
}

/* ==========================================================================
   POPUP RIGHT SIDE FIX (Apply From Your Account & Login Button)
   ========================================================================== */

/* Die rechte Spalte als hübsche Card aufbauen */
#popup-contact .row.vertical-divider > .col-md-6:last-child {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    min-height: 100% !important;
    box-sizing: border-box !important;
}

/* Überschrift rechts */
#popup-contact .row.vertical-divider > .col-md-6:last-child h4 {
    color: #23283f !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

/* Trennlinie rechts */
#popup-contact .row.vertical-divider > .col-md-6:last-child hr {
    border: 0 !important;
    border-top: 2px solid #e2e8f0 !important;
    margin: 0 0 20px 0 !important;
    width: 100% !important;
}

/* Das "Please Login & Apply" Element als deutlicher Button */
#popup-contact .row.vertical-divider > .col-md-6:last-child h5 {
    margin-top: 10px !important;
}

#popup-contact .row.vertical-divider > .col-md-6:last-child h5 a {
    display: block !important;
    text-align: center !important;
    background-color: #23283f !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 12px rgba(35, 40, 63, 0.15) !important;
}

#popup-contact .row.vertical-divider > .col-md-6:last-child h5 a:hover {
    background-color: #66bd48 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(102, 189, 72, 0.3) !important;
}

/* ==========================================================================
   STANDALONE LOGIN FORM STYLES (#login_form)
   Colors: Dark Navy (#23283f) | Accent Green (#66bd48)
   ========================================================================== */

/* Main Container Card */
#login_form {
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 35px 30px !important;
    box-shadow: 0 10px 30px rgba(35, 40, 63, 0.08) !important;
    max-width: 450px;
    margin: 30px auto;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* Form Title */
#login_form .form-title {
    color: #23283f !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    text-align: center !important;
    margin-bottom: 25px !important;
}

/* Input Fields */
#login_form .form-group {
    margin-bottom: 20px !important;
}

#login_form .form-control {
    background-color: #f8fafc !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    height: auto !important;
    font-size: 15px !important;
    color: #23283f !important;
    transition: all 0.25s ease !important;
    box-shadow: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#login_form .form-control:focus {
    border-color: #66bd48 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(102, 189, 72, 0.15) !important;
    outline: none !important;
}

/* Layout for Login Button & Forgot Password Link */
#login_form .form-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: 10px !important;
    margin-bottom: 20px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#login_form .form-actions .col-md-4 {
    padding: 0 !important;
    width: auto !important;
}

/* Hide empty elements/paragraphs in the grid */
#login_form .form-actions p.para:empty {
    display: none !important;
}

/* Submit Login Button */
#login_form .btn-custom {
    background-color: #66bd48 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    padding: 12px 28px !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 14px rgba(102, 189, 72, 0.3) !important;
}

#login_form .btn-custom:hover {
    background-color: #549e3b !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(102, 189, 72, 0.4) !important;
}

/* Forgot Password Link */
#login_form .forgot-link {
    color: #64748b !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

#login_form .forgot-link:hover {
    color: #23283f !important;
    text-decoration: underline !important;
}

/* Create Account Footer Area */
#login_form .create-account {
    margin-top: 25px !important;
    padding-top: 20px !important;
    border-top: 1px solid #e2e8f0 !important;
    text-align: center !important;
}

#login_form .create-account p {
    margin: 0 !important;
}

#login_form #register-btn {
    display: inline-block !important;
    color: #23283f !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    padding: 10px 20px !important;
    border: 2px solid #23283f !important;
    border-radius: 8px !important;
    transition: all 0.25s ease !important;
}

#login_form #register-btn:hover {
    background-color: #23283f !important;
    color: #ffffff !important;
}

/* Mobile Responsive Adjustments */
@media (max-width: 576px) {
    #login_form .form-actions {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: stretch !important;
        text-align: center !important;
    }
    #login_form .btn-custom {
        width: 100% !important;
    }
}

/* Versteckt die komplette Zeile für User Type */
#jobboard_registration .form-group:has(#user_type) {
    display: none !important;
}