/* Basis */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Verdana, Geneva, sans-serif; /* Schriftart global auf Verdana umgestellt */
    background: #f0f0f0;
}

#gs1Table select.ai {
    width: 60px;
    padding: 2px 4px;
    font-family: inherit;
}


/* Banner oben */
#banner {
    position: relative;
    background-color: #ffcc00;
    color: #000;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.2);
    z-index: 999;
    font-size: 14px;
    margin: 20px;
}

/* Dreispaltiges Layout */
.drei-spalten-layout {
    display: flex;
    gap: 20px;
    margin: 40px 20px;
    flex-wrap: wrap;
}

.spalte {
    flex: 1;
    min-width: 250px;
    background: #fff;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.spalte h2 {
    margin-top: 0;
    font-size: 1.2em;
    color: #333;
}

/* Tabelle in der Mitte */
.mitte table {
    width: 100%;
    border-collapse: collapse;
}

.mitte th, .mitte td {
    border: 1px solid #aaa;
    padding: 8px;
    text-align: left;
}

.mitte th {
    background-color: #f2f2f2;
}

/* Formular im rechten Block */
form input[type="text"] {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

form button {
    padding: 8px 12px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
}

form button:hover {
    background-color: #0056b3;
}

/* Toolbar */
.toolbar button {
    margin-right: 5px;
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
	height: 40px;
}

/* Settings */
.settings {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

/* Canvas-Bereich */
#canvas-container {
    background: #ccc;
    padding: 0;
    margin: 0;
    margin-top: 20px;
    height: calc(100vh - 160px); /* Platz für Toolbar + Settings */
    display: flex;
    justify-content: center;
    align-items: center;
}

#labelCanvas {
    background: white;
    border: 1px solid #888;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

/* Modale Fenster */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    background-color: white;
    padding: 20px;
    border: 1px solid #888;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
}

.modal-content {
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-content label {
    display: flex;
    flex-direction: column;
}

.close {
    cursor: pointer;
    float: right;
    font-size: 20px;
}

/* Erklär-Bot */
#erklaer-bot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 250px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    padding: 15px;
    font-size: 14px;
    z-index: 9999;
}

#weiter-link {
    display: block;
    margin-top: 10px;
    text-align: right;
    color: #007bff;
    text-decoration: none;
}

#weiter-link:hover {
    text-decoration: underline;
}

/* Vorschau-Grafik */
img#graphicPreview {
    max-width: 100%;
    margin-top: 10px;
    display: none;
}

.drucker-vorschau {
    margin: 40px 20px;
    padding: 20px;
    background: #fff;
    border: 2px dashed #007bff;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0,0,0,0.05);
}

.etikett {
    font-size: 16px;
    line-height: 1.6;
    background: #f9f9f9;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    max-width: 400px;
}

/* Optional: Farbe für Debug-Zwecke */
.links {}
.mitte {}
.rechts {}
