@font-face {
    font-family: 'NeulisSans';
    src: url('/fonts/Neulis_Sans_Regular.otf') format('opentype');
}
@font-face {
    font-family: 'Satoshi';
    src: url('/fonts/Satoshi-Regular.otf') format('opentype');
}

:root {
    /* Primary Shades */
    --primary100: #798AE0;
    --primary200: #365BF6;
    --primary400: #83A2F1;
    --primary600: #3164E9;
    --primary700: #2246A3;
    --primary800: #183274;
    --primary900: #020C23;
    /* Buttons */
    --button-primary: #1C1C2A;
    --button-primary-hover: #39373F;
    --button-primary-active: #39373F;
    --button-primary-focus: #39373F;
    --button-primary-disabled: #A9A9AB;
    --button-secondary: #FFFEFB;
    --button-secondary-hover: #F7F7F7;
    --button-secondary-active: #F7F7F7;
    --button-secondary-focus: #F7F7F7;
    --button-secondary-disabled: #A9A9AB;
    /* Text */
    --text-primary: #1C1C2A;
    --text-secondary: #39373F;
    --text-disabled: #A9A9AB;
    --text-brand: #365BF6;
    --text-inverted-primary: #FFFEFB;
    --text-inverted-secondary: #1C1C2A;
    --text-alert-red: #FF5651;
    --text-alert-green: #138525;
    --text-alert-amber: #FAAD14;
    /* Icons */
    --icon-primary: #1C1C2A;
    --icon-secondary: #39373F;
    --icon-inverted: #FFFEFB;
    --icon-brand: #E5FF87;
    --icon-brand-blue: #365BF6;
    --icon-alert-red: #FF5651;
    --icon-alert-green: #138525;
    --icon-alert-amber: #FAAD14;
    --icon-disabled: #D2D2D2;
    /* Surface */
    --surface-primary: #FFFEFB;
    --surface-secondary: #F7F7F7;
    --surface-inactive: #D2D2D2;
    --surface-brand: #E5FF87;
    --surface-brand-blue: #365BF6;
    --surface-alert-red: #FF5651;
    --surface-alert-green: #138525;
    --surface-alert-amber: #FAAD14;
    --surface-brand-midnight: #0A215C;
    --surface-brand-daynight: #FEF5F1;
    --surface-brand-shadow: #05102E;
    --surface-inverted: rgba(28, 28, 42, 1);
    --surface-inverted-primary: rgba(255, 254, 251, 1);
}

/* Global Padding */
.padding-sm {
    padding: 8px;
}

.padding-top-sm {
    padding-top: 8px;
}

.padding-left-sm {
    padding-left: 8px;
}

.padding-bottom-sm {
    padding-bottom: 8px;
}

.padding-md {
    padding: 16px;
}

.padding-top-md {
    padding-top: 16px;
}

.padding-left-md {
    padding-left: 16px;
}

.padding-bottom-md {
    padding-bottom: 16px;
}

.padding-lg {
    padding: 24px;
}

.padding-top-lg {
    padding-top: 24px;
}

.padding-left-lg {
    padding-left: 24px;
}

.padding-bottom-lg {
    padding-bottom: 24px;
}

.padding-xl {
    padding: 32px;
}

.padding-top-xl {
    padding-top: 32px;
}

.padding-left-xl {
    padding-left: 32px;
}

.padding-bottom-xl {
    padding-bottom: 32px;
}

/* Global Margins */
.margin-sm {
    margin: 8px;
}

.margin-bottom-sm {
    margin-bottom: 8px;
}

.margin-md {
    margin: 16px;
}

.margin-bottom-md {
    margin-bottom: 16px;
}

.margin-lg {
    margin: 24px;
}

.margin-bottom-lg {
    margin-bottom: 24px;
}

.margin-xl {
    margin: 32px;
}

.margin-bottom-xl {
    margin-bottom: 32px;
}

/* Global Text Colors */
.text-bold {
    font-weight: 700 !important;
}

.text-inverted-primary {
    color: var(--text-inverted-primary);
}

.text-inverted-secondary {
    color: var(--text-inverted-secondary);
}

.text-primary {
    color: var(--text-primary);
}

.text-secondary {
    color: var(--text-secondary);
}

/* Other Global Styles */
h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

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

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

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* Custom styles */

.custom-card .mud-card-content {
    background: var(--mud-palette-gray-light);
}

.chat-bubble {
    --mud-palette-surface: var(--mud-palette-primary-lighten);
}

/* Black & Lime Theming */
.mud-button-filled-primary .mud-svg-icon {
    fill: #26b050;
}

.main-content {
    padding-top: 0px !important;
    background-color: var(--surface-secondary);
}

.mud-input-helper-text{
    font-size: 14px !important;
}

.mud-input-helper-text.mud-input-error::before {
    content: url(images/triangle-sm.png);
    padding-right: 8px;
    align-self: center;
    justify-self: center;
    height: 16px;
    width: 16px;
}

.clickable-logo {
    cursor: pointer;
}

.text-off-white {
    color: var(--surface-secondary);
}

body {
    background-color: var(--surface-secondary) !important;
}

.mud-checkbox .mud-typography {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
    color: var(--text-primary);
}

/* popover styles */

.mud-popover .power-search .mud-list-item .mud-typography {
    font-size: 14px;
    font-weight: 500;
    font-family: NeulisSans, sans-serif;
}

/* main content styles */
@media (min-width: 960px) {
    .mud-main-content {
        padding-top: 0px !important;
    }
}

/* decline and referral pages */
.decline, .referral {
    background-color: var(--primary200);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Space between div and button */
}

.decline__wrapper {
    margin-top: -50px;
    width: 688px;
    height: 390px;
    padding: 16px 8px;
    border-radius: 16px;
    background-color: var(--button-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.referral__wrapper {
    margin-top: -50px;
    width: 688px;
    padding: 16px 8px;
    border-radius: 16px;
    background-color: var(--button-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

@media (max-width: 758px) {
    .decline__wrapper {
        width: 327px;
        height: 296px;
    }

    .referral__wrapper {
        width: 327px;
    }
}

.decline__wrapper h1, .referral__wrapper h1 {
    font-family: NeulisSans, sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 40px;
    color: var(--button-primary);
    margin-bottom: 30px;
}

.referral__wrapper h1 {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .decline__wrapper h1, .referral__wrapper h1 {
        font-size: 28px;
        line-height: 32px;
        margin-bottom: 16px;
    }
}

.decline__wrapper p, .referral__wrapper p {
    font-family: Satoshi, sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: var(--button-primary);
}

@media (max-width: 768px) {
    .decline__wrapper p, .referral__wrapper p {
        font-size: 16px;
        line-height: 20px;
    }
}

.decline__cta, .referral_cta {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 33px;
    margin-bottom: 50px;
}

.decline__cta .decline__button, .referral__cta .referral__button {
    background-color: #000 !important;
    color: #fff !important;
    height: 48px;
    font-size: 14px;
    line-height: 16px;
}

.decline__cta .decline__button .mud-button-icon-end, .referral__cta .referral__button .mud-button-icon-end {
    color: var(--surface-brand) !important;
}

.decline__svg, .referral__svg {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 800px;
    gap: 20px;
}

.decline__svg-left path, .referral__svg-left path {
    fill: var(--surface-brand);
}

@media (min-width: 900px) {
    .decline__svg-left, .referral__svg-left {
        margin-left: -80px;
        width: 388px;
        height: 303px;
        transform: rotate(6deg);
    }

    .decline__svg-right, .referral__svg-right {
        position: relative;
        top: 90px;
        left: 75px;
        width: 151px;
        height: 145px;
    }
}

    /* mobile viewport */
    @media (max-width: 768px) {
        .decline__svg-left, .referral__svg-left {
            margin-left: 0;
            position: relative;
            top: -50px;
            width: 120px;
            height: 140px;
            transform: rotate(30deg);
        }

        .decline__svg-right, .referral__svg-right {
            position: relative;
            top: 0;
            left: -30px;
            width: 35px;
            height: 39px;
        }
    }

    /* large tablet viewport */
    @media (max-width: 830px) {
        .decline__svg-left, .referral__svg-left {
            margin-left: 0;
            position: relative;
            top: -50px;
            width: 200px;
            height: 180px;
            transform: rotate(30deg);
        }

        .decline__svg-right, .referral__svg-right {
            position: relative;
            top: 0;
            left: 0;
            width: 100px;
            height: 60px;
        }
    }

.mud-theme-hint {
    color: rgba(0,0,0,0.8) !important;
    background-color: rgb(243 244 255) !important
}
