﻿:root {
    --green: #00FF00;
    --white: #FFFFFF;
    --black: #000000;
    --hellblau: #dce7f2;
    --LinienUndStriche: #2ecc40;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    height: 100vh;
    width: 100vw;
    background-color: var(--hellblau);
    color: var(--black);
    font-family: helvetica, arial, sans-serif;
}

PageHeadLine {
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 16px;
}


@media (max-width: 900px) {
    .left-column, .right-column {
        min-width: 120px;
        padding: 8px 4px;
    }

    .middle-column {
        min-width: 180px;
        padding-bottom: 32px;
    }

    .canvas-info-row {
        flex-direction: column;
        gap: 16px;
        max-width: 100%;
    }
}


.column {
    height: 100vh;
    box-sizing: border-box;
    padding: 32px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.left-column {
    width: 15vw;
    min-width: 220px;
    background: #22272b;
    border-right: 2px solid var(--LinienUndStriche);
}

.middle-column {
    width: 60vw;
    min-width: 320px;
    background: #181c1f;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Damit bleibt oben Platz für den Titel */
    padding-bottom: 64px; /* Mehr Platz unterhalb des Canvas */
}

.right-column {
    width: 25vw;
    min-width: 220px;
    background: #22272b;
    border-left: 2px solid var(--LinienUndStriche);
}

.rubrik {
    width: 100%;
    margin-bottom: 32px;
    background: #181c1f;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 16px;
}

.rubrik-label {
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.rubrik-label:hover, .rubrik-label.active {
    background: var(--LinienUndStriche);
    color: #181c1f;
    border-radius: 6px;
    padding-left: 8px;
    padding-right: 8px;
}

.rubrik-title {
    color: var(--LinienUndStriche);
    font-weight: bold;
    margin-bottom: 12px;
    font-size: 1.1em;
}

.canvas-container {
    position: relative;
    display: block;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 32px;
}

#mainCanvas {
    display: block;
    width: 100%;
    max-width: 1200px; /* maximale Breite */
    height: auto;
    aspect-ratio: 1200 / 650; /* sorgt für korrektes Seitenverhältnis */
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    background: #000;
}

.input-group {
    margin-bottom: 12px;
}

.input-group label {
    margin-right: 8px;
    margin-right: 8px;
}

#plotCanvas {
    position: absolute;
    right: 0;
    bottom: 0;
    opacity: 0.85;
    background: #fff;
    border-radius: 0 0 16px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    pointer-events: none;
    border: none;
    width: 300px;
    height: 120px;
    max-width: 100%;
}

.output {
    margin-top: 16px;
    color: var(--LinienUndStriche);
    font-weight: bold;
}

.canvas-info-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 24px auto;
    box-sizing: border-box;
}

.image-coords {
    font-size: 1.0em;
    font-weight: bold;
    color: #2ecc40;
    text-align: center;
    background: #22272b;
    border-radius: 8px;
    padding: 12px 24px;
    min-width: 180px;
    margin-bottom: 0;
}

.direction-arrow {
    background: #22272b;
    border-radius: 8px;
    padding: 12px 24px;
    min-width: 220px;
    margin-bottom: 0;
    color: var(--LinienUndStriche);
}
.profile-settings {
    background: #22272b;
    border-radius: 8px;
    padding: 12px 24px;
    min-width: 220px;
    margin-bottom: 0;
    color: var(--LinienUndStriche);
    box-sizing: border-box;
}

#radius-table-block {
    overflow-x: auto;
}

#radiusTable {
    width: 100%;
    border-collapse: collapse;
    background: #181c1f;
    color: #e0e0e0;
    margin-bottom: 8px;
}

#radiusTable th, #radiusTable td {
    border: 1px solid var(--LinienUndStriche);
    padding: 4px 8px;
    text-align: center;
}

#radiusTable th {
    background: #22272b;
    color: var(--LinienUndStriche);
}

#radiusTable input, #radiusTable select {
    background: #22272b;
    color: #e0e0e0;
    border: 1px solid var(--LinienUndStriche);
    border-radius: 4px;
    padding: 2px 4px;
}
