/* Stil für den "Zurück nach oben"-Button */
#icon-preview {
    margin-top: 10px;
    padding: 5px;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
    width: 50px;
    height: 50px;
    line-height: 50px;
}

#icon-preview i {
    font-size: 40px; /* Größe des Vorschau-Icons */
    color: #0073aa;  /* Optional: Farbe anpassen */
}

/* Farben und Vorschau-Boxen vertikal ausrichten */
.form-table td {
    vertical-align: top; /* Sicherstellen, dass die Inhalte im td oben ausgerichtet sind */
}

input[type="color"] {
    width: 100px; /* Breite des Farbwahl-Inputs */
    height: 30px; /* Höhe des Farbwahl-Inputs */
    margin-top: 5px; /* Etwas Abstand nach oben */
}

#background-color-preview, #icon-color-preview {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-top: 10px;
}

.description {
    margin-top: 5px;
}

#infoPanel {
    display: none;
    text-align: center;
    margin-top: 20px;
    background-color: #f7f7f7;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Hinzufügen des Schattens */
}

.shortcode {
    font-size: 18px; /* Schriftgröße anpassen */
    background-color: #f1f1f1; /* Hintergrundfarbe */
    padding: 10px; /* Abstand innerhalb des Elements */
    border-radius: 5px; /* Rundungen an den Ecken */
    display: flex;
    align-items: center;
    gap: 10px; /* Abstand zwischen Text und Button */
}

.shortcode code {
    font-family: monospace;
    background-color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 16px;
    white-space: nowrap;
}

.copy-button {
    padding: 3px 6px;
    background-color: #007bff; /* Blaue Hintergrundfarbe */
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
}

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

.copy-button:before {
    content: '\f0c5'; /* Font Awesome Copy Icon */
    font-family: "Font Awesome 5 Free";
    margin-right: 5px;
}

/* CSS für das modale alert-Fenster */
.alert-modal {
    display: none; /* Verstecken von default Alert */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 1000;
    text-align: center;
    font-size: 16px;
    color: #333;
}

.alert-modal .close-btn {
    display: block;
    margin-top: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.custom-css-editor {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

textarea#custom-css-content {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    background-color: #fff;
    resize: none;
}
