body {
    font-family: Arial, sans-serif;
    background-color: black;
    color: #53a6ff;
    margin: 0;
    padding: 20px;
}
.container {
    max-width: 1920px;
    margin: 0 auto;
    background-color: #000;
    padding: 20px;
    border-radius: 10px;
}

.content-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.left-column, .middle-column, .right-column {
    width: calc(33.33% - 13.33px);
    padding: 15px;
    border: 1px solid #6d4b00;
    border-radius: 5px;
    background-color: #000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.color-picker {
    display: flex;
    justify-content: space-between;
    margin-left: 150px;
    margin-bottom: 60px;
    padding-right: 200px;
}

.preview-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.preview {
    width: 80%; /* Macht die Vorschau etwas breiter als den Text */
    max-width: 800px; /* Begrenzt die maximale Breite */
    padding: 20px;
    margin: 0 auto; /* Zentriert die Vorschau */
    border-radius: 5px;
    min-height: 100px;
    box-sizing: border-box; /* Berücksichtigt Padding in der Gesamtbreite */
}
.controls {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
input, select {
    width: 100%;
    padding: 5px;
	background-color: #0b0f2b;
	color: #ffbf00;
}
.custom-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 15px;
    border-radius: 5px;
    background: linear-gradient(to right, #050041, #b2adff);
    outline: none;
    opacity: 0.7;
    transition: opacity .2s;
}
.custom-slider:hover {
    opacity: 1;
}
.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #f88c00;
    cursor: pointer;
}
.custom-slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #f88c00;
    cursor: pointer;
}
.section {
    margin-bottom: 20px;
}
.color-harmony, .color-suggestions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 10px;
}
.color-swatch {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    margin: 2px;
    border: 1px solid #333;
}
.color-swatch_picker {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    margin-left: -55px;
    margin-top: -68px;
    border: 1px solid #333;
}

.label_BG {
	margin-left:-60px;
	margin-top:36px;
    margin-bottom: -45px;
}

.label_TXT {
	margin-left:-60px;
	margin-top:36px;
    margin-bottom: -45px;
}

.checkbox {
	margin-left:-100px;
	margin-top:4px;
}

.LabelTextShadow {
	margin-top:-20px;
}

input[type="color"] {
    width: 52px;
    height: 52px;
    padding: 0;
}

@media (max-width: 1200px) {
    .content-wrapper {
        flex-direction: column;
    }
    .left-column, .right-column {
        width: 100%;
    }
}

.FunktionButton {
    background: linear-gradient(180deg, #ff961f 8.40%, #ad5400 34.94%, #703600 52.05%, #612c00 70.53%, #702d00 92.95%, #bd6500 99.58%);
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-image 0.4s ease;
    position: relative;
    z-index: 1;
}

.FunktionButton::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, #3377ff 8.40%, #003fbd 34.94%, #002b80 52.05%, #002266 70.53%, #001a4d 92.95%, #3377ff 99.58%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    border-radius: 5px;
}

.FunktionButton:hover::before {
    opacity: 1;
}

#cssSelector {
    width: 100%;
    padding: 8px;
    background-color: #0b0f2b;
    color: #ffbf00;
    border: 1px solid #333;
    border-radius: 4px;
}

.export-format {
    display: flex;
    align-items: center;
    gap: 15px;
}

.export-format label {
    display: flex;
    align-items: center;
    gap: 5px;
	margin-right:15px;
}

.separate {border-color: #a56300;}


.margin-controls,
.padding-controls {
    margin-bottom: 20px;
}

.input-row {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.input-row label {
    flex: 0 0 120px; /* Anpassen Sie diese Breite nach Bedarf */
    text-align: right;
    padding-right: 10px;
}

.small-input {
    width: 40px;
    height: 20px;
    padding: 2px;
    text-align: center;
    border: 1px solid #d58a00;
    border-radius: 3px; /* Für die sanften Ecken, falls du's magst */
}

.small-input:focus {
    outline: none;
    border-color: #007bff; /* Blaue Umrandung beim Fokus, weil's ja fancy sein muss */
}

.preview-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#originalPreview, #flexPreview {
    border: 1px solid #ccc;
    padding: 10px;
}

.flex-item {
    padding: 10px;
    background-color: #f0f0f0;
    border: 1px solid #999;
}

#flexPreview {
    min-height: 100px;
    border: 1px solid #ccc;
    padding: 10px;
    margin-top: 10px;
}

#flexPreview.flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#flexPreview > div,
#flexPreview > li {
    background-color: #080627;
    border: 1px solid #b77600;
    padding: 5px;
    margin: 5px 0;
}

.display-container {
  margin-bottom: 20px;
}

.display-selects {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-right:-290px;
}

.display-select-wrapper {
  flex: 1;
}

.display-select-wrapper select {
  width: 100%;
  padding: 5px;
  background-color: #0b0f2b;
  color: #ffbf00;
  border: 1px solid #333;
  border-radius: 4px;
}

.text-formatting-container {
    margin-bottom: 20px;
    width: calc(100% + 290px);
    margin-left: -300px;
    margin-top: 50px;
}

.text-formatting-controls {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.text-formatting-wrapper {
    flex: 1;
}

.text-formatting-wrapper label {
    display: block;
    margin-bottom: 5px;
}

.text-custom-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 2px;
    border-radius: 5px;
    background: linear-gradient(to right, #050041, #b2adff);
    outline: none;
    opacity: 0.7;
    transition: opacity .2s;
}

.text-custom-slider:hover {
    opacity: 1;
}

.text-custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #ffbf00;
    cursor: pointer;
}

.text-custom-slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #4CAF50;
    cursor: pointer;
}

.checkbox-container {
  display: flex;
  margin-top:20px;
  gap: 20px; /* Abstand zwischen den Checkbox-Items */
}

.checkbox-item {
  display: flex;
  align-items: center;
  white-space: nowrap; /* Verhindert Zeilenumbrüche innerhalb des Labels */
}

.checkbox-item input[type="checkbox"] {
  margin-right: 5px; /* Abstand zwischen Checkbox und Label */
}

@media (max-width: 1200px) {
    .content-wrapper {
        flex-direction: column;
    }
    .left-column, .middle-column, .right-column {
        width: 100%;
    }
    .preview {
        width: 90%; /* Etwas breiter auf kleineren Bildschirmen */
    }
}

.modal_opener {
    color: #4CAF50;
	margin-bottom:10px;
}

.openPreviewWindow {
    background: linear-gradient(180deg, #ff961f 8.40%, #ad5400 34.94%, #703600 52.05%, #612c00 70.53%, #702d00 92.95%, #bd6500 99.58%);
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-image 0.4s ease;
    position: relative;
    z-index: 1;
}

.openPreviewWindow::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, #3377ff 8.40%, #003fbd 34.94%, #002b80 52.05%, #002266 70.53%, #001a4d 92.95%, #3377ff 99.58%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    border-radius: 5px;
}

.openPreviewWindow:hover::before {
    opacity: 1;
}








/* Neuer Stil für den aktiven Knopf */
.openPreviewWindow.active {
    background: linear-gradient(180deg, #ffc800 8.40%, #ad7f00 34.94%, #705800 52.05%, #614c00 70.53%, #705e00 92.95%, #bd9d00 99.58%);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.openPreviewWindow.active::before {
  background: linear-gradient(180deg, #00aaff 8.40%, #005cad 34.94%, #002d70 52.05%, #002a61 70.53%, #003670 92.95%, #0088f0 99.58%);
}

.openPreviewWindow.active:hover::before {
    opacity: 1;
}


























.resetButton {
    background: linear-gradient(180deg, #ec0909 8.40%, #940000 34.94%, #70001c 52.05%, #66000f 70.53%, #420000 92.95%, #c70000 99.58%);
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-image 0.4s ease;
    position: relative;
    z-index: 1;
	margin-left:11px;
}

.resetButton::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, #3377ff 8.40%, #003fbd 34.94%, #002b80 52.05%, #002266 70.53%, #001a4d 92.95%, #3377ff 99.58%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    border-radius: 5px;
}

.resetButton:hover::before {
    opacity: 1;
}





















.reloadButton {
    background: linear-gradient(180deg, #ec0909 8.40%, #940000 34.94%, #70001c 52.05%, #66000f 70.53%, #420000 92.95%, #c70000 99.58%);
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-image 0.4s ease;
    position: relative;
    z-index: 1;
	margin-left:11px;
}

.reloadButton::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, #3377ff 8.40%, #003fbd 34.94%, #002b80 52.05%, #002266 70.53%, #001a4d 92.95%, #3377ff 99.58%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    border-radius: 5px;
}

.reloadButton:hover::before {
    opacity: 1;
}













/* NEUE CSS */

/* Container für die Positionierungssektion */
.pos-container {
  margin-bottom: 20px;
}

/* Dropdown-Wrapper */
.pos-dropdown-wrapper {
  margin-bottom: 15px;
}

.pos-dropdown-wrapper label {
  display: block; /* Label über dem Dropdown */
  margin-bottom: 5px;
}

.pos-dropdown {
  width: 200px; /* Einheitliche Breite */
  padding: 5px;
  background-color: #0b0f2b;
  color: #ffbf00;
  border: 1px solid #333;
  border-radius: 4px;
}

/* Eingabefelder-Wrapper */
.pos-inputs {
  display: flex; /* Flexbox für horizontale Anordnung */
  gap: 15px; /* Abstand zwischen den Gruppen */
  width:0px;  /* Begrenzt die Breite und verhindert unerwünschte Ausdehnungen */
}

.pos-input-wrapper {
  display: flex; /* Flexbox für Label und Eingabefeld nebeneinander */
  align-items: center; /* Vertikale Ausrichtung */
}

.pos-label {
  margin-right: 10px; /* Abstand zwischen Label und Eingabefeld */
}

.pos-input {
  width: 60px; /* Einheitliche Breite für die Eingabefelder */
  padding: 2px;
  text-align: center;
  background-color: #0b0f2b;
  color: #ffbf00;
  border: 1px solid #d58a00;
  border-radius: 3px; /* Abgerundete Ecken */
}

.pos-input:focus {
  outline: none;
  border-color: #007bff; /* Fokus-Effekt */
}



