:root {
    --ff-bg: #0f172a;
    --ff-card: #1e293b;
    --ff-accent: #38bdf8;
    --ff-accent-hover: #0ea5e9;
    --ff-success: #22c55e;
    --ff-text: #f1f5f9;
    --ff-muted: #94a3b8;
    --ff-border: rgba(255, 255, 255, 0.1);
    --ff-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Container-Styling */
#fixfinder-app {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 650px;
    margin: 40px auto;
    color: var(--ff-text);
    background: var(--ff-bg);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--ff-shadow);
    border: 1px solid var(--ff-border);
}

/* Header mit Verlauf */
.ff-header {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(129, 140, 248, 0.1));
    padding: 32px 24px;
    text-align: center;
    border-bottom: 1px solid var(--ff-border);
}

.ff-header h2 {
    margin: 0;
    font-size: 1.75rem;
    color: var(--ff-accent);
    letter-spacing: -0.025em;
}

.ff-container {
    padding: 32px;
}

/* Karten-Look */
.ff-card {
    background: var(--ff-card);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid var(--ff-border);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

/* Formular-Elemente */
label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ff-muted);
}

select {
    width: 100%;
    /* WICHTIG: min-height statt fester height nutzen */
    min-height: 50px; 
    padding: 12px 40px 12px 15px; /* Rechts mehr Platz für einen eigenen Pfeil */
    border-radius: 12px;
    border: 1px solid var(--ff-border);
    background-color: #0f172a;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 16px;
    cursor: pointer;
    appearance: none; /* Entfernt Standard-Style */
    -webkit-appearance: none;
    
    /* Ein schöner kleiner Pfeil als Hintergrundbild, damit man sieht, dass es ein Dropdown ist */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    
    transition: border-color 0.2s, box-shadow 0.2s;
}

select:focus {
    outline: none;
    border-color: var(--ff-accent);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

/* Verhindert, dass Text in den Optionen abgeschnitten wird */
select option {
    background: var(--ff-card);
    color: white;
    padding: 10px;
}
/* Pulsierender Effekt für den Start-Button */
.ff-pulse {
    animation: ff-pulse-animation 2s infinite;
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
    background: var(--ff-accent) !important;
    color: #000 !important;
}

@keyframes ff-pulse-animation {
    0% {
        transform: scale(0.98);
        box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(56, 189, 248, 0);
    }
    100% {
        transform: scale(0.98);
        box-shadow: 0 0 0 0 rgba(56, 189, 248, 0);
    }
}
