﻿
label {
    font-weight: 600;
    margin-top: 10px;
}

.editor {
    background-color: #EEEEEE;
}

.headline {
    background: linear-gradient(135deg, #12B4FF, #0d8fd9);
    padding: 6px 12px;
    color: white;
    margin-top: 10px;
    border-radius: 8px;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
}

.itvbtn {
    background: linear-gradient(135deg, #12B4FF, #0d8fd9);
    padding: 6px 12px;
    color: white;
    margin-top: 10px;
    border-radius: 8px;
    font-weight: 600 !important;
    border: none;
}

.itvbtnDanger {
    background: linear-gradient(135deg, #FF4B4B, #D90D0D);
    padding: 6px 12px;
    color: white;
    margin-top: 10px;
    border-radius: 8px;
    font-weight: 600 !important;
    border: none;
}

.itvbtnWarning {
    background: linear-gradient(135deg, #FFB84B, #D97A0D);
    padding: 6px 12px;
    color: white;
    margin-top: 10px;
    border-radius: 8px;
    font-weight: 600 !important;
    border: none;
}

.output .btn {
    border: 3px solid #12B4FF;
    border-radius: 8px;
    background-color: white;
    color: #12B4FF;
}

.output .btn-primary {
    border: 3px solid #12B4FF;
    border-radius: 8px;
    background-color: white;
    color: #12B4FF;
    box-shadow: 0 2px 4px rgba(18, 180, 255, 0.3);
}

.output .btn-outline-secondary {
    border: 3px solid #12B4FF;
    border-radius: 8px;
    background-color: white;
    color: #12B4FF;
    box-shadow: 0 2px 4px rgba(18, 180, 255, 0.3);
}

.output .btn:hover {
    background: linear-gradient(135deg, #12B4FF, #0d8fd9);
    color: white;
    border-color: #0d8fd9;
}

hr {
    border: none;
    height: 3px;
    /* Set the hr color */
    color: #12B4FF; /* old IE */
    background-color: #12B4FF; /* Modern Browsers */
}

/* Responsive Container */
.form-container {
    display: flex;
    flex-wrap: wrap;
}

/* Desktop - Volle Höhe nutzen */
@@media (min-width: 992px) {
    .form-container {
        height: calc(100vh - 180px);
        flex-wrap: nowrap;
    }

    .form-column {
        height: 100%;
        overflow-y: auto;
        padding: 15px;
    }
}

/* Mobile/Tablet - Spalten untereinander */
@@media (max-width: 991px) {
    .form-container {
        min-height: auto;
    }

    .form-column {
        width: 100%;
        margin-bottom: 20px;
        padding: 15px;
    }

        .form-column textarea {
            height: 300px !important;
            max-height: 50vh;
        }
}

/* Custom Tooltips - weiße Schrift auf schwarzem Grund */
[data-title] {
    position: relative;
}

    [data-title]:hover::after {
        content: attr(data-title);
        position: absolute;
        background-color: #000;
        color: #fff;
        padding: 8px 12px;
        border-radius: 6px;
        white-space: normal;
        max-width: min(300px, 90vw);
        font-size: 14px;
        font-weight: 400;
        z-index: 10000;
        pointer-events: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        word-wrap: break-word;
        top: calc(100% + 8px);
        left: 50%;
        transform: translateX(-50%);
    }

    /* Tooltip-Pfeil (zeigt nach oben zum Button) */
    [data-title]:hover::before {
        content: '';
        position: absolute;
        top: calc(100% + 2px);
        left: 50%;
        transform: translateX(-50%);
        border: 6px solid transparent;
        border-bottom-color: #000;
        z-index: 10000;
        pointer-events: none;
    }

/* Anpassung für Buttons am rechten Rand */
.justify-content-between > div:last-child [data-title]:hover::after {
    left: auto;
    right: 0;
    transform: translateX(0);
}

.justify-content-between > div:last-child [data-title]:hover::before {
    left: auto;
    right: 12px;
    transform: translateX(0);
}

/* Anpassung für Buttons am linken Rand */
.justify-content-between > div:first-child [data-title]:hover::after {
    left: 0;
    transform: translateX(0);
}

.justify-content-between > div:first-child [data-title]:hover::before {
    left: 12px;
    transform: translateX(0);
}
