﻿
:root {
    --finpleo-brand-primary: #269E93;
    --finpleo-brand-primary-hover: #1F7F78;
    --finpleo-brand-primary-strong: #176A64;
    --finpleo-brand-tint: #88C6B2;
    --finpleo-brand-soft: #E8F5F2;
    --finpleo-brand-subtle: #F4FAF8;
    --finpleo-surface: #FFFFFF;
    --finpleo-surface-muted: #EEF3F2;
    --finpleo-text-primary: #243331;
    --finpleo-text-secondary: #667572;
    --finpleo-text-muted: #7A8986;
    --finpleo-focus-ring: rgba(38, 158, 147, 0.22);
    --primary-color: var(--finpleo-brand-tint);
    --primary-color2: var(--finpleo-brand-primary);
    --default-page-background-color: #F6F8F8;
    --dark-text-color: var(--finpleo-text-primary) !important;
    --dark-text-color2: var(--finpleo-text-primary) !important;
    --gold-color: var(--finpleo-brand-primary) !important;
    --finpleo-shell-max-width: 960px;
    --finpleo-page-padding: 0.9rem;
    --finpleo-appbar-height: 3rem;
    --finpleo-card-radius: 8px;
    --finpleo-control-radius: 8px;
    --finpleo-card-border-color: #DCE5E3;
    --finpleo-card-shadow: 0 1px 2px rgba(31, 55, 51, 0.04);
    --finpleo-card-shadow-hover: 0 8px 24px rgba(31, 55, 51, 0.10);
    --finpleo-section-gap: 1rem;
}

html {
    background-color: var(--default-page-background-color);
}

body {
    background-color: var(--default-page-background-color);
    color: var(--finpleo-text-primary);
}

a,
.mud-link {
    color: var(--finpleo-brand-primary-hover);
}

a:hover,
.mud-link:hover {
    color: var(--finpleo-brand-primary-strong);
}

*:focus-visible {
    outline: 2px solid var(--finpleo-brand-primary) !important;
    outline-offset: 2px;
}


.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,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3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5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) 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: var(--finpleo-brand-soft) !important;
    border-radius: var(--finpleo-card-radius) !important;

    
}

.finpleo-icon-bg {
    background-color: var(--finpleo-brand-subtle);
    padding: 7px;
    border: 1px solid #E1ECE9;
    border-radius: var(--finpleo-control-radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.finpleo-logo-bg {
    background-color: var(--finpleo-surface);
    padding: 3px;
    border: 1px solid var(--finpleo-card-border-color);
    border-radius: var(--finpleo-control-radius);
    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 {
    color: var(--finpleo-text-primary);
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
}

.finpleo-card-header-chip-style {
    padding: 2px 8px 2px 8px !important;
    background-color: var(--finpleo-brand-primary-hover) !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: var(--finpleo-card-border-color);
    --finpleo-textfield-border-hover: #B8CBC7;
    --finpleo-textfield-focus-border: var(--finpleo-brand-primary);
    --finpleo-textfield-focus-shadow: 0 0 0 0.2rem var(--finpleo-focus-ring);
    --finpleo-textfield-background: var(--finpleo-brand-subtle);
    --finpleo-textfield-text: var(--finpleo-text-secondary);
    --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: var(--finpleo-control-radius);
    --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: var(--finpleo-brand-primary);
    --finpleo-focus-shadow: 0 0 0 0.2rem var(--finpleo-focus-ring);
    --finpleo-radius: var(--finpleo-control-radius);
}

    /* 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 {
    color: var(--finpleo-text-primary) !important;
    font-size: clamp(1.6rem, 4vw, 1.85rem) !important;
    font-weight: 750 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.025em;
}

.finpleo-page-subtitle-style {
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
    color: var(--finpleo-text-secondary) !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: 1rem !important;
    border-radius: var(--finpleo-card-radius) !important;
    border: 1px solid var(--finpleo-card-border-color) !important;
    background-color: var(--finpleo-surface);
    box-shadow: var(--finpleo-card-shadow) !important;
    overflow: hidden !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.finpleo-page-card-interactive {
    cursor: pointer;
}

.finpleo-page-card-interactive:hover,
.finpleo-page-card-interactive:focus-within {
    border-color: #B8D7D1 !important;
    box-shadow: var(--finpleo-card-shadow-hover) !important;
    transform: translateY(-1px);
}

.mud-button-root,
.mud-icon-button,
.mud-input,
.mud-chip,
.mud-paper,
.mud-card {
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.mud-button-filled-primary {
    background-color: var(--finpleo-brand-primary) !important;
    color: #0F1A18 !important;
}

.mud-button-filled-primary:hover {
    background-color: var(--finpleo-brand-primary-hover) !important;
    color: #FFFFFF !important;
}

.mud-button-outlined-primary,
.mud-button-text-primary {
    color: var(--finpleo-brand-primary-hover) !important;
}

.mud-button-outlined-primary {
    border-color: var(--finpleo-brand-primary) !important;
}

.mud-input:focus-within {
    border-radius: var(--finpleo-control-radius);
    box-shadow: 0 0 0 0.2rem var(--finpleo-focus-ring) !important;
}

.mud-input-outlined.mud-input-focused .mud-input-outlined-border,
.mud-input:focus-within .mud-input-outlined-border,
.mud-input:focus-within .mud-input-underline::after {
    border-color: var(--finpleo-brand-primary) !important;
}

.mud-nav-link.active:not(.mud-nav-link-disabled),
.mud-nav-link:hover:not(.mud-nav-link-disabled) {
    background-color: rgba(136, 198, 178, 0.16);
    color: #FFFFFF;
}

.mud-chip-filled.mud-chip-color-primary {
    background-color: var(--finpleo-brand-soft) !important;
    color: var(--finpleo-brand-primary-strong) !important;
}

.mud-progress-linear-color-primary .mud-progress-linear-bar {
    background-color: var(--finpleo-brand-primary) !important;
}

body :is(
    .accounthome-card-style,
    .copilot-card-container,
    .jobfilter-card-style,
    .job-card-style,
    .jobcardlist-container,
    .jobcarditem-container,
    .job-item-summary-style,
    .partnercard-style,
    .experttip-card-style,
    .study-card-sm-container,
    .card-grid-style,
    .course-tree-group) {
    border: 1px solid var(--finpleo-card-border-color) !important;
    border-radius: var(--finpleo-card-radius) !important;
    box-shadow: none !important;
}

body :is(
    .accounthome-card-style,
    .job-card-style,
    .jobcardlist-container,
    .jobcarditem-container,
    .partnercard-style,
    .experttip-card-style,
    .study-card-sm-container,
    .card-grid-style):hover {
    border-color: #B8D7D1 !important;
    box-shadow: var(--finpleo-card-shadow-hover) !important;
}

body :is(
    .jobfilter-card-style,
    .jobcardlist-container,
    .jobcarditem-container,
    .job-item-summary-style,
    .partnercard-style,
    .experttip-card-style,
    .study-card-sm-container,
    .card-grid-style,
    .course-tree-group) {
    background-color: var(--finpleo-surface) !important;
}

body .accounthome-card-style,
body .job-card-style {
    background: var(--finpleo-brand-subtle) !important;
}

body :is(
    .news-card-container,
    .news-card-big-container,
    .news-card-small-container,
    .news-item-related-style) {
    border-radius: var(--finpleo-card-radius) !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: var(--finpleo-card-radius) !important;
    border: 1px solid var(--finpleo-card-border-color);
    box-shadow: none !important;
    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: rgba(38, 158, 147, 0.18);
    min-height: 176px;
}

.home-expert-tip-skeleton {
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, #F7FAF9 0%, #EEF4F2 100%);
    border-color: rgba(38, 158, 147, 0.18);
    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) {
    :root {
        --finpleo-page-padding: 0.75rem;
        --finpleo-section-gap: 0.85rem;
    }

    .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;
}
