﻿@font-face {
    font-family: 'LarsseitRegular';
    src: url("../fonts/larsseit/regular.woff2") format("woff2"), 
    url("../fonts/larsseit/regular.woff") format("woff");
    font-style: normal;
}

@font-face {
    font-family: 'LarsseitRegular';
    src: url("../fonts/larsseit/regular_italic.woff2") format("woff2"), 
    url("../fonts/larsseit/regular_italic.woff") format("woff");
    font-style: italic;
}

@font-face {
    font-family: 'LarsseitMedium';
    src: url("../fonts/larsseit/medium.woff2") format("woff2"), 
    url("../fonts/larsseit/medium.woff") format("woff");
    font-style: normal;
}

@font-face {
    font-family: 'LarsseitMedium';
    src: url("../fonts/larsseit/medium_italic.woff2") format("woff2"), 
    url("../fonts/larsseit/medium_italic.woff") format("woff");
    font-style: italic;
}

@font-face {
    font-family: 'AustinLight';
    src: url('../fonts/austin/light.woff2') format('woff2'),
    url('../fonts/austin/light.woff') format('woff');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'AustinLight';
    src: url('../fonts/austin/light_italic.woff2') format('woff2'),
    url('../fonts/austin/light_italic.woff') format('woff');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'Aptos';
    src: url('../fonts/aptos/Aptos.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aptos';
    src: url('../fonts/aptos/Aptos-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Inter Variable Font */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter/Inter-VariableFont_opsz,wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    font-variation-settings: 'opsz' auto;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
    font-variation-settings: 'opsz' auto;
}

/* Source Sans 3 Variable Font */
@font-face {
    font-family: 'Source Sans 3';
    src: url('../fonts/source_sans_3/SourceSans3-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 200 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans 3';
    src: url('../fonts/source_sans_3/SourceSans3-Italic-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 200 900;
    font-style: italic;
    font-display: swap;
}

/* Font weight utility variables */
:root {
    --font-thin: 100;
    --font-extralight: 200;
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    --font-black: 900;
}

:root {
    --BM-Primary-Navy: #002974;
    --BM-Secondary-Dark-Navy: #00215d;
    --BM-Supporting-Gray-1: #f8f8f8;
    --BM-Supporting-Gray-2: #ecedee;
    --BM-Supporting-Gray-3: #d2d3d4;
    --BM-Supporting-White: #ffffff;
    --BM-Supporting-Black: #000000;
}

body {

}

footer {
    margin-top: auto;
    background-color: #f5f5f5; /* Light grey */
}

.dimmed-text {
    filter: brightness(80%);
}

.hover-icon {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s ease-in-out;
}

.hover-text:hover + .hover-icon {
    visibility: visible;
    opacity: 1;
}

.no-left-padding .mud-icon {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* Overrides for MudTextField on bdm card */
.custom-contact-container {
    display: flex;
    align-items: center;
}

.custom-contact-container .mud-input-control {
    margin-top: 0px; /* Override for the parent element */
}

.custom-contact-container .mud-input-control > .mud-input-control-input-container > div.mud-input.mud-input-text {
    margin-top: 0px; /* Override for the specific input */
}

/* Overrides for MudSwitch in the LHS menu */
.custom-switch-label .mud-switch-label-small {
    font-size: 0.875rem !important;
}


/* Overrides colour of the little label in form fields*/
/* Overrides colour of the little label in form fields more specifically */
.mud-shrink ~ label.mud-input-label.mud-input-label-animated.mud-input-label-text.mud-input-label-inputcontrol {
    color: #c0c0c0 !important;
}


.spinner {
    max-width: 30vmin;
    height: auto;
    animation: spin 2.5s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
}

@keyframes spin {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}

.bounceIn {
    opacity: 0;
    animation-delay: 0.5s;
    animation-duration: 0.5s;
    animation-name: bounceIn;
    animation-fill-mode: forwards;
}

.bounceOut {
    animation-duration: 0.5s;
    animation-name: bounceOut;
    animation-fill-mode: forwards;
}

/* Overrides for MudHighlight */
.bm-highlight {
    background-color: #b3e9ff;
}

/* Overrides for MudTextField */
.center-text .mud-input > input.mud-input-root {
    text-align: center;
}

.text-overflow-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    max-width: 66%;
}

.bm-primary-navy {
    background-color: var(--BM-Primary-Navy);
}

.bm-advert-banner {
    color: var(--BM-Supporting-White);
    background-color: var(--BM-Primary-Navy);
}

.bm-secondary-dark-navy {
    background-color: var(--BM-Secondary-Dark-Navy);
}

.bm-supporting-gray-1 {
    background-color: var(--BM-Supporting-Gray-1);
}

.bm-supporting-gray-2 {
    background-color: var(--BM-Supporting-Gray-2);
}

.bm-supporting-gray-3 {
    background-color: var(--BM-Supporting-Gray-3);
}

.bm-supporting-white {
    background-color: var(--BM-Supporting-White);
}

.bm-supporting-black {
    background-color: var(--BM-Supporting-Black);
}

.underline-navy{
    border-bottom: solid thick var(--BM-Primary-Navy); text-align:center;
}

.vertically-centered {
    display: flex;
    align-items: center; /* This centers the child vertically */
    justify-content: center; /* This centers the child horizontally, optional */
}

.mud-button{
    text-transform: none;
}

/*.mud-icon-button {
    color: var(--BM-Supporting-Gray-2);
}*/

.mud-avatar.mud-avatar-medium {
    font-size: 1rem;
}

.mud-button-filled.mud-button-filled-primary {
    background: var(--gradient-primary);
}

.mud-button-filled.mud-button-filled-primary:hover {
    background-color: var(--BM-Secondary-Dark-Navy);
}

.mud-button-filled:hover {
    background-color: var(--BM-Primary-Navy);
    color: var(--BM-Supporting-Gray-2);
}

/* Google Fonts Material Symbols */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px; /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
}

/* Recommended Material Symbols icon sizes */
span.size-20 {
    font-size: 20px;
    font-variation-settings: 'OPSZ' 20;
}

span.size-24 {
    font-size: 24px;
    font-variation-settings: 'OPSZ' 24;
}

span.size-40 {
    font-size: 40px;
    font-variation-settings: 'OPSZ' 40;
}

span.size-48 {
    font-size: 48px;
    font-variation-settings: 'OPSZ' 48;
}

.footer-link-white {
    color: var(--BM-Supporting-White) !important;
}

.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
}


.drawer-font-size{
    font-size:14px;
}

.custom-drawer-items .mud-nav-link-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    margin-inline-start: 5px!important;
    margin-left:5px!important;
    font-weight:400!important;
}

    .custom-drawer-items .mud-nav-link-text p {
        font-size: 12px;
        font-weight: 300;
        font-family: var(--mud-typography-h3-family)!important;
    }




    .fancy-card {
        /*    width: 340px;*/
        width: 100%;
        min-height: 360px;
        padding: 2rem;
        border-radius: 20px;
        background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
        border: 0.1px solid rgba(255,255,255,0.1);
        /*    border:unset;*/
        /*    box-shadow: 0 8px 24px rgba(0,0,0,0.1);*/
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 6px 10px rgba(0, 0, 0, 0.15);
        backdrop-filter: blur(12px);
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 1.2rem;
        text-align: center;
        position: relative;
        overflow: hidden;
    }

    .fancy-card:hover {
/*        transform: translateY(-6px);
        box-shadow: 0 10px 32px rgba(0,0,0,0.2);
        border: 1px solid rgba(255,255,255,0.2);*/
    }

    .fancy-card::before {
        content: '';
        position: absolute;
        width: 120%;
        height: 120%;
        background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.06), transparent 70%);
        top: -10%;
        left: -10%;
        z-index: 0;
    }

    .fancy-card .card-content {
        position: relative;
        z-index: 2;
    }

    .fancy-card h3 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }

    .fancy-card p {
        font-size: 1rem;
        opacity: 0.85;
    }

    .fancy-card .button-gradient {
        margin-top: auto;
    }

.form-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
    flex-basis: unset;
    max-width:none;
}

.form-layout-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: none;

}

    .form-layout .card, .form-layout-grid .card {
        flex: 1;
        min-width: 300px;
        padding: 1.5rem;
        border: 1px solid rgba(255,255,255,0.1);
        /*  box-shadow: 0 8px 24px rgba(0,0,0,0.1);*/
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 6px 10px rgba(0, 0, 0, 0.15);
    }

.form-layout .card > .card{
  box-shadow: unset;
  padding:1px;
}

.form-layout .card .clean{
    border:none;
}

.form-layout .wide-section{
  width: 100%;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.1);
/*  box-shadow: 0 8px 24px rgba(0,0,0,0.1);*/
}

.form-layout .wide-section.box {
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2),
                0 6px 10px rgba(0, 0, 0, 0.15);
}

.single-box .card {
    flex: 1;
    min-width: 300px;
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 6px 10px rgba(0, 0, 0, 0.15);
}
.classification-container{
    max-width:none!important;
}

.classification-item {
        border: 1px solid rgba(255,255,255,0.1);
    width: 100%;
}

.classification-item .mud-card-content{
    padding:0px!important;
}

.button-standard {
    padding: 12px 24px;
    border: none;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 400;
    color: white;
    background: var(--gradient-primary) !important;
    /*    background-image: linear-gradient(135deg, #6ea9dc, #3a7ac2);*/
    /*    box-shadow: 0 4px 10px rgba(244,111,85,0.3);*/
    transition: all 0.3s ease;
}

    .button-standard.small {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .button-standard.alt {
        background-image: linear-gradient(135deg, #fc4c92, #ff72af);
        /*    box-shadow: 0 4px 10px rgba(252,76,146,0.3);*/
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 6px 10px rgba(0, 0, 0, 0.15);
    }

    .button-standard:hover {
        transform: scale(1.05);
        /*    box-shadow: 0 6px 15px rgba(0,0,0,0.2);*/
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 6px 10px rgba(0, 0, 0, 0.15);
    }

.button-advanced {
    /*    background-image: linear-gradient(135deg, #33cba9, #33cba9bf);*/
    /*    background-image: linear-gradient(135deg, #00695a 0%, #33cba9 100%);*/
    background-image: linear-gradient(135deg, #00695a 0%, #33cba9 100%); 
    color: white;
    padding: 12px 28px;
    border: none;
    border-radius: 15px;
    font-weight: 400;
    font-size: 1rem;
    /*    box-shadow: 0 4px 10px rgba(252, 76, 146, 0.3);*/
    transition: all 0.3s ease;
}

    .button-advanced.alt {
        background-image: linear-gradient(135deg, #33cba9, #33cba9bf);
        /*        box-shadow: 0 4px 10px rgba(166, 107, 255, 0.);*/
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 6px 10px rgba(0, 0, 0, 0.15);
    }

    .button-advanced:hover {
        transform: scale(1.05);
        /*     box-shadow: 0 6px 18px rgba(252, 76, 146, 0.4);*/
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 6px 10px rgba(0, 0, 0, 0.15);
    }

.reset-button {
    padding: 12px 24px;
    border: none;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 400;
    color: white;
    background-image: linear-gradient(135deg, #9E9EB2, #6C6C80);
/*    box-shadow: 0 4px 10px rgba(244,111,85,0.3);*/
    transition: all 0.3s ease;
}

.reset-button.small {
    font-size: 0.8rem;
    padding: 6px 12px;
}

    .reset-button.alt {
        background-image: linear-gradient(135deg, #fc4c92, #ff72af);
        /*    box-shadow: 0 4px 10px rgba(252,76,146,0.3);*/
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 6px 10px rgba(0, 0, 0, 0.15);
    }

    .reset-button:hover {
        transform: scale(1.05);
        /*    box-shadow: 0 6px 15px rgba(0,0,0,0.2);*/
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 6px 10px rgba(0, 0, 0, 0.15);
    }


.progress-bar-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap:0.5rem;
}

.progress-bar-container p{
    white-space: nowrap;   
}

.progress-bar-container .progress-bar{
    border-radius: 6px;
}

.progress-bar-container .progress-bar::before{
    border-radius: 6px;
}

    .progress-bar-container .progress-bar .mud-progress-linear-bars {
        border-radius: 6px;
    }


.font-medium{
    font-size: 1.7rem;
}

.font-big {
    font-size: 2rem;
}

.vertical-divider-sm {
    border: 1px solid #d3d3d31f;
    height: 69px;
}

.remove-border{
    border: none;
}


.drawer-expand-items{

}
    .drawer-expand-items .mud-nav-link-icon {
        font-size: 1.2em;
        color: transparent!important;
        background: var(--gradient-primary);
        background-clip: content-box;
        -webkit-background-clip: text;
        width: 30px;
        padding-top: 3px;
        height:100%;
    }

    .drawer-expand-items.dark .mud-nav-link-icon {
        background: var(--gradient-secondary) !important;
        -webkit-background-clip: text !important;
    }

    .drawer-expand-items .mud-nav-link-text {
        font-size: 12px;
        font-weight: 300!important;
        font-family: var(--mud-typography-h3-family) !important;
    }

    .drawer-expand-items button .mud-nav-link-text {
        margin-left: 12px;
        margin-inline-start: 9px;
    }

.drawer-2nd-level button {
    padding-left: 37px;
    padding-inline-start: 0px !important;
    padding-inline-end: 16px;
    border-left: 1px solid #d3d3d385 !important;
    margin: 0px 0px 0px 35px !important;
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
    width: 76.5% !important;
}

.drawer-expand-items .mud-navgroup-collapse .mud-collapse-wrapper .mud-collapse-wrapper-inner .mud-navmenu .mud-nav-group button {
    padding-left: 37px;
    padding-inline-start: 0px !important;
    padding-inline-end: 16px;
    border-left: 1px solid #d3d3d385 !important;
    margin: 0px 0px 0px 35px !important;
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
    width: 83.5% !important;
}

    .drawer-expand-items .mud-navgroup-collapse .drawer-expand-items .mud-navgroup-collapse .mud-collapse-wrapper .mud-collapse-wrapper-inner .mud-navmenu .mud-nav-item .mud-nav-link {
        margin: 0px 0px 0px 56px;
    }

    .drawer-expand-items .mud-navgroup-collapse .mud-collapse-wrapper .mud-collapse-wrapper-inner .mud-navmenu .mud-nav-item .mud-nav-link {
        padding-left: 0px;
        padding-inline-start: 0px;
        padding-inline-end: unset;
        border-left: 1px solid #d3d3d385;
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
        margin: 0px 0px 0px 39px;
    }

    .drawer-expand-items .mud-navgroup-collapse .mud-collapse-wrapper .mud-collapse-wrapper-inner .mud-navmenu .mud-nav-group button .mud-icon-root {
        margin-left: 6px !important;
    }

        .drawer-icon {
            font-size: 1.2em;
            color: transparent;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            background-clip: text;
            width: auto; /* Allow width to adjust as needed */
            min-width: 30px; /* Maintain minimum width */
            padding: 2px 0; /* Add padding to top and bottom */
            text-align: center; /* Centers the icon horizontally */
            display: inline-flex; /* Better control over alignment */
            justify-content: center; /* Horizontal centering */
            align-items: center; /* Vertical centering */
            line-height: normal; /* Helps with vertical alignment */
            overflow: visible; /* Prevent clipping */
            height: auto;
        }

            .drawer-icon.dark {
                background: linear-gradient(135deg, #9E9EB2 0%, #6C6C80 100%) !important;
                -webkit-background-clip: text !important;
            }

.form-icon {
    font-size: 1.5rem;
    color: transparent;
    background: var(--icon-gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    width: auto; /* Allow width to adjust as needed */
    min-width: 30px; /* Maintain minimum width */
    padding: 2px 0; /* Add padding to top and bottom */
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    line-height: normal; /* Helps with vertical alignment */
    height: auto;
    overflow: visible; /* Prevent clipping */
}

    .form-icon.dark {
        background: var(--icon-gradient-secondary) !important;
        font-size: 1.5rem !important;
        color: transparent !important;
        -webkit-background-clip: text !important;
        background-clip: text !important;
        width: auto !important; /* Allow width to adjust as needed */
        min-width: 30px !important; /* Maintain minimum width */
        padding: 2px 0 !important; /* Add padding to top and bottom */
        text-align: center !important;
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
        line-height: normal !important; /* Helps with vertical alignment */
        height: auto !important;
        overflow: visible !important; /* Prevent clipping */
    }

.bullet-icon {
    font-size: 0.5rem;
    color: transparent;
    background: linear-gradient( 135deg, #9E9EB2, #6C6C80 );
    background-clip: content-box;
    -webkit-background-clip: text;
    width: 30px;
    padding-top: 1px
}

/*.mud-nav-link.active {
    background-color: var(--mud-palette-primary-lighten) !important;
}*/

.mud-navmenu.mud-navmenu-default .mud-nav-link.active:not(.mud-nav-link-disabled) {
    /*    color: var(--mud-palette-primary-lighten) !important;*/
    color: rgb(134 134 154) !important;
}

.font-override > .mud-input-control > .mud-input-control-input-container > .mud-input-text > .mud-input-slot {
    font-family: var(--mud-typography-body2-family) !important;
    font-size: var(--mud-typography-body2-size);
}

.mud-picker-month-container h5 {
    font-family: var(--mud-typography-body2-family) !important;
    font-size: var(--mud-typography-body2-size);
}

.mud-picker-year > h5, p {
    font-family: var(--mud-typography-body2-family) !important;
    font-size: var(--mud-typography-body2-size);
}

.remove-underline .mud-input.mud-input-underline:before {
    border-bottom: none;
}

.table-typo {
    font-family: var(--mud-typography-body2-family) !important;
}

.h-100{
    height:100%;
}

.mud-input-label {
    font-family: var(--mud-typography-body2-family) !important;
}

.mud-toolbar {
    font-family: var(--mud-typography-body2-family) !important;
}

.mud-table-pagination-select .mud-input .mud-input-root {
    font-family: var(--mud-typography-body2-family) !important;
}

.custom-justify-drawer > .mud-drawer-content {
    justify-content: space-between;
}

.custom-card-background{
    position:relative;
}

    .custom-card-background > .background-icon {
        position: absolute;
        left: -60px;
        top: 0;
        font-size: 100px;
        opacity: 0.35;
        pointer-events: none;
        z-index: 0;
        height: 100%;
    }

.form-font-size-md{
    font-size:16px;
}

.form-font-size-xs{
    font-size:14px;
}

.field-size .mud-input-number-control {
    max-width: 25px;
}

.header-center span{
    justify-content:center!important;
}

.model-tag {
    background-image: var(--gradient-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 500;
    /*    border: 1px solid #dee2e6;*/
}

.line-path-icon {
    width: 60px;
    height: 60px;
    border: 2px solid #dee2e6;
    border-radius: 50%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: var(--mud-palette-surface);
    z-index: 1;
}


.selection-panel {
/*    background: white;*/
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    margin-bottom: 30px;
}

.selection-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.selection-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.selection-count {
    background: linear-gradient(135deg, #667eea 0%, #002974 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.dropdown-container {
    position: relative;
    margin-bottom: 20px;
}

.dropdown-trigger {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid lightGray;
    border-radius: 12px;
    /*    background: white;*/
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    color: #4a5568;
    transition: all 0.3s ease;
    border-color: rgba(107, 163, 245, 0.3);
}

    .dropdown-trigger:hover {
        border-color: lightGray;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    }

    .dropdown-trigger.active {
        border-color: lightGray;
        border-radius: 12px 12px 0 0;
    }

.dropdown-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

    .dropdown-arrow.rotated {
        transform: rotate(180deg);
    }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--mud-palette-background);
    border: 2px solid rgba(255,255,255,0.1);
    border-top: none;
    border-radius: 0 0 12px 12px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

    .dropdown-menu.active {
        display: block;
    }

.search-box {
    padding: 15px;
    border-bottom: 2px solid rgba(255,255,255,0.1);
    position: sticky;
    top: 0;
    background: var(--mud-palette-background);
}

.search-input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid lightGray;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
    background: var(--mud-palette-background);
}

    .search-input:focus {
        border-color: #667eea;
    }

.model-options {
    padding: 10px;
}

.model-option {
    padding: 12px 15px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 5px;
}

    .model-option:hover {
/*        background: #f7fafc;*/
    }

    .model-option.disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.model-checkbox {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #cbd5e0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.model-option.selected .model-checkbox {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.model-checkbox::after {
    content: '✓';
    color: white;
    font-weight: bold;
    font-size: 0.85rem;
    display: none;
}

.model-option.selected .model-checkbox::after {
    display: block;
}

.model-name {
    flex: 1;
    font-size: 0.95rem;
    color: var(--mud-palette-text-primary);
    font-weight: 500;
    word-wrap: break-word;
}

.model-option.selected .model-name {
    font-weight: 600;
    color: #667eea;
}

.selected-models-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 40px;
}

.selected-model-tag {
    background: linear-gradient(135deg, #667eea 0%, #002974 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    max-width: 300px;
}

.selected-model-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.remove-model {
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

    .remove-model:hover {
        opacity: 1;
    }

.no-models-message {
    color: #718096;
    font-size: 0.95rem;
    font-style: italic;
    padding: 10px 0;
}

.no-results {
    text-align: center;
    padding: 20px;
    color: #718096;
    font-size: 0.95rem;
}

.comparison-wrapper {
/*    background: white;*/
    border-radius: 5px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

    .comparison-wrapper.active {
        opacity: 1;
        transform: translateY(0);
    }

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 10px 0;
}

    .comparison-table thead {
        background: linear-gradient(135deg, #667eea 0%, #002974 100%);
        color: white;
    }

    .comparison-table thead th:first-child {
        background: #2d3748;
        width:370px;
    }

    .comparison-table thead th:last-child {
            background: #2d3748;
            width: 150px;
            text-align:center;
    }

    .comparison-table.dark thead th:first-child {
        background: linear-gradient(135deg, #5d5d69, #6C6C80);
    }

    .comparison-table.dark thead th:last-child {
        background: linear-gradient(135deg, #5d5d69, #6C6C80);
    }

    .comparison-table th {
        padding: 20px;
        text-align: center;
        font-weight: 600;
        font-size: 1rem;
        border-right: 1px solid rgba(255,255,255,0.1);
        border-radius: 10px 10px 0px 0px;
    }

        .comparison-table th:first-child {
            text-align: left;
        }
        .comparison-table th:last-child {
            border-right: none;
        }
    .comparison-table tbody tr:last-child td {
        border-bottom: 1px solid #e2e8f0;
        border-color: rgba(107, 163, 245, 0.3);
        border-radius: 0px 0px 10px 10px;
    }

.model-name-header {
    font-size: 0.95rem;
    max-width: 400px;
    word-wrap: break-word;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
}

    .comparison-table tbody tr:hover {
/*        background: #f8faff;*/
        transition: background 0.3s ease;
    }

.comparison-table tbody tr.group-row {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(139, 92, 246, 0.05));
    font-weight: 600;
    border-top: 2px solid lightGray;
    border-bottom: 2px solid lightGray;
}

    .comparison-table tbody tr.group-row:hover {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(139, 92, 246, 0.1));
    }

.comparison-table tbody tr.child-row {
    background: var(--mud-palette-background);
}

    .comparison-table tbody tr.child-row:hover {
        background: rgba(248, 250, 255, 0.5);
    }

.field-label-cell {
    padding: 18px 20px;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
    /*    background: #f7fafc;*/
    border-right: 1px solid lightGray;
    font-size: 0.95rem;
    border-left: 1px solid lightGray;
    border-color: rgba(107, 163, 245, 0.3);
}

.field-value-cell {
    padding: 18px 20px;
    color: var(--mud-palette-text-primary);
    font-size: 0.95rem;
    border-right: 1px solid lightGray;
    border-left: 1px solid lightGray;
    text-align: center;
    border-color: rgba(107, 163, 245, 0.3);
}

    .field-value-cell:last-child {
        border-right: 1px solid lightGray;
        border-left: 1px solid lightGray;
        border-color: rgba(107, 163, 245, 0.3);
    }

.risk-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.risk-very.low {
    background: #c6f6d5;
    color: #22543d;
}

.risk-low {
    background: #bee3f8;
    color: #2c5282;
}

.risk-low-to-medium {
    background: #e6f4d0; /* Light yellow-green */
    color: #4a5f2c; /* Dark olive green */
}

.risk-medium {
    background: #feebc8;
    color: #7c2d12;
}

.risk-high {
    background: #fed7d7;
    color: #742a2a;
}

.risk-very.high {
    background: #feb2b2;
    color: #742a2a;
}

.risk-extreme {
    background: #fc8181;
    color: #742a2a;
}

.no-selection-message {
    /*    background: white;*/
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    border-color: rgba(107, 163, 245, 0.3);
    box-shadow: 0 8px 24px rgba(107, 163, 245, 0.15);
}


.no-selection-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.no-selection-message h2 {
    color: var(--mud-palette-text-primary);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.no-selection-message p {
    color: #718096;
    font-size: 1.05rem;
}

/* Scrollbar Styles */
.dropdown-menu::-webkit-scrollbar {
    width: 8px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

    .dropdown-menu::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, #5569d4 0%, #6b4295 100%);
    }

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .selection-header {
        flex-direction: column;
        align-items: stretch;
    }

    .comparison-table {
        font-size: 0.85rem;
    }

        .comparison-table th,
        .comparison-table td {
            padding: 12px;
        }

    .selected-model-tag {
        max-width: 100%;
    }
}

.portfolio-value {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    font-family: var(--mud-typography-body2-family) !important;
}

.portfolio-change {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mud-typography-body2-family) !important;
}

.portfolio-change.positive{
    color:green;
}

.val-color{
    color:black!important;
}






/* login-register.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Light Mode (Default) */
:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --bg-main: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --success: #10b981;
    --input-bg: #f8fafc;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --gradient-bg: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
    --gradient-primary: linear-gradient(135deg, #002974 0%, #0047AB 100%);
    --gradient-secondary: linear-gradient(135deg, #9E9EB2 0%, #6C6C80 100%);
    --gradient-success: linear-gradient(135deg, #00695a 0%, #33cba9 100%);
    --icon-gradient-primary: linear-gradient(135deg, #002974, #0047AB);
    --icon-gradient-secondary: linear-gradient(135deg, #9E9EB2, #6C6C80);
}

/* Dark Mode */
body[data-theme="dark"],
.login-container[data-theme="dark"] {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --bg-main: #0f172a;
    --bg-secondary: #0f172a;
    --bg-card: #1e293b;
    --border: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --success: #10b981;
    --input-bg: #0f172a;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.5);
    --gradient-bg: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
}

.login-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    transition: background 0.3s ease;
    background: url('../res/simple_bcg3.png') no-repeat center center;
    background-size: cover;
    width: 100%;
}

    .login-container::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: var(--gradient-bg);
        pointer-events: none;
    }

    .login-container .btn-primary {
        font-weight: unset !important;
    }

    .login-container .mud-alert-message {
        background: unset !important;
        border: unset !important;
    }



/* Theme Toggle */
.theme-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 4px;
    display: flex;
    gap: 4px;
    box-shadow: var(--shadow-sm);
    z-index: 100;
}

.theme-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: var(--text-muted) !important;
    transition: all 0.2s ease;
    padding: 6px !important;
}

    .theme-btn:hover {
        color: var(--text-secondary) !important;
        background: var(--bg-secondary) !important;
    }

    .theme-btn.active {
        background: var(--primary) !important;
        color: white !important;
    }

.lgn-container {
    width: 100%;
    max-width: 25%;
    position: relative;
    z-index: 1;
}

@media (max-width: 1500px) {
    .lgn-container {
        max-width: 35%;
    }
}

@media (max-width: 1200px) {
    .lgn-container {
        max-width: 55%;
    }
}

@media (max-width: 700px) {
    .lgn-container {
        max-width: 70%;
    }
}

@media (max-width: 600px) {
    .lgn-container {
        max-width: 100%;
    }
}

.login-card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border);
    border-radius: 16px !important;
    padding: 40px 32px;
    box-shadow: var(--shadow-lg) !important;
    transition: all 0.3s ease;
}

.logo {
    text-align: center;
    margin-bottom: 32px;
}

.logo-title {
    font-size: 24px !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
    margin-bottom: 8px;
}

.logo-subtitle {
    font-size: 14px !important;
    color: var(--text-secondary) !important;
}

/* Progress Steps for Registration */
.steps-indicator {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

    .steps-indicator.show {
        display: flex;
    }

.step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    transition: all 0.3s ease;
}

    .step-dot.active {
        width: 24px;
        border-radius: 4px;
        background: var(--primary);
    }

    .step-dot.completed {
        background: var(--success);
    }

/* Form Sections */
.form-section {
    display: none;
}

    .form-section.active {
        display: block;
        animation: fadeIn 0.3s ease;
    }

.form-group {
    margin-bottom: 20px;
}

/* MudBlazor Input Overrides */
.form-input-field .mud-input-root,
.form-select-field .mud-input-root {
    background: var(--input-bg) !important;
    padding-right: 18.5px;
}

.form-input-field .mud-input-root-outlined,
.form-select-field .mud-input-root-outlined {
    border-color: var(--border) !important;
}

.form-input-field .mud-input-root:hover .mud-input-root-outlined,
.form-select-field .mud-input-root:hover .mud-input-root-outlined {
    border-color: var(--primary) !important;
}

.form-input-field .mud-input-label,
.form-select-field .mud-input-label {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--text-secondary) !important;
}

.form-input-field input,
.form-select-field .mud-select-input {
    color: var(--text-primary) !important;
    font-size: 14px !important;
}

.form-input-field.centered-input .mud-input-helper-text.mud-input-error {
    font-size: 8px;
}
/* Password Requirements */
.password-requirements {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
    line-height: 1.4;
}

/* Password Strength Indicator */
.password-strength {
    display: flex;
    gap: 4px;
    margin-top: 8px;
    margin-bottom: 4px;
}

.strength-bar {
    flex: 1;
    height: 3px;
    background: var(--border);
    border-radius: 2px;
    transition: all 0.3s ease;
}

    .strength-bar.active {
        background: var(--success);
    }

    .strength-bar.weak {
        background: #ef4444;
    }

    .strength-bar.medium {
        background: #f59e0b;
    }

/* Buttons */
.btn-primary {
    width: 100%;
    padding: 14px !important;
    background: var(--gradient-primary) !important;
    border: none;
    border-radius: 8px !important;
    color: white !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 24px;
    position: relative;
    overflow: hidden;
    text-transform: none !important;
}

    .btn-primary::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s;
    }

    .btn-primary:hover::before {
        left: 100%;
    }

    .btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3) !important;
    }

.btn-secondary {
    flex: 1;
    padding: 14px !important;
    background: transparent !important;
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    color: var(--text-secondary) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: none !important;
}

    .btn-secondary:hover {
        background: var(--input-bg) !important;
        border-color: var(--primary) !important;
        color: var(--primary) !important;
    }

/* Step Navigation */
.step-navigation {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

    .step-navigation .btn-primary,
    .step-navigation .btn-secondary {
        margin-top: 0;
    }

/* Form Footer */
.form-footer {
    text-align: center;
    /*    margin-top: 24px;*/
    display: flex;
    font-size: 14px;
    color: var(--text-secondary);
}

    .form-footer .mud-link {
        color: var(--primary) !important;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s ease;
    }

        .form-footer .mud-link:hover {
            color: var(--primary-light) !important;
        }

/* Divider */
.divider-custom {
    margin: 24px 0 !important;
    position: relative;
}

    .divider-custom::before {
        content: 'OR';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: var(--bg-card);
        padding: 0 12px;
        color: var(--text-muted);
        font-size: 12px;
    }

/* Step Content */
.step-content {
    display: none;
}

    .step-content.active {
        display: block;
        animation: slideIn 0.3s ease;
    }

.step-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
    margin-bottom: 8px;
}

.step-subtitle {
    font-size: 13px !important;
    color: var(--text-secondary) !important;
    margin-bottom: 3px;
}

.step-mfa-radio {
    font-size: 13px !important;
    color: var(--text-primary) !important;
    margin-bottom: 3px;
}

/* Success State */
.success-state {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.4s ease;
}

.error-state {
    text-align: center;
    padding: 20px 0;
}

.error-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: #ef4444; /* Red color for error */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.4s ease;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

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

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

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

/* Loading state */
.btn-primary.loading {
    color: transparent;
}

    .btn-primary.loading::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        top: 50%;
        left: 50%;
        margin-left: -10px;
        margin-top: -10px;
        border: 2px solid transparent;
        border-top-color: white;
        border-radius: 50%;
        animation: spin 0.8s linear infinite;
    }

/* MudBlazor Alert Override */
.mud-alert-message {
/*    background: rgba(16, 185, 129, 0.1) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;*/
/*    color: var(--success) !important;*/
}

/* Responsive */
@media (max-width: 480px) {
    .theme-toggle {
        top: 10px;
        right: 10px;
    }

    .login-card {
        padding: 32px 24px;
    }
}

/* MudBlazor Overrides for Dark Mode */
body[data-theme="dark"] .mud-paper,
.login-container[data-theme="dark"] .mud-paper {
    background-color: var(--bg-card) !important;
}

body[data-theme="dark"] .mud-input-outlined,
.login-container[data-theme="dark"] .mud-input-outlined {
    background-color: var(--input-bg) !important;
}

body[data-theme="dark"] .mud-typography,
.login-container[data-theme="dark"] .mud-typography {
    color: var(--text-primary) !important;
}

.let-check {
    border: 1px solid #9E9EB2 !important;
}

    .let-check .mud-alert-icon {
        color: #9E9EB2 !important;
    }

    .let-check .mud-alert-message {
        background: unset !important;
        border: unset !important;
    }


.custom-sticky-left tr td {
    left: 0px;
    position: sticky;
    background-color: var(--mud-palette-background-gray);
    z-index: 1;
}

/* Investment Model Section Styles */
/* MudBlazor 8.5.0 Compatible */

.investment-model-section {
/*    background: #FFFFFF;
    border: 1px solid #E8E8E8;
    border-radius: 12px;*/
    padding: 24px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid #E8E8E8;
}

.model-name {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    line-height: 28px;
}

/* KPI Grid */
.kpi-grid {
    margin-bottom: 0 !important;
}

/* KPI Tiles */
.kpi-tile {
    border: 1px solid #E8E8E8;
    border-radius: 8px;
    padding: 20px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
    height: 100%;
}

    .kpi-tile:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

.kpi-tile-dark {
    border: 1px solid #4e4e56!important;
}

    .kpi-content {
        flex: 1;
    }

.kpi-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.kpi-label {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #7A8FA3 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-icon {
    color: #9EAAB5 !important;
    padding: 0 !important;
    width: 24px !important;
    height: 24px !important;
}

    .info-icon:hover {
        color: #7A8FA3 !important;
        background: transparent !important;
    }

.kpi-main-content {
    margin-bottom: 12px;
}

/* Risk Profile Styles */
.risk-score {
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 36px !important;
}

.risk-label {
    font-size: 13px !important;
    color: #7A8FA3 !important;
    margin-top: 4px;
}

.risk-meter {
    width: 100%;
    height: 28px;
    display: flex;
    gap: 3px;
    margin-top: auto;
    position: relative;
    padding-bottom: 20px;
}

.risk-segment {
    flex: 1;
    background: #D1D8E0;
    border-radius: 4px;
    transition: background 0.3s ease;
}

    .risk-segment.filled {
        /*        background: #D4B5FF;*/
        background-image: var(--gradient-primary) !important;
    }

/* Withdrawal Capacity Styles */
.withdrawal-value {
    font-size: 36px !important;
    font-weight: 700 !important;
/*    color: #6BA3F5 !important;*/
    line-height: 1 !important;
}

.confidence-label {
    font-size: 13px !important;
    color: #7A8FA3 !important;
    margin-top: 6px;
}

.range-visual {
    width: 100%;
    position: relative;
    height: 40px;
    margin-top: auto;
}

.range-bar {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(90deg, #0047AB 0%, #002974 50%, #0047AB 100%);
    border-radius: 5px;
    transform: translateY(-50%);
}

/*.range-marker {
    position: absolute;
    top: 50%;
    width: 3px;
    height: 24px;
    background: #A8C5F0;
    border-radius: 2px;
    transform: translate(-50%, -50%);
}

    .range-marker::after {
        content: '';
        position: absolute;
        top: -6px;
        left: 50%;
        transform: translateX(-50%);
        width: 12px;
        height: 12px;
        background: #0045a7;
        border: 2px solid white;
        border-radius: 50%;
        box-shadow: 0 2px 6px rgba(107, 163, 245, 0.4);
    }*/

.range-marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -100%);
    width: 30px;
    height: 25px;
}

    .range-marker::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 19px;
        height: 19px;
        background: var(--gradient-primary);
        border: 1px solid #E8E8E8;
        border-radius: 50% 50% 50% 0;
        transform: translateX(-50%) rotate(-45deg);
/*        box-shadow: 0 8px 20px rgba(0, 41, 116, 0.4), 0 2px 8px rgba(0, 71, 171, 0.2);*/
    }

.range-labels {
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #9EAAB5;
    font-weight: 500;
}

/* Sequencing Styles */
.sequencing-value {
    font-size: 36px !important;
    font-weight: 700 !important;
/*    color: #9F9FF8 !important;*/
    line-height: 44px !important;
}

.sequencing-descriptor {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #7A8FA3 !important;
    margin-top: 4px;
}

.timeline-graphic {
    display: flex;
    gap: 4px;
    margin-top: auto;
    height: 28px;
    position: relative;
    padding-bottom: 20px;
}

.timeline-block {
    flex: 1;
    background: #D1D8E0;
    opacity: 0.8;
    border-radius: 3px;
    /*    max-width: 30px;*/
}

    .timeline-block.filled {
        background-image: var(--gradient-primary) !important;
    }


    /* Responsive Adjustments */
    @media (max-width: 960px) {
        .investment-model-section {
            padding: 16px;
        }

        .section-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 8px;
        }

        .kpi-tile {
            min-height: 160px;
        }

        .risk-score,
        .withdrawal-value,
        .sequencing-value {
            font-size: 28px !important;
        }
    }

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.investment-model-section {
    animation: fadeIn 0.4s ease;
}

.kpi-tile {
    animation: fadeIn 0.4s ease;
}

@media (prefers-reduced-motion: reduce) {
    .investment-model-section,
    .kpi-tile {
        animation: none;
    }

        .kpi-tile:hover {
            transform: none;
        }
}

.align-checkbox .mud-checkbox {
    align-items: start;
}

.recaptcha-wrapper {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
    margin-top:20px;
}

.g-recaptcha {
    transform-origin: left top;
}

@media (max-width: 400px) {
    .g-recaptcha {
        transform: scale(0.85);
    }
}

.centered-input .mud-input-slot {
    text-align: center !important;
    font-weight: bold !important;
    font-size: 1rem !important;
}

.no-spinner::-webkit-inner-spin-button,
.no-spinner::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.no-spinner .mud-input-root {
    -moz-appearance: textfield;
    appearance: textfield;
}

.progress-circular-container {
    display: flex;
    align-items: center;
    gap: 32px;
}

.circular-progress {
    position: relative;
    width: 80px;
    height: 80px;
}

    .circular-progress svg {
        transform: rotate(-90deg);
    }

.circle-bg {
    fill: none;
    stroke: #e5e5e5;
    stroke-width: 2;
}

.circle-progress {
    fill: none;
    stroke: url(#gradient);
    stroke-width: 3px;
    stroke-linecap: round;
    stroke-dasharray: 201;
    stroke-dashoffset: 134;
    transition: stroke-dashoffset 0.8s ease;
}

.circular-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.circular-percentage {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -1px;
    color: #0a0a0a;
    line-height: 1;
}

.circular-label {
    font-size: 9px;
    font-weight: 600;
    color: #6e6e73;
    margin-top: 4px;
}

.progress-details {
    flex: 1;
}

.detail-row {
    display: flex;
    flex-direction:column;
/*    justify-content: space-between;*/
    padding: 12px 10px;
    border-bottom: 1px solid #f0f0f0;
}

    .detail-row:last-child {
        border-bottom: none;
    }

.detail-label {
    font-size: 14px;
    font-weight: 600;
    color: #6e6e73;
}

.detail-value {
    font-size: 14px;
    font-weight: 700;
    color: #0a0a0a;
}

.headline-spacer {
    width: 2px;
    background: var(--icon-gradient-secondary);
    border-radius: 100px;
    flex-shrink: 0;
    margin-right: 10px;
    margin-top: 12px;
    margin-bottom: 12px;
    display: block;
    border-radius: 5px;
}

/* KPI Tile Animation */
.kpi-tile {
    transition: all 0.3s ease;
}

.kpi-tile.tile-animate {
/*    animation: tileUpdate 0.6s ease-out;*/
}

.risk-segment.filled, .timeline-block.filled {
    animation: fillIn 0.4s ease-out;
}

.range-marker {
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}


.mud-table .mud-table-cell.expand-cell-type,
.mud-data-grid .expand-cell-type {
    width: 59% !important;
    min-width: 59% !important;
    background: var(--mud-palette-background-gray);
}

.mud-table .mud-table-cell.force-end span, .mud-data-grid .force-end span {
    justify-content: end!important;
}

.mud-table .mud-table-cell.force-padd span, .mud-data-grid .force-padd span {
    padding-left: 44px;
/*    justify-content: center;*/
}


