@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html, body {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.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;
    padding: 0.3125rem 0;
}

.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%;
}

/* --------------------- */
/* Hauptmenue            */
/* --------------------- */
.custom-menue-icon {
    font-size: 18px;
    margin-right: 10px;
    color:darkred; /* darkorange #0078d4;  Windows 11 Blau */
    width: 20px; /* Breite des Icons */
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: center; /* zentriert horizontal */
    padding: 0.5rem 1rem;
    background: #fff; /* oder gewünschte Hintergrundfarbe */
    border-bottom: 1px solid #eee;
}
    .topbar .logo {
        height: 40px;
        margin-right: 1.5rem;
        margin-top: 10px;
        margin-left: 10px;
    }

.main-content {
    padding: 2rem;
}


/* --------------------- */
    /* 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%;
}