﻿/*@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
*/
html, body {
    margin: 0px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

:root {
    --ec-gray-color1: #B9B9C3;
    --ec-gray-color2: #5E5873;

    .mud-nav-link.mud-nav-link-disabled {
    opacity: 0.5;
    color: #9ca3af !important;
    background-color: #f3f4f6;
    cursor: not-allowed;
    pointer-events: none;
    border-color: #d1d5db;
    box-shadow: none;
    border-radius:5px;
    transition: all 0.2s ease-in-out;
}

.mud-nav-link.mud-nav-link-disabled:hover {
    transform: none;
    box-shadow: none;
    background-color: #f3f4f6;
}
}


#blazor-error-ui {
    background: #fee2e2;
    color: #7f1d1d;
    border: 1px solid #fecaca;
    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;
}

.global-spinner {
    --sk-size: 48px;
    --sk-color: #492D21;
    position: absolute;
    top: 50vh;
    left: 50%;
}

/* Modal Overlay Styling */
.modal-overlay {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 9999; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.custom-spinner {
    display: flex;
    justify-content: center; 
    align-items: center;
    width: 100%;
    height: 100%;
}

.spinner {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: conic-gradient(
        #492D21 0deg 120deg,
        #F2994A 120deg 240deg,
        #492D21 240deg 360deg
    );
    -webkit-mask:
        radial-gradient(farthest-side,
            transparent calc(100% - 8px),
            black calc(100% - 8px)
        );
    mask:
        radial-gradient(farthest-side,
            transparent calc(100% - 8px),
            black calc(100% - 8px)
        );
    animation: ec-spin 1.5s ease-in-out infinite;
}

@keyframes ec-spin {
    to { transform: rotate(360deg); }
}

/* Highlight flash animation for scrolling to recommender section */
@keyframes highlightFlash {
    0% {
        box-shadow: 0 0 0 0 rgba(73, 45, 33, 0.4);
        border: 2px solid #492D21;
        background-color: #FEF3E2;
    }
    50% {
        box-shadow: 0 0 20px 8px rgba(73, 45, 33, 0.3);
        border: 2px solid #492D21;
        background-color: #FEF3E2;
    }
    100% {
        box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
        border: 2px solid transparent;
        background-color: white;
    }
}

.highlight-flash {
    animation: highlightFlash 2s ease-in-out !important;
    animation-fill-mode: forwards !important;
}

@media screen and (min-width: 850px) {
    .start-up-error {
        padding-left: 260px;
        padding-top: 20px;
        width:fit-content;
    }
}

.icon__item {
    color: var(--mud-palette-white) !important;
}


.mud-nav-link.mud-nav-link-disabled {
    color: inherit !important;
    cursor: default;
    pointer-events: none
}

