/* Allgemeines Layout */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.container {
    width: 80%;
    max-width: 800px;
    margin: 50px auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Überschrift */
h1 {
    text-align: center;
    color: #333;
}

/* Suchboxen */
.search-box {
    width: 100%;  /* Setzt die Breite des Containers */
    overflow: hidden;  /* Verhindert, dass Inhalte über den Container hinausgehen */
    position: relative;
    margin: 0 auto;  /* Optional: Zentriert das Element auf der Seite */
    margin-bottom: 20px;
}

#produktName {
    width: 100%;  /* Füllt den Container */
    box-sizing: border-box;  /* Verhindert, dass Padding den Elementen die Größe verändert */
}

.search-box input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.search-box ul {
    list-style: none;
    padding: 0;
    margin-top: 5px;
}

.search-box li {
    padding: 8px;
    background-color: #f9f9f9;
    margin-bottom: 5px;
    border-radius: 4px;
    cursor: pointer;
	display: flex;
    align-items: center;
}

.search-box li .color-square {
    margin-right: 10px; /* Abstand zwischen Farbquadrat und Text */
}

.search-box li:hover {
    background-color: #e0e0e0;
}

.soft {
    font-size: 60%;       /* Halbiert die Schriftgröße */
    opacity: 0.5;         /* Macht die Schrift halb-transparent */
    color: rgba(0, 0, 0, 0.5); /* Alternativ können Sie die Farbe mit Transparenz setzen */
    padding-left: 10px;
}

#clipboardNotification {
    margin-top: 10px;
    padding: 10px;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    border-radius: 4px;
    opacity: 0;
    height: 20px; /* Feste Höhe, um Platz im Layout zu halten */
    overflow: hidden; /* Verhindert, dass Inhalt überläuft */
    transition: opacity 0.5s ease-in-out;
}

#clipboardNotification.show {
    opacity: 1;
    height: auto; /* Erlaubt dem Inhalt, die Höhe zu bestimmen, wenn sichtbar */
}

/* Farbquadrat Styling */
.color-square {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border-radius: 4px;
}

/* Styling für die Eingabefelder mit Farbquadrat */
.input-with-color {
    display: flex;
    align-items: center;
}

.input-with-color input {
    width: 100%;
}

.search-box span {
    flex-grow: 1;
}

/* API-Ergebnisse */
#apiResult {
    margin-top: 30px;
}
#apiResult p {
    background-color: #e9e9e9;
    padding: 10px;
    border-radius: 4px;
}

/* Ladeanzeige */
#loadingIndicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Abdunkeln des Hintergrunds */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Elemente vertikal anordnen */
    z-index: 1000;
}

#loadingIndicator img {
    width: 50px; /* Breite des Lade-GIFs */
    height: 50px; /* Höhe des Lade-GIFs */
}

#loadingIndicator p {
    color: white;
    font-size: 16px;
    text-align: center;
}