.gothic-font {
    font-family: "Special Gothic Condensed One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.montserrat {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.poppins-bold {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.strong {
    font-weight: bold;
}

.text-align-right {
    text-align: right;
}

.text-align-left {
    text-align: left;
}

.text-align-center {
    text-align: center;
}

.mud-icon-button:not(.mud-switch-base):not(.mud-picker-calendar-day) {
    padding: 6px;
    margin: 6px;
}

.app-name {
    color: #ddd !important;
}

.mud-table-cell {
    font-size: .7rem;
}

.mud-table-cell-app {
    font-size: .9rem;
}

.product-token {
    border: 1px solid #666;
    padding: 1px 5px;
    border-radius: 20px;
    white-space: nowrap;
    margin: 2px;
    display: inline-block;
}

.custom-datagrid {
    background-color: transparent !important;
}

.custom-datagrid-lg .mud-table-cell {
    font-size: .9rem;
}

.mud-table-row:hover {
    background-color: rgba(0, 0, 0, .1);
    cursor: pointer;
}

.custom-datagrid th {
    background-color: rgba(0, 0, 0, .1);
    font-weight: bold;
}

.header-bar {
    position: fixed;
    width: 100%;
    background: url('/images/bg2.jpg') repeat;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
    z-index: 1000;
}

.header-bar-admin-panel {
    background: url('/images/bg2.jpg') repeat;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, .5);
    z-index: 1000;
}

.admin-content {
    padding: 1em;
}

.disabledView .mud-input {
    background-color: white;
}

.required .mud-input-outlined-border {
    border-color: #99c497 !important;
    border-width: 2px !important;
}

.limit-width-column-100 {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.xml-content {
    padding: 15px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 14px;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: #333;
}

.description {
    border-left: 2px solid #333;
    padding: 5px;
}

.row-deleted {
    background-color: #dfc5bb !important;
    font-style: italic;
}

.mud-toolbar-sticky {
    position: sticky;
    top: calc(var(--mud-appbar-height) - var(--mud-appbar-height) / 4);
    /*z-index: 1600 !important;*/
}

.audit-data {
    font-family: "Special Gothic Condensed One", sans-serif;
    font-weight: 200;
    font-style: normal;
    font-size: 1em;
}


.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #222;
    color: #fff;
    padding: 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3000;
}

    .cookie-consent-banner button {
        background: #4caf50;
        color: #fff;
        border: none;
        padding: 0.5em 1em;
        cursor: pointer;
    }

:root {
    --primary-color-underline: #aaa;
}

.underline-2 {
    border-bottom: 2px solid var(--primary-color-underline);
}

.underline-1 {
    border-bottom: 1px solid var(--primary-color-underline);
}

/*for tabs background*/
.force-transparent {
    background-color: transparent !important;
}

/* resize handler for drawer */

.helper-drawer-header {
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 1.5em;
    }
    .resize-handle {
        /*margin-right: -20px; Adjust as needed */
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 5px;
        height: 100%;
        cursor: col-resize;
        z-index: 100001; 
        background-color: transparent;
    }

    .resize-icon {
        position: absolute;
        top: 50%;
        left: -10px;
        transform: rotate(90deg);
        width: 20px;
        height: 20px;
        padding: .7em;
        border-radius: 50%;
        background-color: rgb(224, 224, 224);
        border: 1px solid #ccc;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 100000; /* decorative only; don't block pointer events */
        pointer-events: none; /* allow mouse events to pass through to the handle */
    }

    /* Make sure the helper drawer allows overflow so the resize icon can be visible outside the drawer edge.
       The MudDrawer generates an id starting with 'helper-drawer-' so target that to avoid affecting other drawers. */
    [id^="helper-drawer-"] {
        overflow: visible !important;
    }

    /* Some MudDrawer implementations wrap the content in a paper element; ensure it doesn't clip either. */
    [id^="helper-drawer-"] .mud-drawer-paper {
        overflow: visible !important;
    }

.option-panel {
    background-color: #fafafa;
}





.components-reconnect-show,
.components-reconnect-failed,
.components-reconnect-rejected {
    /* Your custom styles here */
    background-color: yellow;
    color: red;
}

    .components-reconnect-show div {
        color: #00ff00; /* Change to your preferred green color */
    }

.responsive-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

@media (max-width: 768px) {

    .mud-data-grid .mud-toolbar {
        height: max-content !important;
        margin-top: .5em;
        margin-bottom: .5em;
    }
}

@media (min-width: 769px) {
    .mud-data-grid .mud-toolbar {
        height: max-content !important;
        margin-top: .5em;
        margin-bottom: .5em;
    }
}
/*.mud-input-control {
    margin-top: 3px !important;*/ /* Matches Dense margin */
/*margin-bottom: 3px !important;
}

    .mud-input-control .mud-input-label {
        transform: translate(0, -18px) scale(0.75);*/ /* Adjusts label position for dense look */
/*}

    .mud-input-control .mud-input {
        padding: 3px 12px;*/ /* Tighter padding for dense look */
/*}*/
/*html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjb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ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}*/
