@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, var(--dxds-color-content-neutral-default-rest));
    }

.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%;
}

.icon {
    width: var(--icon-width);
    height: var(--icon-height);
    background-color: currentcolor;
    mask-position: center center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-image: var(--icon-mask-image);
    mask-image: var(--icon-mask-image);
}

.myTowerFormLayout div.card-header {
    color: red;
    background-color: blueviolet;
}

.myCustomLayout .dx-form-layout-group .dx-card-header {
    background-color: blueviolet;
}

.or {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0.3125rem 0;
}

    .or .or-line {
        border-bottom: 1px solid var(--bs-body-color, var(--dxds-color-content-neutral-default-rest));
        width: 100%;
        opacity: 0.2;
    }

    .or .or-text {
        padding: 0 0.625rem 0px 0.625rem;
        font-size: 0.75rem;
        line-height: 1.125rem;
        color: var(--bs-body-color, var(--dxds-color-content-neutral-default-rest));
        opacity: 0.7;
    }

.links-area {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding-top: 0.625rem;
}

.links-container {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
    align-items: center;
}

    .links-container .dot {
        height: 0.3125rem;
        width: 0.3125rem;
        margin: 0 0.1875rem;
        border-radius: 50%;
        background-color: var(--bs-body-color, var(--dxds-color-content-neutral-default-rest));
        opacity: 0.7;
    }


.custom-margin {
    margin-top: 0.1rem !important; /* Adjust the value as needed */
}

.manage-layout {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.info-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.15;
    background: var(--bs-primary, var(--dxds-primary-90));
    z-index: -1;
}

.info-message {
    padding: 0.625rem 1rem 0.625rem 1rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .info-message.info-panel {
        margin-bottom: 0.625rem;
    }

.manage-content {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.large-input {
    height: 4.3125rem;
    font-size: 1.875rem;
}

.title-content-text-secondary {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.button-group {
    display: flex;
    flex-direction: row;
    gap: 0.625rem;
}

.confirm-button {
    margin-top: 0.3125rem;
}

.display-desktop {
    display: block;
}

.display-mobile {
    display: none;
}

.my-custom-box {
    width: 15em;
    border: 1px solid #333333;
    box-shadow: 8px 8px 5px #444444;
    padding: 8px 12px;
    color: #64B5F6;
    background-color: #f9e076;
}

.icon-external-provider {
    width: var(--icon-provider-width);
    height: var(--icon-provider-height);
    background-image: var(--icon-provider-background-image);
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .display-desktop {
        display: none;
    }

    .display-mobile {
        display: block;
    }
}

.breadcrumb {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.breadcrumb-item {
    text-decoration: none;
    color: navy;
    margin: 0 4px;
}


    .breadcrumb-item.active {
        color: #333;
        font-weight: bold;
    }

.breadcrumb-separator {
    color: #666;
    margin: 0 4px;
    font-size: 18pt
}


.breadcrumb-item-dark {
    text-decoration: none;
    color: #FFD700;
    margin: 0 4px;
}

.my-grid-width {
    width: 200px;
}

/*.label-like-textbox .dxbs-editor-container {
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
}*/

.label-like-textbox {
    border: none !important;
    outline: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    cursor: default !important; /* Change cursor to default pointer */
    padding: 0 !important; /* Remove padding */
    font-size: 24px !important; /* Increased font size */
    font-weight: 600 !important; /* Bold text */
}

.label-like-textbox2 {
    border-bottom: solid #0f6bba !important;
    outline: none !important;
    background-color: transparent !important;
    box-shadow: none !important; /*0 2px 4px rgba(0, 0, 0, 0.1) cursor: default   Change cursor to default pointer */
    padding: 0 !important; /* Remove padding */
    font-size: 18px !important; /* Increased font size */
    font-weight: 600 !important; /* Bold text */
}

    .label-like-textbox2 .dxbs-editor-input-container > input:focus {
        outline: none;
        box-shadow: none;
    }

/* EquipmentOverview2 - visual improvements for DevExpress form groups and card layout */
.group-caption-blue {
    background-color: #e6f7fb !important; /* light blue header */
    color: #073646 !important; /* dark teal text for contrast */
    font-weight: 600 !important;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    display: inline-block !important;
    line-height: 1.25 !important;
    box-shadow: 0 1px 0 rgba(0,0,0,0.03) inset !important;
    margin-bottom: 8px !important;
}

/* Outer card around the edit form */
.edit-card {
    background-color: var(--bs-body-bg, #ffffff);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 6px 18px rgba(3, 10, 18, 0.04);
    margin-bottom: 1rem;
}

/* Inner form layout spacing */
.form-layout-card {
    padding: 8px 4px 0 4px;
}

/* Make form action buttons align and breathe */
.form-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 12px;
}

/* Improve breadcrumb/section label look (re-uses existing label-like classes) */
.label-like-textbox,
.label-like-textbox2 {
    background-color: transparent;
    border: 0;
    color: inherit;
    font-size: 1rem;
    font-weight: 600;
}

/* Responsive tweak: narrow screens stack buttons full width */
@media (max-width: 768px) {
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

        .form-actions .dxbl-btn {
            width: 100%;
        }

    .group-caption-blue {
        display: block !important;
        width: 100% !important;
    }
}

/* CreateIssuePerson - visual improvements */
.issue-person-container {
    max-width: 1100px;
    margin: 1rem auto;
    padding: 0 12px;
}

.step-card {
    padding: 16px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
    border: 1px solid rgba(3,10,18,0.06);
    margin-bottom: 1rem;
    background: var(--bs-body-bg, #fff);
}

.step-stack {
    gap: 12px;
}

.form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.field-half {
    flex: 1 1 48%;
    min-width: 220px;
}

.field-full {
    flex: 1 1 100%;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 12px;
    flex-wrap: wrap;
}

.align-end {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Result area */
.result-card {
    padding: 12px;
    margin-top: 10px;
}

.group-list {
    margin-top: 10px;
    padding: 8px 12px;
    border-left: 3px solid #2b7bb9;
    background: rgba(43,123,185,0.04);
    border-radius: 6px;
}

.group-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

    .group-tags .tag {
        background: #eef6fb;
        color: #073646;
        padding: 6px 10px;
        border-radius: 6px;
        font-weight: 500;
    }

/* Assign grid */
.assign-grid {
    width: 100%;
    overflow: auto;
}

/* Validation summary */
.validation-summary {
    color: #b71c1c;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .field-half {
        flex-basis: 100%;
    }

    .form-actions {
        justify-content: stretch;
    }

    .align-end {
        justify-content: flex-start;
    }
}


.fluent-wizard,
.fluent-wizard > ol {
    position: relative !important;
}

    /* Ensure step numbers are centered in circles */
    /*.fluent-wizard > ol > li .fluent-wizard-icon-number::part(control),
    .fluent-wizard > ol > li .fluent-wizard-icon::part(control) {
        display: flex;*/ /* use flexbox for centering */
        /*align-items: center;*/ /* vertical centering */
        /*justify-content: center;*/ /* horizontal centering */
        /*height: var(--fluent-wizard-circle-size, 48px);
        width: var(--fluent-wizard-circle-size, 48px);
        border-radius: 50%;*/ /* enforce circular shape */
        /*font-weight: 600;
        line-height: 1;*/ /* avoid text shifting */
        /*font-size: calc(var(--fluent-wizard-circle-size, 48px) * .55);
    }*/


    /*Ensure each step icon sits above the connector */
/*    .fluent-wizard > ol > li,
    .fluent-wizard > ol > li .fluent-wizard-icon,
    .fluent-wizard > ol > li .fluent-wizard-icon-number {
        position: relative !important;
        z-index: 1 !important;
    }
*/
        /* If the library uses inner parts for the icon, keep them above the line too */
/*        .fluent-wizard > ol > li .fluent-wizard-icon-number::part(control),
        .fluent-wizard > ol > li .fluent-wizard-icon::part(control) {
            z-index: 2 !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            height: var(--fluent-wizard-circle-size, 48px) !important;
            width: var(--fluent-wizard-circle-size, 48px) !important;
            line-height: 1 !important;
            font-weight: 600 !important;
            font-size: calc(var(--fluent-wizard-circle-size, 32px) * .55) !important;
        }
*/
/*    .fluent-wizard > ol > li,
    .fluent-wizard > ol > li .fluent-wizard-icon-number::part(control),
    .fluent-wizard > ol > li .fluent-wizard-icon::part(control) {
        z-index: 2 !important;
        display: inline-flex !important;
        place-items: center !important;
        align-items: center !important;
        justify-content: center !important;
        height: var(--fluent-wizard-circle-size, 48px) !important;
        width: var(--fluent-wizard-circle-size, 48px) !important;
        border-radius: 50% !important;
        line-height: 1 !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        text-align: center !important;
        font-weight: 600 !important;
        font-size: calc(var(--fluent-wizard-circle-size, 32px) * .55) !important;
    }
*/
/*        .fluent-wizard > ol > li .fluent-wizard-icon-number,
        .fluent-wizard > ol > li .fluent-wizard-icon {
            position: relative;
            height: var(--fluent-wizard-circle-size, 48px);
            width: var(--fluent-wizard-circle-size, 48px);
            border-radius: 50%;
        }

            .fluent-wizard > ol > li .fluent-wizard-icon-number > *,
            .fluent-wizard > ol > li .fluent-wizard-icon > * {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                line-height: 1;
                font-weight: 600;
                font-size: calc(var(--fluent-wizard-circle-size, 48px) * .55);
                text-align: center;
                white-space: nowrap;
            }
*/
