/* Grundlegendes Layout */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f8;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 3rem auto;
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Überschriften */
h1 {
    text-align: center;
    color: #005f73;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    text-align: center;
    color: #0a9396;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

/* Formulare */
form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

input[type="file"],
input[type="number"],
button {
    padding: 0.7rem 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
}

input[type="file"] {
    flex: 1 1 100%;
}

input[type="number"] {
    flex: 1 1 30%;
}

button {
    background-color: #0a9396;
    color: white;
    cursor: pointer;
    border: none;
    flex: 1 1 100%;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #007f7f;
    transform: translateY(-2px);
}

/* Resultate */
#calculate-result,
#gpx-result {
    background-color: #e9ecef;
    padding: 1rem;
    border-radius: 8px;
    /*max-height: 300px;
    overflow-y: auto;*/
}

/* Tabellen für Ergebnisse */
.result-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.result-table th,
.result-table td {
    border: 1px solid #ccc;
    padding: 0.6rem;
    text-align: left;
}

.result-table th {
    background-color: #f0f0f0;
}

/* Bilder */
img {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid #ccc;
}

/* Responsive */
@media (max-width: 600px) {
    input[type="number"] {
        flex: 1 1 100%;
    }
}