html, body {
    font-family: 'Inter', sans-serif;
}


header {
    z-index: calc(var(--mud-zindex-popover) + 2) !important
}



h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.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;
}

.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;
    }

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

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

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.app-switch-menu {
    padding: 16px;
    justify-content: center;
    align-items: center;
    gap: 0px;
    border-radius: 4px;
    border: 1px solid #E2E5E9;
    background: #FFF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    -webkit-font-smoothing: subpixel-antialiased;
    transform: translateZ(0);
    backface-visibility: hidden;
    & .large {
        display: flex;
    }

    & .small {
        display: none;
    }

    & .switcher-button {
        display: flex;
        min-width: 90px;
        max-width: 272px;
        min-height: 56px;
        max-height: 125px;
        padding: 16px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;

        & p {
            color: var(--mud-palette-text-primary);
            text-align: center;
            font-style: normal;
            font-weight: 700;
            line-height: normal;
        }

        & .mud-list-item-icon {
            margin-right: 0px;
        }

        & .mud-list-item-text {
            align-items: flex-start;
            display: flex;
            align-self: center;
            width: 72px;
            height: 40px;
            justify-content: center;
        }
    }

    & .app-switcher-divider {
        text-align: center;
        height: 80px;
        color: var(--mud-palette-divider-light);
        margin-left: 0;
        margin-right: 0;
        opacity: unset;
        align-self: center;
    }
}

.user-profile-menu {
    width: 296px;
    padding: 8px !important;
    gap: 0px;
    flex-direction: column;
    align-items: center;
    border-radius: 4px;
    border: 1px solid var(--mud-palette-divider-light);
    background: var(--mud-palette-background);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    -webkit-font-smoothing: subpixel-antialiased;
    transform: translateZ(0);
    backface-visibility: hidden;

    & .switcher-button {
        display: flex;
        height: 40px;
        padding: 8px 16px 8px 16px;
        align-items: center;
        flex-direction: row;
        gap: 16px;
        justify-content: center;
        -webkit-font-smoothing: subpixel-antialiased;
        transform: translateZ(0);
        backface-visibility: hidden;
        color: initial;

        & .mud-list-item-icon {
            margin-right: 0px;

            & .mud-icon-size-large {
                font-size: 1.5rem;
            }
        }

        & .mud-list-item-text {
            pointer-events: none;
            align-items: center;
            display: flex;
            align-self: center;
            width: 195px;
            height: 40px;
            justify-content: flex-start;
            margin-top: 0;
            margin-bottom: 0;

            & .mud-list-item-gutters {
                padding: 0px;
            }
        }
    }

    & .app-switcher-divider{
        align-self: center;
        width: 256px;
        height: 1px;
        background: var(--mud-palette-divider-light);
    }
}

.user-profile-menu .switcher-button:first-of-type {
    height: 76px;
}

.blur-background {
    backdrop-filter: blur(4px);
}

.mud-drawer .mud-drawer-content {
    overflow-y: auto;
    min-height: fit-content;
}

.menu-dialog .mud-button-close,
.buyers-dialog .mud-button-close {
    color: var(--primary-600);
}

@media only screen and (max-width: 720px) and (min-width: 0px) {
    .app-switch-menu {
        display: flex;
        width: 264px;
        padding: 8px;
        gap: 0px;
        flex-direction: column;
        align-items: center;
        border-radius: 4px;
        border: 1px solid #E2E5E9;
        background: #FFF;
        box-shadow: 4px 4px 10px 0px rgba(0, 0, 0, 0.10);

        & .switcher-button {
            display: flex;
            height: 56px;
            padding: 8px 16px;
            align-items: center;
            flex-direction: row;
            gap: 16px;
            align-self: center;
            justify-content: center;

            & .mud-list-item-text {
                align-items: center;
                display: flex;
                align-self: center;
                width: 72px;
                height: 40px;
                justify-content: center;
            }
        }

        & .large{
            display: none;
        }
    
        & .small{
            display: flex;
            opacity: 0.4;
        }
    }

    .user-profile-menu{
        width: 91vw;

        & .app-switcher-divider {
            width: 95%;
        }

        & .switcher-button {
            & .mud-list-item-text {
                width: 300px;

                & p {
                    display: flex;
                    flex-wrap: wrap;
                    flex-direction: column;
                }
            }                               
        }
    }
}

/* NAVIATION RAIL */

.mud-drawer-content .mud-nav-item {
    height: 48px;
}

.mud-drawer-content .mud-icon-root {
    width: 18px;
    height: 18px;
}


.mud-drawer-content .mud-nav-group button {
    height: 48px; 
    color: black;
}

.mud-drawer-content .mud-nav-group button .mud-nav-link-text {
    font-weight: 400;
    color: black;
}

.mud-drawer-content .mud-nav-link {
    display: flex;
    justify-content: center;
    gap: 4px;
    color: black;
}

.mud-navmenu.mud-navmenu-bordered .mud-nav-link.active:not(.mud-nav-link-disabled) {
    border-inline-end-width: 4px !important;
}

.mud-navmenu.mud-navmenu-margin-dense .mud-nav-link:hover {
    font-weight: 600;
}

/*
    Circular Progress on index.html
*/
.gyde-logo {
    width: 400px;
}

.progress-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    gap: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.progress-bar-container {
    width: 450px;
}

.progress-bar {
    height: 8px;
    background-color: rgba(220, 224, 229, 1);
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.progress-bar-value {
    width: 100%;
    height: 100%;
    background-color: rgba(79, 83, 89, 1);
    animation: indeterminateAnimation 1s infinite linear;
    transform-origin: 0% 50%;
}

@keyframes indeterminateAnimation {
    0% {
        transform: translateX(0) scaleX(0);
    }

    40% {
        transform: translateX(0) scaleX(0.4);
    }

    100% {
        transform: translateX(100%) scaleX(0.5);
    }
}

@media only screen and (max-width: 720px) and (min-width: 0px) {
    .gyde-logo {
        width: 100%;
        max-width: 312px;
    }
    .progress-bar-container {
        width: 312px;
    }
    .progress-container {
        gap: 18px;
    }
}

/* ADMIN CUSTOM CLASS */
.select-z-index {
    z-index: 1303 !important;
}

.mud-popover:has(.mud-picker-calendar-content.mud-picker-calendar-content-2) {
    z-index: 1303 !important;
}
.mud-picker:has(.mud-picker-calendar-content.mud-picker-calendar-content-2) {
    max-height: 350px;
    overflow: auto;
    margin-top: 0;
}

/* TRUNCATE TEXT (MAX 1 LINES) - ELLIPSIS  */
@media (width >= 1024px) {
    .truncate-text-container-1 {
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
    }
}

/* TRUNCATE TEXT (MAX 2 LINES) - ELLIPSIS  */
.truncate-text-container {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@media(width < 960px) {
    .deal-profile-menu-builder-container {
        padding: 0px !important;
    }
}

/*Sales tools modal*/
.modal-style-sales-tools {
    border-radius: 8px;
    height: 100%;
    width: 100%;
}

.modal-style-sales-tools.mobile {
    width: 100%;
    max-width: 100%;
}

.modal-style-sales-tools.tablet-portrait {
    width: 100%;
}

.modal-style-sales-tools.desktop-portrait {
    width: 100%;
}

.modal-style-sales-tools.desktop-low {
    width: 100%;
}

.modal-style-sales-tools.desktop {
    width: 100%;
    height: 100%;
}

.customize-package-modal {
    max-width: 1016px !important;
    width:100%;
}
.customize-package-modal .mud-dialog-actions {
    padding-top: 0 !important;
}

.customize-package-modal .mud-dialog-content {
    padding: 24px !important;
    margin: -2px 0 0 0 !important;
}
    
.customize-package-modal .mud-grid-spacing-xs-6 {
    margin-left: -16px;
    margin-top: -16px;
}

.customize-package-modal .mud-grid-spacing-xs-6 > .mud-grid-item {
    padding-left: 16px;
    padding-top: 16px;
}
.customize-package-modal .mud-grid-spacing-xs-6 {
    width: calc(100% + 16px);
}

@media (max-width: 980px) {
    .customize-package-modal {
        max-width: 94% !important;
    }
    .customize-package-modal .body-m-regular {
        font-size: 16px !important;
    }
}

@media (max-width: 1024px) {
    .customize-package-modal {
        max-width: calc(100% - 48px) !important;
        max-height: calc(100% - 48px) !important;
    }
}

@media (max-width: 720px) {
    .customize-package-modal {
        max-width: calc(100% - 32px) !important;
        max-height: calc(100% - 32px) !important;
    }
}

@media (max-width: 360px) {
    .customize-package-modal {
        max-width: calc(100% - 24px) !important;
        max-height: calc(100% - 32px) !important;
    }
}

.mud-popover.mud-popover-open {
    border-radius: 8px;
    overflow: hidden;
}
.mud-list.mud-menu-list {
    padding: 0px !important;
}

.settings-layout .radio-container .mud-button-root {
    padding: 8px 8px !important;
}

.mud-drop-item-preview-start {
    height: 16px !important;
    top: -16px !important;
}

.headerAnnouncement .text {
    background: #E7EBEE;
    color: #262626
}

.embeddedServiceLiveAgentStateChatPlaintextMessageDefaultUI.agent.plaintextContent {
    background: #E7EBEE !important;
}

.embeddedServiceLiveAgentStateChatPlaintextMessageDefaultUI.chasitor.plaintextContent {
    background: #262626 !important;
}

.embeddedServiceLiveAgentStateChatPlaintextMessageDefaultUI.agent.plaintextContent .uiOutputRichText {
    color: #262626 !important;
}

.embeddedServiceLiveAgentStateChatPlaintextMessageDefaultUI.chasitor.plaintextContent .uiOutputRichText {
    color: #E7EBEE !important;
}

#chatWindowCurrentDesc {
    color: #262626 !important;
}

.agentName {
    color: #262626 !important;
}

.timeContent {
    color: #262626 !important;
}

.embeddedServiceLiveAgentStateChatEventMessage .eventMessage:before {
    border-top: 1px dashed var(--slds-g-color-neutral-base-90, #1e1e1e) !important;
}

.embeddedServiceLiveAgentStateChatEventMessage .eventMessage:after {
    border-top: 1px dashed var(--slds-g-color-neutral-base-90, #1e1e1e) !important;
}

.embeddedServiceLiveAgentStateChatEventMessage .eventMessage {
    color: #262626 !important;
}

.chatContent .typingIndicatorBall{
    background: #1e1e1e !important;
}

.loadingBall.first{
    background: #1e1e1e !important;
}

.loadingBall.second {
    background: #1e1e1e !important;
}

.loadingBall.third {
    background: #1e1e1e !important;
}

.mud-popover.tooltip-280 {
    max-width: 280px !important;
    white-space: normal;
    text-align: left;
}

.mud-icon-button:focus {
    background-color: var(--mud-palette-action-default-hover);
}

.mud-chip.mud-chip-filled.mud-chip-color-default {
    color: var(--mud-palette-text-primary);
    --mud-ripple-color: var(--mud-palette-primary-text) !important;
    background-color: var(--mud-palette-dark-lighten);
}

.mud-chip.mud-chip-filled.mud-chip-color-warning {
    color: var(--mud-palette-warning-contrast-text);
    --mud-ripple-color: var(--mud-palette-warning-contrast-text) !important;
    background-color: var(--mud-palette-warning-lighten);
}

.mud-chip.mud-chip-filled.mud-chip-color-warning.mud-chip-bordered {
    border: 1px solid var(--mud-palette-warning-darken);
}

.mud-chip.mud-chip-filled.mud-chip-color-info {
    color: var(--mud-palette-info-contrast-text);
    --mud-ripple-color: var(--mud-palette-info-contrast-text) !important;
    background-color: var(--mud-palette-info-lighten);
}
.mud-chip.mud-chip-filled.mud-chip-color-info.mud-chip-bordered {
    border: 1px solid var(--mud-palette-info-darken);
}


.mud-chip.mud-chip-filled.mud-chip-color-success {
    color: var(--mud-palette-success-contrast-text);
    --mud-ripple-color: var(--mud-palette-success-contrast-text) !important;
    background-color: var(--mud-palette-success-lighten);
}

.mud-chip.mud-chip-filled.mud-chip-color-success.mud-chip-bordered {
    border: 1px solid var(--mud-palette-success-darken);
}

.mud-chip.mud-chip-filled.mud-chip-color-error {
    color: var(--mud-palette-error-contrast-text);
    --mud-ripple-color: var(--mud-palette-error-contrast-text) !important;
    background-color: var(--mud-palette-error-lighten);
}

.mud-chip.mud-chip-filled.mud-chip-color-error.mud-chip-bordered {
    border: 1px solid var(--mud-palette-error-darken);
}


.mud-alert.mud-alert-filled-warning {
    color: var(--mud-palette-warning-darken);
    background-color: var(--mud-palette-warning-lighten);
}

.mud-alert.mud-alert-filled-success {
    color: var(--mud-palette-success-darken);
    background-color: var(--mud-palette-success-lighten);
}
.mud-alert.mud-alert-filled-info {
    color: var(--mud-palette-info-darken);
    background-color: var(--mud-palette-info-lighten);
}

.mud-alert.mud-alert-filled-error {
    color: var(--mud-palette-error-darken);
    background-color: var(--mud-palette-error-lighten);
}

.mud-divider {
    border-color: var(--mud-palette-divider-light);
}

.mud-pagination-item .mud-button-filled.mud-button-filled-primary {

    background-color: var(--mud-palette-primary-darken);
}

html {
    scroll-behavior: smooth;
}

.mud-dialog {
    border-radius: 8px !important;
}

.mud-snackbar-content-message {
    white-space: pre-line;
}

/* Add gray background to ALL the disabled and readonly input labels to make it according to figma: */
.mud-input-control-input-container:has(
    input:not(.mud-select-input):is([disabled], [readonly])
    ) > .mud-input-label {
    background-color: var(--mud-palette-background-gray) !important;
}
