﻿/* includes/style.css */


body {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    text-align: center;
    margin-top: 20px; /* Abstand nach oben für das Logo */
    padding-bottom: 10px; /* Optionaler Abstand nach unten */
}

header img {
    max-width: 100%;
    height: auto;
}
/* Verhindert das Springen des Inhalts bei sichtbarem Scrollbalken */
body {
    overflow-y: scroll; /* Erzwingt den Scrollbalken */
}
/* includes/style.css */
/* Header und Logo-Stile */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #007BFF; /* Blau */
    color: white;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Stellt sicher, dass der Balken oben bleibt */
}

.top-bar .logo {
    height: 50px;
    margin-right: 15px;
}

.menu-right {
    display: flex;
    gap: 15px;
}

.menu-right a {
    color: white;
    text-decoration: none;
}

.menu-right a.button {
    padding: 5px 10px;
    border: 1px solid white;
    border-radius: 3px;
}

.menu-right a:hover, .menu-right a.button:hover {
    background-color: white;
    color: #007BFF;
}

/* Hauptinhalt mit Abstand vom Header */
.main-content {
    padding-top: 80px; /* Abstand, um den Header freizuhalten */
}

}
/* Menü-Balken Design */
.menu-bar {
    background-color: #007BFF; /* Blau */
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-bar nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
}

.menu-bar nav a:hover {
    text-decoration: underline;
}

/* includes/style.css */


.shop-logo {
    width: 413px;
    height: 143px;
}


.small-logo {
    width: 50%;
    max-width: 413px; /* 50% der Originalgröße (826px) */
    height: auto;
}

h1 {
    margin-top: 10px;
    color: #444;
    font-size: 24px;
    text-align: center;
}

.login-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    margin-top: 50px;
    text-align: center;
   
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-top: 10px;
    color: #333;
}

input[type=text], input[type=password] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 5px;
    width: 100%;
    box-sizing: border-box;
}

button {
    padding: 10px;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 15px;
}

button:hover {
    background-color: #005bb5;
}

.error {
    color: red;
}

a.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

a.button:hover {
    background-color: #005bb5;
}

.top-bar {
    background-color: #0066cc;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    margin: 0; /* Entfernt unerwünschte Abstände */
    position: fixed; /* Hält die Menüleiste oben */
    top: 0; /* Positioniert sie am oberen Rand */
    left: 0;
    z-index: 1000; /* Stellt sicher, dass das Menü über anderen Inhalten liegt */
}

.top-bar span {
    font-size: 14px;
}

.top-bar .button {
    background-color: #ffffff;
    color: #0066cc;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 4px;
}

.top-bar .button:hover {
    background-color: #e0e0e0;
}

.main-content {
    margin-top: 60px; /* Abstand für das fixe Menü, damit der Inhalt darunter nicht verdeckt wird */
    text-align: center;
}

.delivery-date,
.delivery-comment {
    margin-bottom: 20px; /* Abstand zwischen den Sektionen */
}

.delivery-comment textarea {
    width: 100%; /* Textarea auf die gesamte Breite ausdehnen */
    max-width: 500px; /* Optional: Maximalbreite begrenzen */
}


.article-container {
    margin: 20px auto;
    max-width: 95%;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow-x: auto; /* Ermöglicht horizontales Scrollen */
}

/* Allgemeine Einstellungen für die Tabelle */
.article-table {
    width: 100%;
    border-collapse: collapse; /* Entfernt Lücken zwischen den Zellen */
    font-size: 0.9em; /* Schriftgröße leicht reduzieren */
}

.article-table th, .article-table td {
    padding: 4px 8px; /* Weniger Padding für eine kompakte Darstellung */
    border: 1px solid #ddd;
    text-align: center; /* Zentriert alle Zelleninhalte */
}

.article-table th {
    background-color: #f4f4f4;
    font-weight: bold;
    white-space: normal; /* Erlaubt Zeilenumbrüche in der Titelzeile */
    word-wrap: break-word; /* Umbrüche innerhalb der Wörter bei Bedarf */
}

.article-table td {
    white-space: nowrap; /* Verhindert Zeilenumbrüche in den Zellen */
}

/* Spaltenbreiten anpassen */
.article-table th:nth-child(1), .article-table td:nth-child(1) { /* Bezeichnung */
    width: 20%;
    text-align: left; /* Linksbündig für Lesbarkeit */
}

.article-table th:nth-child(2), .article-table td:nth-child(2) { /* Stück */
    width: 8%;
    text-align: right;
}

.article-table th:nth-child(3), .article-table td:nth-child(3) { /* Stückzahl / Palette */
    width: 12%;
    text-align: center;
}

.article-table th:nth-child(4), .article-table td:nth-child(4) { /* Preis einer Palette */
    width: 12%;
    text-align: right;
}

.article-table th:nth-child(5), .article-table td:nth-child(5) { /* Bestellmenge */
    width: 10%;
    text-align: center;
}

.article-table th:nth-child(6), .article-table td:nth-child(6) { /* Gesamt-Stückzahl */
    width: 12%;
    text-align: center;
}

.article-table th:nth-child(7), .article-table td:nth-child(7) { /* Währung */
    width: 5%;
    text-align: center;
}

.article-table th:nth-child(8), .article-table td:nth-child(8) { /* Gesamtpreis */
    width: 10%;
    text-align: right;
}
/* Stil für den Löschen-Button */
.delete-button {
    margin-bottom: 10px; /* Abstand zur Tabelle */
}
/* Trennlinie zwischen Bestellungen */
.order-separator {
    border: 0;
    height: 1px;
    background-color: #ccc;
    margin: 20px 0;
}

