:root {  
    --wolfi_orange: #e3593c; 
    --wolfi_blue: #1b2a33;  
    --wolfi_gray: #828282; 
    --wolfi_card_bg: #273945; /* Abgestimmtes dunkles Blau/Grau für die Karte */
    --wolfi_input_bg: #142028; /* Dunklerer Hintergrund für Inputfelder */
}



body.mobile-body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--wolfi_blue);
    color: #ffffff;
    margin: 0;
    padding: 12px;
    display: flex;
    justify-content: center;
}

/* Brand-Header / Banner Styling */
.brand-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(130, 130, 130, 0.2);
}

.brand-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.3));
}

.brand-text {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1;
    text-transform: normal;
}

.brand-prefix {
    color: var(--wolfi_gray); /* Das Grau des Logos */
}

.brand-suffix {
    color: var(--wolfi_orange);
    font-weight: 300;
}


.booking-card {
    background: var(--wolfi_card_bg);
    border-radius: 16px;
    padding: 16px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    color: #ffffff;
}

.car-header {
    text-align: center;
    margin-bottom: 16px;
}

.car-desc {
    color: var(--wolfi_orange);
    font-weight: 600;
}

.license-plate {
    display: inline-block;
    background: #ffffff;
    color: #000000;
    font-weight: bold;
    font-size: 1.3rem;
    padding: 4px 14px;
    border: 2px solid #000000;
    border-radius: 6px;
    letter-spacing: 2px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 4px;
    color: var(--wolfi_orange); /* Labels in Accent-Farbe */
    font-weight: 600;
}

.input-with-action {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Sowohl Select als auch Input dehnen sich über die gesamte verfügbare Breite aus */
.input-with-action select,
.input-with-action input[type="text"] {
    flex: 1;
    width: 100%;
    margin-top: 0 !important; /* Verhindert ungewollten Abstand nach oben */
}

.icon-btn {
    width: 48px;
    height: 48px;
    flex-shrink: 0; /* Button darf nicht gestaucht werden */
    background: var(--wolfi_blue);
    border: 1px solid var(--wolfi_gray);
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:active {
    background: var(--wolfi_orange);
}

input[type="text"],
input[type="number"],
input[type="password"],
select {
    width: 100%;
    height: 48px; /* Optimiert für Daumen-Bedienung */
    font-size: 1.05rem;
    border-radius: 8px;
    border: 1px solid var(--wolfi_gray);
    background-color: var(--wolfi_input_bg);
    color: #ffffff;
    padding: 0 10px;
    box-sizing: border-box;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--wolfi_orange);
    box-shadow: 0 0 0 2px rgba(227, 89, 60, 0.3);
}

.hidden-input {
    display: none;
    margin-top: 6px;
}

.form-row {
    display: flex;
    gap: 10px;
}

.form-row .half {
    flex: 1;
}

.alert-label {
    color: var(--wolfi_orange) !important;
    font-weight: bold;
}

/* Haupt-Speichern Button in Orange */
.btn-submit {
    width: 100%;
    height: 52px;
    background-color: var(--wolfi_orange);
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    margin-top: 10px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(227, 89, 60, 0.3);
}

.btn-submit:active {
    background-color: #c7482d;
}

/* Führerschein-Warnbox (Orange Akzent) */
.license-alert-box {
    color: #ffffff;
    background-color: rgba(227, 89, 60, 0.15);
    border: 1px solid var(--wolfi_orange);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

/* Großer Touch-Button für die Kamera in Orange */
.btn-camera-upload {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px 20px;
    background: var(--wolfi_orange);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: background 0.2s, transform 0.1s;
    -webkit-tap-highlight-color: transparent;
}

.btn-camera-upload:active {
    transform: scale(0.98);
    background: #c7482d;
}

.camera-icon {
    font-size: 1.5rem;
}

/* Foto Vorschau */
.license-preview-thumb {
    max-width: 100%;
    max-height: 180px;
    border-radius: 8px;
    border: 2px solid var(--wolfi_orange);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    margin-bottom: 6px;
}

.license-filename-text {
    font-size: 0.85rem;
    color: #28a745;
    font-weight: 600;
    margin-bottom: 8px;
}

.btn-remove-photo {
    background: transparent;
    border: 1px solid var(--wolfi_gray);
    color: var(--wolfi_gray);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
}

.btn-remove-photo:active {
    color: var(--wolfi_orange);
    border-color: var(--wolfi_orange);
}

/* ==========================================================================
   Dashboard / Fahrzeugauswahl Styling (Startseite)
   ========================================================================== */

.dashboard-intro {
    text-align: center;
    margin-bottom: 20px;
}

.dashboard-intro h3 {
    margin: 0 0 4px 0;
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 600;
}

.dashboard-intro p {
    margin: 0;
    font-size: 0.88rem;
    color: #a0a0a0;
}

/* Grid-Karten der Fahrzeuge */
.car-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.car-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    -webkit-tap-highlight-color: transparent;
}

.car-select-card {
    background: var(--wolfi_input_bg);
    border: 1px solid var(--wolfi_gray);
    border-radius: 12px;
    padding: 14px;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

/* Hover & Active Feedback */
.car-card-link:hover .car-select-card,
.car-card-link:active .car-select-card {
    transform: translateY(-2px);
    border-color: var(--wolfi_orange);
    box-shadow: 0 6px 16px rgba(227, 89, 60, 0.25);
    background: #192833;
}

.car-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

/* Status Badge */
.status-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-available {
    background-color: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.4);
}

.status-unavailable {
    background-color: rgba(230, 126, 34, 0.15); /* Sanfter Orange-Ton */
    color: var(--wolfi_orange);               /* Hauptfarbton für die Schrift */
    border: 1px solid rgba(230, 126, 34, 0.4); /* Passender oranger Rahmen */
}

.car-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.car-model {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e0e0e0;
    font-size: 0.95rem;
    font-weight: 500;
}

.car-icon {
    width: 20px;
    height: 20px;
    color: var(--wolfi_gray);
    flex-shrink: 0;
}

.car-card-link:hover .car-icon {
    color: var(--wolfi_orange);
}

.car-action {
    font-size: 0.85rem;
    color: var(--wolfi_orange);
    font-weight: 600;
    text-align: right;
    transition: color 0.2s ease;
}

.car-card-link:hover .car-action {
    color: #ff7557;
}

/* Hinweis falls keine Autos vorhanden */
.no-cars-message {
    text-align: center;
    color: var(--wolfi_orange);
    background: rgba(227, 89, 60, 0.15);
    border: 1px solid var(--wolfi_orange);
    padding: 16px;
    border-radius: 8px;
    font-size: 0.9rem;
}