/* General Styling */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.tooltip {
            position: relative;
            display: inline-block;
            cursor: pointer;
        }

        .tooltip .tooltiptext {
            visibility: hidden;
            width: 200px;
            background-color: #f9f9f9;
            color: #000;
            text-align: center;
            border-radius: 6px;
            padding: 5px;
            position: absolute;
            z-index: 1;
            bottom: 125%; /* Position the tooltip above the icon */
            left: 50%;
            margin-left: -100px;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .tooltip:hover .tooltiptext {
            visibility: visible;
            opacity: 1;
        }

.container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    gap: 20px;
}

.linkButton {
    background-color: #e0e0e0; 
    color: #333; 
    border: 1px solid #ccc; 
    padding: 10px 15px; 
    border-radius: 5px; 
    font-size: 1em; 
    cursor: pointer; 
    transition: background-color 0.3s ease, border-color 0.3s ease; 
}

.linkButton:hover {
    background-color: #d5d5d5; 
    border-color: #bbb; 
}


.saveButton {
    background-color: #e0e0e0; 
    color: #333; 
    border: 1px solid #ccc; 
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease; 
}

.save-button:hover {
    background-color: #d5d5d5; 
    border-color: #bbb; 
}

.pulsing-button {
    background-color: #4CAF50; 
    color: white; 
    border: none;
    padding: 15px;
    border-radius: 14px;
    cursor: pointer;
    animation: pulse 1.5s infinite;
    transition: background-color 0.3s ease;
}

.pulsing-button:hover {
    background-color: #45a049; 
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}


.mandatory-fields-box {
    background-color: #ffffff; 
    border: 2px solid #4CAF50; 
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
}

.mandatory-note {
    font-weight: 600;
    color: #4CAF50; 
    font-size: 1.2em;
    margin-bottom: 10px;
}

.mandatory-fields-box input[type="text"],
.mandatory-fields-box input[type="url"],
.mandatory-fields-box textarea,
.mandatory-fields-box input[type="color"] {
    margin-top: 5px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: calc(100% - 22px);
    box-sizing: border-box;
    font-size: 1em;
}

.mandatory-fields-box select {
    margin-top: 5px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: calc(100% - 22px);
    box-sizing: border-box;
    font-size: 1em;
    background-color: #fff;
    color: #333;
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 12px 12px;
}

.mandatory-fields-box select:focus {
    border-color: #4CAF50; /* Green border on focus */
    outline: none; /* Remove outline */
}

.mandatory-fields-box select::after {
    content: '\25BC'; /* Unicode character for downward arrow */
    position: absolute;
    right: 10px;
    pointer-events: none;
}





.separator {
    width: 100%;
    height: 2px;
    background-color: #ddd;
    margin-top: 10px;
    margin-bottom: 10px;
    border: none;
}

.char-counter {
    display: block;
    font-size: 12px;
    color: #888;
    text-align: right;
    margin-top: 5px;
}

/* Form */
form {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 400px;
}

form label {
    margin-top: 10px;
    font-weight: bold;
    color: #444;
}


form input[type="text"],
form input[type="url"],
form textarea,
form input[type="color"] {
    margin-top: 5px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: calc(100% - 22px);
    box-sizing: border-box;
    font-size: 1em;
}

form select {
    margin-top: 5px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: calc(100% - 22px);
    box-sizing: border-box;
    font-size: 1em;
    background-color: #fff;
    color: #333;
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 10px 10px;
}

.linkButton {
    background-color: #e0e0e0; /* Subtile Hintergrundfarbe */
    color: #333; /* Dunkle Textfarbe */
    border: 1px solid #ccc; /* Leichter Rahmen */
    padding: 10px 15px; /* Innenabstand */
    border-radius: 5px; /* Abgerundete Ecken */
    font-size: 1em; /* Schriftgröße */
    cursor: pointer; /* Zeiger als Cursor */
    transition: background-color 0.3s ease, border-color 0.3s ease; /* Sanfter Übergang */
    margin-top: -10px;
}

.linkButton:hover {
    background-color: #d5d5d5; /* Etwas dunklere Hintergrundfarbe beim Hover */
    border-color: #bbb; /* Etwas dunklerer Rahmen beim Hover */
}

form input[type="file"] {
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    padding: 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    width: 50%;
    text-align: center;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #45a049;
}

/* Orga container */
.orga {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.orga .column {
    flex: 1;
    min-width: calc(50% - 10px);
}

.orga .column label,
.orga .column input[type="text"] {
    width: 100%;
}

/* Box-Layouts */
.box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.box .column {
    flex: 1;
    min-width: calc(50% - 10px);
}

.box .column label,
.box .column input[type="text"],
.box .column textarea {
    width: 100%;
}

/* Color picker */
input[type="color"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    width: 100%;
    height: 50px;
    cursor: pointer;
    padding: 0;
    margin-top: 10px;
}

input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

input[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: 5px;
}

/* "Störer"/CTA columns */
.breaker {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.breaker .column {
    flex: 1;
    min-width: calc(50% - 20px);
}

.breaker .column label,
.breaker .column input[type="text"],
.breaker .column input[type="url"] {
    width: 100%;
}

/* Responsiveness */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .container > script {
        width: 100%;
    }

    form {
        width: 100%;
    }

    form input[type="text"],
    form input[type="url"],
    form textarea,
    form input[type="color"] {
        width: calc(100% - 20px);
    }

    .key-messages,
    .box,
    .breaker {
        flex-direction: column;
    }

    .key-messages .column,
    .box .column,
    .breaker .column {
        min-width: 100%;
    }


/* Existing styles here */

.form-section {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    overflow-y: auto;
}

.form-section.short {
    height: 87px;
}

.form-section.medium {
    height: 600px;
}

.form-section.large {
    height: 660px;
}

.form-section.xlarge {
    height: 1207px;
}

.form-section.xxlarge {
    height: 218px;
}

.form-section.xxxlarge {
    height: 651px;
}

.form-section .row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.form-section .row .column {
    flex: 1;
    min-width: calc(50% - 10px);
}

.container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.container .column {
    flex: 1;
    min-width: calc(50% - 20px);
}

.pulsing-button {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.form-section .linkButton {
    background-color: #e0e0e0; /* Subtile Hintergrundfarbe */
    color: #333; /* Dunkle Textfarbe */
    border: 1px solid #ccc; /* Leichter Rahmen */
    padding: 5px 10px; /* Reduzierter Innenabstand */
    border-radius: 5px; /* Abgerundete Ecken */
    font-size: 0.9em; /* Kleinere Schriftgröße */
    cursor: pointer; /* Zeiger als Cursor */
    transition: background-color 0.3s ease, border-color 0.3s ease; /* Sanfter Übergang */
    margin-left: 10px; /* Abstand nach links */
    margin-top: 5px; /* Abstand nach oben */
    float: right; /* Rechts ausrichten */
}


.form-section .linkButton:hover {
    background-color: #d5d5d5; /* Etwas dunklere Hintergrundfarbe beim Hover */
    border-color: #bbb; /* Etwas dunklerer Rahmen beim Hover */
}


}
