﻿
:root {
    --primary-color: #88c6b2;
    --default-page-background-color: #fafafa;
    --dark-text-color: #424242 !important;
    --primary-color2: #269E93; /* dark green */
    --dark-text-color2: #3F4041 !important;
    --gold-color: #FBBC20 !important;
    --finpleo-shell-max-width: 960px;
    --finpleo-page-padding: 0.9rem;
    --finpleo-appbar-height: 3rem;
    --finpleo-card-radius: 5px;
    --finpleo-card-border-color: #DCE0E4;
    --finpleo-section-gap: 1rem;
}


.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,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) 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;
}

.finpleo-job-card-background {
    background-color: #E0F2F1 !important;
    border-radius: 15px !important;

    
}

.finpleo-icon-bg {
    background-color: #f1f3f5; /* helles Grau wie Bootstrap */
    padding: 7px;
    border-radius: 10px; /* optional – sieht nicer aus */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.finpleo-logo-bg {
    background-color: white; /* helles Grau wie Bootstrap */
    padding: 3px;
    border-radius: 10px; /* optional – sieht nicer aus */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


.content-question-text-style {
    font-size: 14pt !important;
    font-weight: bold !important;
}


.text-transform-none {
    text-transform: none;
}

.finpleo-text-sectionheader {
    font-size: 12pt !important;
    font-weight: bold !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
}

.finpleo-card-header-chip-style {
    padding: 2px 8px 2px 8px !important;
    background-color: #269E93 !important;
    /*border-radius: 8px !important;*/
    overflow: hidden !important;
    font-size: 8pt !important;
    font-weight: bold !important;
    color: white !important;
    height: 20px !important;
    margin-left: -2px !important;
    margin-top: -1px !important;
}


/* =======================================================
   FINPLEO Custom Bootstrap Focus Style
   Scoped to: .finpleo-custom-textbox-style
   ======================================================= */

.finpleo-mud-textfield {
    --finpleo-textfield-border: #DEE2E6;
    --finpleo-textfield-border-hover: #CED4DA;
    --finpleo-textfield-focus-border: #86B7FE;
    --finpleo-textfield-focus-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    --finpleo-textfield-background: #F8F9FA;
    --finpleo-textfield-text: #5F6B7A;
    --finpleo-textfield-placeholder: var(--finpleo-textfield-text);
    --finpleo-textfield-icon: #7E8A99;
    --finpleo-textfield-icon-size: 22px;
    --finpleo-textfield-icon-margin-left: 16px;
    --finpleo-textfield-icon-margin-right: 12px;
    --finpleo-textfield-radius: 10px;
    --finpleo-textfield-height: 50px;
    --finpleo-textfield-padding: 0 14px 0 0;
    --finpleo-textfield-font-size: 18px;
    --finpleo-textfield-margin: 0;
}

    .finpleo-mud-textfield.mud-input-control {
        margin: var(--finpleo-textfield-margin);
    }

    .finpleo-mud-textfield .mud-input {
        min-height: var(--finpleo-textfield-height);
        border-radius: var(--finpleo-textfield-radius) !important;
        background-color: var(--finpleo-textfield-background);
        transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, background-color 0.15s ease-in-out;
    }

    .finpleo-mud-textfield .mud-input-outlined .mud-input-outlined-border {
        border-color: var(--finpleo-textfield-border) !important;
        border-radius: var(--finpleo-textfield-radius) !important;
        border-width: 1px !important;
    }

    .finpleo-mud-textfield .mud-input-outlined:hover .mud-input-outlined-border {
        border-color: var(--finpleo-textfield-border-hover) !important;
    }

    .finpleo-mud-textfield .mud-input:focus-within {
        background-color: #FFFFFF;
        box-shadow: var(--finpleo-textfield-focus-shadow) !important;
    }

    .finpleo-mud-textfield .mud-input-outlined.mud-input-focused .mud-input-outlined-border,
    .finpleo-mud-textfield .mud-input:focus-within .mud-input-outlined-border {
        border-color: var(--finpleo-textfield-focus-border) !important;
        border-width: 2px !important;
    }

    .finpleo-mud-textfield .mud-input > input.mud-input-root {
        height: var(--finpleo-textfield-height);
        padding: var(--finpleo-textfield-padding) !important;
        color: var(--finpleo-textfield-text);
        font-size: var(--finpleo-textfield-font-size);
        letter-spacing: 0;
    }

    .finpleo-mud-textfield .mud-input > input.mud-input-root::placeholder {
        color: var(--finpleo-textfield-placeholder);
        opacity: 1;
    }

    .finpleo-mud-textfield .mud-input-adornment-start {
        margin-left: var(--finpleo-textfield-icon-margin-left);
        margin-right: var(--finpleo-textfield-icon-margin-right);
        color: var(--finpleo-textfield-icon) !important;
    }

    .finpleo-mud-textfield .mud-input-adornment-start .mud-icon-root {
        font-size: var(--finpleo-textfield-icon-size);
    }

    .finpleo-mud-textfield .mud-input-control-helper-container {
        margin-left: 0;
        margin-right: 0;
    }

/* Scoped Bootstrap-like Focus für MudBlazor – nur wenn Class="finpleo-custom-textbox-style" gesetzt ist */
.finpleo-custom-textbox-style {
    --finpleo-focus-color: #0d6efd;
    --finpleo-focus-shadow: 0 0 0 0.2rem rgba(13,110,253,.25);
    --finpleo-radius: 4px;
}

    /* Fokus wie im Original: wir nutzen :focus-within auf dem INNEREN .mud-input */
    .finpleo-custom-textbox-style .mud-input:focus-within,
    .finpleo-custom-textbox-style .mud-input:focus-within .mud-input-outlined-border,
    .finpleo-custom-textbox-style .mud-input:focus-within .mud-input-underline:after {
        border-color: var(--finpleo-focus-color) !important;
    }

    /* Shadow + Radius wie Bootstrap */
    .finpleo-custom-textbox-style .mud-input:focus-within {
        box-shadow: var(--finpleo-focus-shadow) !important;
        border-radius: var(--finpleo-radius);
    }

    /* Outlined-Fokus (MudBlazor setzt gern zusätzlich mud-input-focused) */
    .finpleo-custom-textbox-style .mud-input-outlined.mud-input-focused .mud-input-outlined-border {
        border-color: var(--finpleo-focus-color) !important;
    }

    .finpleo-custom-textbox-style .mud-input-outlined.mud-input-focused {
        box-shadow: var(--finpleo-focus-shadow) !important;
        border-radius: var(--finpleo-radius);
    }

/* =======================================================
   FINPLEO Custom Bootstrap Focus Style
   Scoped to: .finpleo-custom-textbox-style
   ======================================================= */

.finpleo-page-title-style {
    font-size: 22pt !important;
    font-weight: bold !important;
    line-height: 20.5pt !important;
}

.finpleo-page-subtitle-style {
    font-size: 11.5pt !important;
    line-height: 11pt !important;
    color: rgb(106, 113, 129) !important;
}

.finpleo-page-title-style + .finpleo-page-subtitle-style {
    margin-top: 5px !important;
}

.finpleo-page-item-header-chip-style {
    margin-left: -2px !important;
    font-weight: bold;
    letter-spacing: 0.5pt;
    text-transform: uppercase !important;
}

.finpleo-page-card-style {
    padding: 1.5rem !important;
    border-radius: var(--finpleo-card-radius) !important;
    border-color: var(--finpleo-card-border-color) !important;
    border-width: 1px !important;
    overflow: hidden !important;
}

.finpleo-responsive-section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--finpleo-grid-min-item-width, 16rem)), 1fr));
    gap: var(--finpleo-grid-gap, var(--finpleo-section-gap));
    align-items: var(--finpleo-grid-align-items, stretch);
    width: 100%;
}

.finpleo-responsive-section-grid > * {
    min-width: 0;
}

.finpleo-responsive-two-column {
    display: grid;
    grid-template-columns: var(--finpleo-two-column-main, minmax(0, 2fr)) var(--finpleo-two-column-side, minmax(16rem, 1fr));
    gap: var(--finpleo-two-column-gap, 1.5rem);
    align-items: start;
    width: 100%;
}

.finpleo-responsive-two-column-main,
.finpleo-responsive-two-column-side {
    min-width: 0;
}

.homeheader-text-ellipsis {
    line-clamp: 2 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: break-spaces !important;
    line-height: 14pt !important;
    font-size: 11pt !important;
}

.home-skeleton-card {
    border-radius: 7px !important;
    border: 1px solid #DCE0E4;
    overflow: hidden;
    background-color: white;
}

.home-skeleton-card-content {
    padding: 0.9rem 1rem 1rem 1rem;
}

.home-job-skeleton-card {
    padding: 0.95rem 1rem;
    background: linear-gradient(135deg, #F8FCFB 0%, #EEF8F6 100%);
    border-color: #269E9322;
    min-height: 176px;
}

.home-expert-tip-skeleton {
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, #F7FAF9 0%, #EEF4F2 100%);
    border-color: #269E9322;
    min-height: 170px;
}

.home-news-big-skeleton,
.home-news-small-skeleton {
    padding: 0;
}

.home-news-small-skeleton-content {
    flex: 1;
    min-width: 0;
    padding-top: 0.85rem;
}

@media (max-width: 768px) {
    .finpleo-responsive-two-column {
        grid-template-columns: minmax(0, 1fr);
    }
}






.htmlcontent-style 
    /* Main Level */
    ul

{
    margin-left: 0px;
    padding-left: 0px;
}

li {
    padding-left: 0px;
    list-style-type: disc; /* Set list item markers as bullet points */
}

/* Second Level */
ul ul ol {
    margin-left: 10px;
}

h1, h2, h3, h4, h5, h6,
td,
/* p, */
li,
a,
span {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    text-indent: 0;
}

p {
    margin-top: 1em; /* Add empty line after paragraph */
    margin-bottom: 1em; /* Add empty line after paragraph */
}

a {
    text-decoration: underline;
}
