/**
 * ==========================================================
 * Fahrzeug Manager Pro
 * Smart Booking
 * Kompaktes Design
 * ==========================================================
 */


/* ==========================================================
   POPUP
   ========================================================== */

#fpmp-smart-booking {

    position: fixed !important;

    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;

    background: rgba(0, 0, 0, 0.65) !important;

    display: none;

    align-items: center !important;
    justify-content: center !important;

    z-index: 999999 !important;

    padding: 15px !important;

    box-sizing: border-box !important;

}


/* Popup aktiv */

#fpmp-smart-booking.active {

    display: flex !important;

}


/* ==========================================================
   BOOKING FENSTER
   ========================================================== */

#fpmp-smart-booking .fpmp-booking-window {

    width: 92% !important;

    max-width: 900px !important;

    max-height: 85vh !important;

    background: #ffffff !important;

    border-radius: 14px !important;

    overflow-y: auto !important;

    overflow-x: hidden !important;

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.25) !important;

    position: relative !important;

    box-sizing: border-box !important;

}


/* ==========================================================
   HEADER
   ========================================================== */

#fpmp-smart-booking .fpmp-booking-header {

    padding: 22px 28px !important;

    border-bottom: 1px solid #ececec !important;

    background: #ffffff !important;

}


#fpmp-smart-booking .fpmp-booking-header h2 {

    margin: 0 0 14px !important;

    font-size: 25px !important;

    line-height: 1.25 !important;

    font-weight: 600 !important;

}


/* ==========================================================
   PROGRESS
   ========================================================== */

#fpmp-smart-booking .fpmp-progress-bar {

    width: 100% !important;

    height: 8px !important;

    background: #e9ecef !important;

    border-radius: 20px !important;

    overflow: hidden !important;

}


#fpmp-smart-booking .fpmp-progress-fill {

    width: 20%;

    height: 100% !important;

    background: #2e8b57 !important;

    transition: width 0.3s ease !important;

}


#fpmp-smart-booking .fpmp-progress span {

    display: block !important;

    margin-top: 7px !important;

    font-size: 13px !important;

    color: #666666 !important;

}


/* ==========================================================
   INHALT
   ========================================================== */

#fpmp-smart-booking .fpmp-booking-content {

    padding: 25px 28px !important;

    background: #ffffff !important;

}


#fpmp-smart-booking .fpmp-booking-content h3 {

    margin-top: 0 !important;

    margin-bottom: 8px !important;

    font-size: 21px !important;

    line-height: 1.3 !important;

    font-weight: 600 !important;

}


/* Beschreibung unter Überschrift */

#fpmp-smart-booking .fpmp-booking-content > p {

    margin-top: 0 !important;

    margin-bottom: 20px !important;

    font-size: 15px !important;

    line-height: 1.5 !important;

    color: #666666 !important;

}


/* ==========================================================
   DIENSTLEISTUNGEN GRID
   ========================================================== */

#fpmp-smart-booking #fpmp-services-grid {

    display: grid !important;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(220px, 1fr)
        ) !important;

    gap: 16px !important;

    width: 100% !important;

    margin-top: 20px !important;

    min-height: 80px !important;

    visibility: visible !important;

    opacity: 1 !important;

}


/* ==========================================================
   DIENSTLEISTUNGSKARTE
   ========================================================== */

#fpmp-smart-booking #fpmp-services-grid
.fpmp-service-card {

    display: block !important;

    visibility: visible !important;

    opacity: 1 !important;

    position: relative !important;

    width: 100% !important;

    min-height: 0 !important;

    border: 1px solid #dddddd !important;

    border-radius: 10px !important;

    overflow: hidden !important;

    cursor: pointer !important;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease !important;

    background: #ffffff !important;

    box-sizing: border-box !important;

}


/* Hover */

#fpmp-smart-booking #fpmp-services-grid
.fpmp-service-card:hover {

    transform: translateY(-2px) !important;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.12) !important;

}


/* Auswahl */

#fpmp-smart-booking #fpmp-services-grid
.fpmp-service-card.selected {

    border: 2px solid #2e8b57 !important;

}


/* ==========================================================
   BILD
   ========================================================== */

#fpmp-smart-booking #fpmp-services-grid
.fpmp-service-image {

    width: 100% !important;

    height: 115px !important;

    background: #f3f3f3 !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    overflow: hidden !important;

    font-size: 48px !important;

}


#fpmp-smart-booking #fpmp-services-grid
.fpmp-service-image img {

    width: 100% !important;

    height: 100% !important;

    object-fit: cover !important;

    display: block !important;

}


/* Icon */

#fpmp-smart-booking #fpmp-services-grid
.fpmp-service-icon {

    font-size: 48px !important;

}


/* ==========================================================
   BODY
   ========================================================== */

#fpmp-smart-booking #fpmp-services-grid
.fpmp-service-body {

    display: block !important;

    padding: 14px !important;

    background: #ffffff !important;

}


/* ==========================================================
   TITEL
   ========================================================== */

#fpmp-smart-booking #fpmp-services-grid
.fpmp-service-title {

    display: block !important;

    font-size: 17px !important;

    font-weight: 700 !important;

    line-height: 1.3 !important;

    color: #222222 !important;

    margin-bottom: 7px !important;

}


/* ==========================================================
   BESCHREIBUNG
   ========================================================== */

#fpmp-smart-booking #fpmp-services-grid
.fpmp-service-description {

    display: block !important;

    color: #666666 !important;

    font-size: 14px !important;

    line-height: 1.4 !important;

    margin-bottom: 10px !important;

}


/* ==========================================================
   PREIS
   ========================================================== */

#fpmp-smart-booking #fpmp-services-grid
.fpmp-service-price {

    display: block !important;

    font-size: 16px !important;

    font-weight: 700 !important;

    color: #2e8b57 !important;

    margin-bottom: 7px !important;

}


/* ==========================================================
   DAUER
   ========================================================== */

#fpmp-smart-booking #fpmp-services-grid
.fpmp-service-duration {

    display: block !important;

    font-size: 13px !important;

    color: #666666 !important;

    margin-bottom: 10px !important;

}


/* ==========================================================
   FOOTER DER KARTE
   ========================================================== */

#fpmp-smart-booking #fpmp-services-grid
.fpmp-service-footer {

    display: flex !important;

    justify-content: flex-end !important;

    align-items: center !important;

    margin-top: 8px !important;

}


/* ==========================================================
   AUSWAHL-BUTTON
   ========================================================== */

#fpmp-smart-booking #fpmp-services-grid
.fpmp-select-service {

    display: inline-block !important;

    padding: 8px 14px !important;

    border: 0 !important;

    border-radius: 5px !important;

    cursor: pointer !important;

    font-size: 14px !important;

}


/* ==========================================================
   LOADING
   ========================================================== */

#fpmp-smart-booking .fpmp-loading {

    display: block !important;

    width: 100% !important;

    padding: 25px !important;

    text-align: center !important;

    color: #666666 !important;

}


/* ==========================================================
   FOOTER
   ========================================================== */

#fpmp-smart-booking .fpmp-booking-footer {

    padding: 18px 30px !important;

    border-top: 1px solid #e8e8e8 !important;

    display: flex !important;

    justify-content: space-between !important;

    align-items: center !important;

    gap: 12px !important;

}


/* ==========================================================
   ZURÜCK + WEITER
   ========================================================== */

#fpmp-smart-booking
#fpmp-back-step,

#fpmp-smart-booking
#fpmp-next-step {

    display: inline-flex !important;

    align-items: center !important;

    justify-content: center !important;

    box-sizing: border-box !important;

    min-width: 125px !important;

    height: 44px !important;

    padding: 0 22px !important;

    margin: 0 !important;

    font-size: 15px !important;

    line-height: 1 !important;

    font-weight: 500 !important;

    border-radius: 6px !important;

    cursor: pointer !important;

}


/* ==========================================================
   ZURÜCK
   ========================================================== */

#fpmp-smart-booking
#fpmp-back-step {

    background: #ffffff !important;

    color: #555555 !important;

    border: 1px solid #cccccc !important;

}


/* Zurück deaktiviert */

#fpmp-smart-booking
#fpmp-back-step:disabled {

    opacity: 0.5 !important;

    cursor: not-allowed !important;

}


/* ==========================================================
   WEITER
   ========================================================== */

#fpmp-smart-booking
#fpmp-next-step {

    background: #2e8b57 !important;

    color: #ffffff !important;

    border: 1px solid #2e8b57 !important;

}


/* Weiter deaktiviert */

#fpmp-smart-booking
#fpmp-next-step:disabled {

    opacity: 0.5 !important;

    cursor: not-allowed !important;

}

/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 700px) {

    #fpmp-smart-booking {

        padding: 8px !important;

    }


    #fpmp-smart-booking .fpmp-booking-window {

        width: 100% !important;

        max-height: 92vh !important;

        border-radius: 11px !important;

    }


    #fpmp-smart-booking .fpmp-booking-header {

        padding: 18px 20px !important;

    }


    #fpmp-smart-booking .fpmp-booking-header h2 {

        font-size: 21px !important;

    }


    #fpmp-smart-booking .fpmp-booking-content {

        padding: 20px !important;

    }


    #fpmp-smart-booking #fpmp-services-grid {

        grid-template-columns: 1fr !important;

        gap: 12px !important;

    }


    #fpmp-smart-booking #fpmp-services-grid
    .fpmp-service-image {

        height: 100px !important;

    }


    #fpmp-smart-booking .fpmp-booking-footer {

        padding: 14px 20px !important;

    }

}

/* ==========================================================
   BUCHUNGSDATEN – FORMULAR
   ========================================================== */

#fpmp-smart-booking .fpmp-booking-form {

    width: 100% !important;

    margin: 0 !important;

    padding: 0 !important;

    box-sizing: border-box !important;

}


/* Zeilen */

#fpmp-smart-booking .fpmp-form-row {

    display: grid !important;

    grid-template-columns: 1fr 1fr !important;

    gap: 16px !important;

    width: 100% !important;

    margin: 0 0 14px !important;

    padding: 0 !important;

    box-sizing: border-box !important;

}


/* Einzelnes Feld */

#fpmp-smart-booking .fpmp-form-field {

    width: 100% !important;

    margin: 0 0 14px !important;

    padding: 0 !important;

    box-sizing: border-box !important;

}


/* Label */

#fpmp-smart-booking .fpmp-form-field label {

    display: block !important;

    margin: 0 0 5px !important;

    padding: 0 !important;

    font-size: 14px !important;

    line-height: 1.3 !important;

    font-weight: 600 !important;

    text-align: left !important;

    color: #333333 !important;

}


/* Eingabefelder */

#fpmp-smart-booking .fpmp-form-field input,

#fpmp-smart-booking .fpmp-form-field textarea {

    display: block !important;

    width: 100% !important;

    box-sizing: border-box !important;

    margin: 0 !important;

    padding: 9px 12px !important;

    border: 1px solid #cccccc !important;

    border-radius: 6px !important;

    background: #ffffff !important;

    color: #222222 !important;

    font-size: 15px !important;

    line-height: 1.3 !important;

    text-align: left !important;

}


/* Eingabefelder Höhe */

#fpmp-smart-booking .fpmp-form-field input {

    height: 40px !important;

}


/* Textarea */

#fpmp-smart-booking .fpmp-form-field textarea {

    min-height: 85px !important;

    resize: vertical !important;

}


/* Fokus */

#fpmp-smart-booking .fpmp-form-field input:focus,

#fpmp-smart-booking .fpmp-form-field textarea:focus {

    outline: none !important;

    border-color: #2e8b57 !important;

    box-shadow:
        0 0 0 2px rgba(46, 139, 87, 0.10) !important;

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 600px) {

    #fpmp-smart-booking .fpmp-form-row {

        grid-template-columns: 1fr !important;

        gap: 0 !important;

        margin-bottom: 0 !important;

    }


    #fpmp-smart-booking .fpmp-form-field {

        margin-bottom: 14px !important;

    }

}


/* ==========================================================
   SCHRITT 3 – BUCHUNGSDATEN
   ========================================================== */

#fpmp-smart-booking .fpmp-booking-form {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}


/* Zwei Felder nebeneinander */

#fpmp-smart-booking .fpmp-form-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 16px !important;
    width: 100% !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}


/* Einzelnes Formularfeld */

#fpmp-smart-booking .fpmp-form-field {
    display: block !important;
    width: 100% !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}


/* Label IMMER über dem Eingabefeld */

#fpmp-smart-booking .fpmp-form-field label {
    display: block !important;
    width: 100% !important;
    margin: 0 0 5px 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    color: #333 !important;
    text-align: left !important;
    box-sizing: border-box !important;
}


/* Alle Eingabefelder */

#fpmp-smart-booking .fpmp-form-field input,
#fpmp-smart-booking .fpmp-form-field textarea {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 8px 11px !important;
    box-sizing: border-box !important;
    border: 1px solid #ccc !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #222 !important;
    font-family: inherit !important;
    font-size: 15px !important;
    line-height: 1.3 !important;
}


/* Einheitliche Höhe */

#fpmp-smart-booking .fpmp-form-field input {
    height: 40px !important;
}


/* Bemerkung */

#fpmp-smart-booking .fpmp-form-field textarea {
    height: 70px !important;
    min-height: 70px !important;
    resize: vertical !important;
}


/* Fokus */

#fpmp-smart-booking .fpmp-form-field input:focus,
#fpmp-smart-booking .fpmp-form-field textarea:focus {
    outline: none !important;
    border-color: #2e8b57 !important;
    box-shadow: 0 0 0 2px rgba(46,139,87,.10) !important;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 600px) {

    #fpmp-smart-booking .fpmp-form-row {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        margin-bottom: 0 !important;
    }

}