@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

/*html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100%;
    overflow: auto;
}*/

:root {
    --export-color: #007ACC; /* Ein kräftiges Blau, das sich gut von Orange, Grün und Türkis abhebt – auch bei Deuteranopie. */
    --suma-color: #FF8C00; /* DarkOrange ist ein kräftiger Orangeton, der sich gut von Blau, Grün und Türkis abhebt – auch bei Deuteranopie. */
    --transit-color: #3CB371; /* MediumSeaGreen ist ein mittlerer Grünton, der sich gut von Blau, Orange und Türkis abhebt – auch bei Deuteranopie. */
    --zolllager-color: #5C5C5C; /* Ein dunkles Grau, das sich gut von den anderen Farben abhebt und auch bei Deuteranopie gut erkennbar ist. Wirkt seriös und zurückhaltend, ideal für Lagerstatus.*/
    --impost-color: #B8860B; /* Dark Goldenrod Satter Gelbton mit leichtem Braunanteil */
    --neutral-color: #CCCCCC; /* Ein neutrales Grau, das als Hintergrundfarbe oder für weniger wichtige Elemente verwendet werden kann. */
    --import-color: #C71585; /* Ein kräftiges Rotviolett, ist kräftig, aber nicht klassisch rot – dadurch besser unterscheidbar bei Rot-Grün-Schwäche. */
    /* Crimson – Sattes, leicht pinkstichiges Rot mit hohem Kontrast. */
    /*--import-color: #DC143C;*/ /* Crimson – Sattes, leicht pinkstichiges Rot mit hohem Kontrast. */
    /* --impost-color: #C71585; Ein kräftiges Rotviolett, ist kräftig, aber nicht klassisch rot – dadurch besser unterscheidbar bei Rot-Grün-Schwäche. */
    /* --suma-color: #00BFA5; /* Ein kräftiger Türkiston, der sich gut von den anderen Farben abhebt und auch bei Deuteranopie gut erkennbar ist. */ */
}

/* Icon-Farben global setzen (nutzt die in :root definierten Variablen) */
.custom-menue-icon--export {
    color: var(--export-color) !important;
}
.custom-menue-icon--import {
    color: var(--import-color) !important;
}
.custom-menue-icon--impost {
    color: var(--impost-color) !important;
}
.custom-menue-icon--transit {
    color: var(--transit-color) !important;
}
.custom-menue-icon--suma {
    color: var(--suma-color) !important;
}
.custom-menue-icon--zolllager {
    color: var(--zolllager-color) !important;
}
.custom-menue-icon--neutral {
    color: var(--neutral-color) !important;
}

/* Falls FontAwesome als SVG gerendert wird, sicherstellen, dass das SVG die Farbe übernimmt */
.custom-menue-icon--export svg,
.custom-menue-icon--export svg * {
    fill: var(--export-color) !important;
}
.custom-menue-icon--transit svg,
.custom-menue-icon--transit svg * {
    fill: var(--transit-color) !important;
}


.page-indicator {
    height: 4px;
    margin-bottom: 1rem;
    background-color: var(--procedure-color);
}


html, body {
    height: 100%;
    overflow: auto;
    display: flex;
    flex-direction: column;
}

.h3, h3 {
    font-size: 1.25rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}


#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;
    }


.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
}

    .title.title-secondary {
        padding-top: 0.313rem;
        padding-bottom: 0;
        color: var(--bs-secondary-color);
    }

.title-header-text {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 600;
    letter-spacing: 0rem;
}

.title-content-text {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 2.5rem;
    letter-spacing: 0rem;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
}

.dxbl-form-layout-item {
    vertical-align: middle !important;
}

.help-link {
    text-decoration: none;
    font-size: 1rem;
    color: lightgray;
    margin: 0px 7px 0px 0px;
    vertical-align: middle !important;
}

.help-link:hover {
    text-decoration: underline;
}
.dx-layout-item {
    margin-bottom: 0px;
    margin-top: 5px;
}

.wrap-text td, .wrap-text th {
    white-space: normal;
    word-wrap: break-word;
}

/*.text-wrap {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
*/

/* --------------------- */
/* Hauptmenue            */
/* --------------------- */
.custom-menue-icon {
    font-size: 18px;
    margin-right: 10px;
    color: #0078d4; /* darkorange #0078d4;  Windows 11 Blau */
    width: 20px; /* Breite des Icons */
}

/* --------------------- */
/* Hauptmenue Verfahren  */
/* --------------------- */
/* Spezifische Klasse für den Button im jeweiligen Verfahren*/
.win11-settings-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px;
    width: 500px;
    text-align: left;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: transparent; /* #f3f3f3; */
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

    /* Hover-Effekt mit weniger kräftiger Farbe */
    .win11-settings-button:hover {
        background-color: #e0e0e0 !important; /* Weniger kräftige Hover-Farbe */
        border: 1px solid #ccc !important;
    }

    /* Inhalt des Buttons */
    .win11-button-content {
    display: flex;
    align-items: center;    
}

    /* Icon-Styling */
    .win11-icon {
        font-size: 24px;
        margin-right: 10px;
        color: #0078d4; /* Windows 11 Blau */
    }

    /* Text-Styling */
    .win11-text {
        display: flex;
        flex-direction: column;
    }
    
    /* Title-Styling */
    .win11-title {
        font-size: 16px;
        font-weight: 400;
        color: #333;
    }

    /* Subtitle-Styling */
    .win11-subtitle {
        font-size: 12px;
        color: #666;
    }

h4.submenue-subtitle {
    font-size: inherit; /* Erbt die Schriftgröße von <h4> */
    font-weight: inherit; /* Erbt die Schriftstärke von <h4> */
    line-height: inherit; /* Erbt den Zeilenabstand von <h4> */
    color: inherit; /* #666; Überschreibt die Farbe */
    margin-top: 15px; /* Zusätzlicher Abstand */
    margin-bottom: 5px; /* Zusätzlicher Abstand */
}

/* --------------------- */
/* success-bar Area       */
/* --------------------- */
.success-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    text-align: center;
    font-size: 1.2em;
}


/* --------------------- */
/* Codelisten Area       */
/* --------------------- */

/* DropDown optimiert für Codeliste mit I0100 --> <DxComboBox ... DropDownCssClass="custom-dropdown" ... />*/
.custom-dropdown {
    max-height: 400px !important; /* Höhe des Dropdowns */
    overflow-y: auto; /* Scrollbar hinzufügen */
}
    .custom-dropdown td, .custom-dropdown th {
        white-space: normal; /* Textumbruch aktivieren */
        word-wrap: break-word; /* Lange Wörter umbrechen */
    }
    .custom-dropdown .dx-listbox-scrollable {
        max-height: 400px !important;
    }
    .custom-dropdown .dxbl-list-box-render-container {
        max-height: 600px !important; /* Höhe des Dropdowns */
        overflow-y: auto; /* Scrollbar hinzufügen */
    }


/* ---------------------------*/
/* Unterstrich nur beim Hover */
/* ---------------------------*/
/* Configuration für das FormLayoutItemWithHelp Control */
.help-link {
    text-decoration: none;
    color: inherit; /* Übernimmt die Standardfarbe der Caption */
    font-family: inherit; /* Übernimmt die Schriftart der Caption */
    font-size: inherit; /* Übernimmt die Schriftgröße der Caption */
}

    .help-link:hover {
        text-decoration: underline;
    }

/* Responsive Verhalten für DxFormLayoutItem */
.dx-form-layout-item {
    display: flex;
    flex-direction: column; /* Standard: Caption oberhalb */
}

@media (min-width: 768px) {
    .dx-form-layout-item {
        flex-direction: row; /* Ab mittlerer Bildschirmgröße: Caption neben der Eingabe */
        align-items: center;
    }

        .dx-form-layout-item .dx-field-caption {
            margin-right: 10px; /* Abstand zwischen Caption und Eingabe */
        }
}

/* --------------------------------------------------------------*/


/* ---------------------------*/
/* Dialoge */
/* ---------------------------*/
.dialog-footer-content-template {
    display: flex;
    align-items: center;
    vertical-align: central;
    height: 50px;
}
    .dialog-footer-content-template button {
        height: 30px;
        margin-left: 5px;
        margin-right: 10px;
        margin-top: 10px;
    }

/* ---------------------------*/
/* Button für Hauptmenue */
/* ---------------------------*/
.btn-outline-primary-custom {
    /* Erbt alle Eigenschaften von btn-outline-primary */
    color: #0078d4 !important;
    border-color: #0078d4 !important;
    border-width: 2px;
    background-color: transparent !important;
}

    .btn-outline-primary-custom:hover,
    .btn-outline-primary-custom:focus,
    .btn-outline-primary-custom:active {
        color: #fff !important;
        background-color: #0078d4 !important;
        border-color: #0078d4 !important;
    }

/* ---------------------------*/
/* Button f. Grid im Edit mode */
/* ---------------------------*/
.form-buttons-right {
    display: flex;
    justify-content: flex-end;
    gap: 8px; /* Abstand zwischen den Buttons */
}

/* ---------------------------*/
/* validation-summary */
/* ---------------------------*/
.validation-summary-errors,
.validation-summary-errors ul,
.validation-summary-errors li,
.text-danger,
.text-danger ul,
.text-danger li {
    white-space: normal !important;
    word-break: break-word;
}

/* ---------------------------*/
/* Progressbar color          */
/* ---------------------------*/
/*
    Bootstrap Progressbar colors
    progress-bar-success
    progress-bar-info
    progress-bar-warning
    progress-bar-danger
*/
.progress-bar-blue .dxbl-progress-bar-indicator {
    background-color: blue !important;
}
.progress-bar-orange .dxbl-progress-bar-indicator {
    background-color: orange !important;
}
.progress-bar-green .dxbl-progress-bar-indicator {
    background-color: green !important;
}
.progress-bar-red .dxbl-progress-bar-indicator {
    background-color: red !important;
}
.progress-icon-red {
    color: red !important;
}

/* ---------------------------*/
/* Table row color            */
/* ---------------------------*/
.table-striped tr:nth-child(even) {
    background-color: #f5f7fa;
}
.table-striped tr:nth-child(odd) {
    background-color: #ffffff;
}


/* ---------------------------*/
/* DxGrid Container           */
/* ---------------------------*/
.grid-container {
    overflow-x: auto;
    width: 100%;
}