@import url("Buttons.css");
@import url("Checkbox.css");
@import url("Dialog.css");
@import url("DropDownList.css");
@import url("Headers.css");
@import url("Grid.css");
/*@import url("sh.scss");*/

/* Erzwinge schwarzen Text bei deaktivierten Telerik TextAreas */
textarea.k-textarea[disabled] {
    color: black !important;
    opacity: 1 !important;
}

@font-face {
    font-family: 'glb';
    src: url('Graphik-Semibold.otf');
    font-style: normal;
}

@font-face {
    font-family: 'gl';
    src: url('Graphik-Light.otf');
    font-style: normal;
}

html, body {
    font-family: 'Calibri',  'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


.selected-customer {
    color: dimgray;
    font-size: 1.1em;
}

.radio-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

    .radio-options label {
        font-size: 1.2em;
        display: flex;
        align-items: center;
    }

    .radio-options input[type="radio"] {
        transform: scale(1.5);
        margin-right: 10px;
    }

.partial-invoice-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.custom-button {
    background-color: #00008B; /* Dunkelblaue Hintergrundfarbe */
    color: white; /* Weiße Schriftfarbe */
    font-size: 1.2em; /* Größere Schriftgröße */
    padding: 10px 20px; /* Mehr Innenabstand für größere Schaltfläche */
    border: none; /* Keine Rahmen */
    border-radius: 5px; /* Leicht abgerundete Ecken */
    cursor: pointer; /* Zeigeränderung bei Hover */
}

    .custom-button:hover {
        background-color: #000070; /* Etwas dunkleres Blau bei Hover */
    }

.hg-schremlblau {
    background-color: #D8DFEA; /* blau_mit_opazität*/
    padding: 10px; /* Abstand rundherum */
    color: #000070; /* Textfarbe für besseren Kontrast */
    border-radius: 5px; /* Abgerundete Ecken */
    width: 100%; /* Volle Breite */
    box-sizing: border-box; /* Berücksichtigt Padding und Border in der Breite */
}

.flex-container {
    display: flex;
    justify-content: space-between; /* oder 'space-around' je nach Bedarf */
}

.flex-item {
    flex: 1; /* Gibt an, dass jedes Element flexibel ist und den verfügbaren Platz ausfüllt */
}

.vertical-divider {
    border-left: 1px solid #ccc; /* Farbe und Breite der Linie */
    padding-left: 10px; /* Abstand zwischen der Linie und dem Inhalt */
    margin-right: 10px; /* Abstand zwischen der Linie und der nächsten Spalte */
    height: auto; /* Passt die Höhe der Linie an den Inhalt an */
}

.grid-link {
    color: blue; /* Setzt die Textfarbe des Links auf blau */
    text-decoration: underline; /* Unterstreicht den Text, um ihn als Link zu kennzeichnen */
    cursor: pointer; /* Ändert den Cursor in eine Hand, wenn über den Link gehovt wird */
}

.cursor-pointer {
    cursor: pointer; /* Ändert den Mauszeiger in eine Hand */
}

.center-notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    z-index: 9999;
    pointer-events: none;
}

.center-notification-box {
    background-color: steelblue; /* Blauer Hintergrund (Microsoft-Blau) */
    color: white; /* Weißer Text */
    padding: 1rem 2rem; /* Innenabstand: oben/unten 1rem, seitlich 2rem */
    border-radius: 8px; /* Abgerundete Ecken */
    font-size: 1.1rem; /* Etwas größere Schrift */
    box-shadow: 0 0 10px rgba(0,0,0,0.3); /* Weicher Schatten außen */
    pointer-events: auto; /* Klicks nur auf die Box selbst erlaubt */
    animation: fadeInOut 2.5s ease-in-out; /* Animation der Sichtbarkeit */
    /*Die 2.5s bei animation: fadeInOut 2.5s ... ist nur die Dauer der Animation, nicht die Zeit, wie lange die Nachricht sichtbar bleibt – das steuerst du ausschließlich über durationMs im Code.*/

}


@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    /* Start: leicht verkleinert & unsichtbar */
    10% {
        opacity: 1;
        transform: scale(1);
    }
    /* Aufblenden & vergrößern */
    90% {
        opacity: 1;
    }
    /* Sichtbar bleiben */
    100% {
        opacity: 0;
        transform: scale(0.95);
    }
    /* Ausblenden & wieder verkleinern */

}

@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-box {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 480px;
    width: 90%;
    border: none;
    animation: fadeInModal 0.2s ease-out;
}

.modal-content {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal-icon {
    font-size: 3rem;
    color: #0078d4;
    margin-bottom: 1rem;
}

.modal-button {
    background: #0078d4;
    color: white;
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}




