@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500&display=swap');

& {
    interpolate-size: allow-keywords; /* define at root level to enable the auto transition for all the elements */
}

.news-container img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
}


#patientDetails > .rz-tabview{
    height: 300px !important;
}

.route-transition-enter {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s ease-out forwards;
}


.route-transition-exit {
    opacity: 1;
    transform: translateY(0);
    animation: fadeOut 0.5s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Spinner styles */
.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border-left-color: #09f;
    animation: spin 1s ease infinite;
}

/* Button Spinner Styles */


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}


h1 a {
    color: inherit; /* Makes the link color the same as the parent (the <h1>) */
    text-decoration: none; /* Removes the underline */
}

    /* Optional: Add hover styles if needed */
    h1 a:hover {
        color: #000; /* Example hover color, adjust as needed */
        text-decoration: underline; /* Add an underline on hover if desired */
    }

.clickable-span {
    cursor: pointer; /* Makes it look clickable */
    color: inherit; /* Matches the parent element's color */
    text-decoration: none; /* Removes underline */
}

    /* Optional: Add a hover effect */
    .clickable-span:hover {
        color: #000; /* Adjust hover color if needed */
        text-decoration: underline; /* Optional underline on hover */
    }



html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #272727;
}

.card {
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
    background-color: rgb(255 255 255 / 85%);
}
body {
    margin: 0;    
    background: url("/images/background.jpg") no-repeat center center fixed;
    background-size: cover;
    justify-content: center;
    align-items: center;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.topPanel {
    backdrop-filter: blur(50px);
    background: rgb(255 255 255 / 85%);
    background-size: 200% 200%;
    /* animation: wave 18s ease-in-out infinite; */
    height: 95px;
}

@keyframes wave {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 50% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.bodyContent {
    backdrop-filter: blur(50px);
    
    background: linear-gradient(to right, #ffffffd1, rgba(7, 110, 119, 0));
    border-radius: 15px; /* Rounded corners */
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}


h1, .h1Button {
    display: inline-flex;    
    height: 50px;

    position: relative;
    text-shadow: 2px 2px 5px rgb(103 103 103 / 58%);
    font-weight: 500;
    align-items: center;
    margin-bottom: 20px;
}

h2 {
    font-weight: bold;
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

h3 {    
    text-shadow: 1px 1px 2px rgb(103 103 103 / 58%);    
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* Frosted glass panel */
.frosted-glass-panel {
    position: relative; /* Establish a containing block for the pseudo-element */
    width: 80vw;
    max-width: 1600px; /* Adjust as needed */
    min-width: 1200px; /* Ensure a minimum width to avoid squishing */
    border-radius: 10px;
    
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /*transform: scaleY(0);*/ /* Start with no height (scaled down vertically) */
    /*transform-origin: center;*/ /* Expand from the middle (vertically) */
    /*opacity: 0;*/ /* Start invisible */
    /*animation: expandPanel 1.0s ease forwards;*/ /* Smooth expansion animation */
    /*animation-delay: 1s;*/ /* Delay before expansion starts */
}

    /* Apply the backdrop-filter effect using a pseudo-element */
    .frosted-glass-panel::before {
        content: ""; /* Required for pseudo-elements */
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgb(0 0 0 / 47%); /* Same semi-transparent background */
        backdrop-filter: blur(20px) grayscale(10%); /* Apply the blur effect here */
        border-radius: inherit; /* Inherit border-radius from the parent */
        z-index: -1; /* Place the pseudo-element behind the content */
    }

/* Animation for expansion */
@keyframes expandPanel {
    0% {
        transform: scaleY(0); /* Start completely collapsed */
        opacity: 0; /* Fully transparent */
    }

    100% {
        transform: scaleY(1); /* Fully expanded */
        opacity: 1; /* Fully visible */
    }
}


.textOnFrostedGlass{
    text-align: center;
}

/* Keyframes for expanding the frosted glass panel from the center */
@keyframes expandPanel {
    0% {
        opacity: 0;
        transform: scaleY(0); /* Start with scaleY(0) */
    }

    100% {
        opacity: 1;
        transform: scaleY(1); /* Scale fully to normal size */
    }
}

/* Frosted glass content - hidden initially */
.frosted-content {
    opacity: 0;
    animation: makeVisible 1.5s ease forwards;
    animation-delay: 2s; /* Delay the content fade-in until after the panel expansion */
}

@keyframes makeVisible {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}



.big-wrapper {
    
}

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-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uMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

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




