body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.container {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 700px;
    box-sizing: border-box;
}

h1, h2, h3, h4 {
    color: #0056b3;
    text-align: center;
    margin-bottom: 20px;
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

form input[type="date"],
form input[type="text"],
form input[type="number"] {
    width: calc(100% - 22px);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

form select {
    width: calc(100% - 22px); /* Angepasst wie andere Input-Felder */
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    height: 40px; /* Einheitliche Höhe mit anderen Eingabefeldern */
    background-color: #fff;
    cursor: pointer;
    -webkit-appearance: none; /* Entfernt den Standard-Pfeil in Webkit-Browsern */
    -moz-appearance: none;    /* Entfernt den Standard-Pfeil in Mozilla-Browsern */
    appearance: none;         /* Entfernt den Standard-Pfeil */
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007bff%22%20d%3D%22M287%20197.6l-14.8%2014.8c-1.8%201.8-4.2%202.7-6.5%202.7-2.3%200-4.7-.9-6.5-2.7L146.2%2099.6%2033.2%20212.6c-1.8%201.8-4.2%202.7-6.5%202.7-2.3%200-4.7-.9-6.5-2.7l-14.8-14.8c-3.6-3.6-3.6-9.4%200-13l133.4-133.4c3.6-3.6%209.4-3.6%2013%200l133.4%20133.4c3.6%203.6%203.6%209.4%200%2013z%22%2F%3E%3C%2Fsvg%3E'); /* Benutzerdefinierter Pfeil (Blau) */
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}

form select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

form select:hover {
    border-color: #0056b3;
}

/* Stil für den 'Bitte auswählen'-Option, um ihn ausgegraut darzustellen */
form select option[value=""] {
    color: #999;
}

/* Wenn eine Option ausgewählt ist, soll die Farbe normal sein */
form select:not([value=""]) {
    color: #333;
}

form button {
    background-color: #007bff;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    width: 100%;
    transition: background-color 0.3s ease;
    margin-bottom: 10px;
}

form button:hover {
    background-color: #0056b3;
}

ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

ul li {
    background-color: #e9ecef;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.5;
    position: relative;
}

ul li .main-info {
    font-weight: bold;
    color: #0056b3;
}

ul li .amount-info {
    float: right;
    font-weight: bold;
    color: #28a745;
    margin-left: 15px;
}

h3 {
    text-align: right;
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.trip-details, .travel-day {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
}

.travel-day h4 {
    margin-top: 0;
    margin-bottom: 10px;
    text-align: left;
    color: #444;
}

.travel-day input {
    margin-bottom: 10px;
}

p {
    text-align: right;
    font-weight: bold;
    color: #007bff;
    margin-top: 10px;
}

/* Stile für den ausklappbaren Bereich */
.collapsible-section {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.collapsible-header {
    background-color: #e2eaf2;
    color: #0056b3;
    padding: 15px 20px;
    cursor: pointer;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
}

.collapsible-header:hover {
    background-color: #d1dde8;
}

.collapsible-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.collapsible-content.active {
    max-height: 1000px; /* Groß genug, um alles anzuzeigen */
    padding: 15px 20px;
}

.collapsible-header .arrow {
    transition: transform 0.3s ease;
}

.collapsible-header.active .arrow {
    transform: rotate(180deg);
}

.info-text {
    text-align: left;
    font-weight: normal;
    color: #666;
    font-size: 0.9em;
    margin-bottom: 15px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 10px;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    .container {
        padding: 15px;
    }
    h1, h2, h3, h4 {
        font-size: 1.4em;
    }
    form input, form button {
        font-size: 1em;
        padding: 10px;
    }
    ul li .amount-info {
        float: none;
        display: block;
        margin-left: 0;
        margin-top: 5px;
        text-align: right;
    }
}

.pdf-button {
    background-color: #dc3545; /* Roter Farbton für PDF */
}

.pdf-button:hover {
    background-color: #c82333;
}

.pdf-button:disabled {
    background-color: #cccccc; /* Grau, wenn deaktiviert */
    cursor: not-allowed;
}