:root {
    --rz-primary: #394f8a; /* Your new primary color (example: blue) */
    --rz-primary-light: #5793cd;
    --rz-primary-lighter: #dfe5ec;
}

.rz-background-color-primary-lighter {
    color: #dfe5ec;
}

.rz-col-icon.rz-unselectable-text {
    background-color: #dfe5ec;
}

.rz-column-title-content {
    font-size: 16px;
}

.rz-datatable-thead th:first-child {
    background-color: var(--rz-primary-lighter);
    color: white;
    text-align: center;
}

a, .btn-link {
    text-decoration: none;
    color: #006bb7;
}


.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;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.rz-datatable-thead th:first-child {
    background-color: var(--rz-primary-lighter);
    color: white;
    text-align: center;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA9NC4wODE1IDI5MSA9NC42NzgyIDI5MSA9Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA6IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4MDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDg2NiAxMjguOTAyIDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) 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;
}

/* Strong overrides to remove blue/colored fill for RadzenTextBox / form-floating inputs */

/* Ensure white background and remove inset fill (high specificity + !important) */
.rz-textbox .rz-input,
.form-floating .rz-input,
.form-floating .form-control {
    background-color: #fff !important;
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    box-shadow: 0 0 0 1000px #fff inset !important;
    -webkit-text-fill-color: #212529 !important;
    background-clip: padding-box !important;
}

    /* Keep inputs white when they contain value (placeholder removed) */
    .rz-textbox .rz-input:not(:placeholder-shown),
    .form-floating .form-control:not(:placeholder-shown) {
        background-color: #fff !important;
        -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
        box-shadow: 0 0 0 1000px #fff inset !important;
    }

    /* Remove focus glow / outline */
    .rz-textbox .rz-input:focus,
    .form-floating .rz-input:focus,
    .form-floating .form-control:focus {
        box-shadow: none !important;
        outline: none !important;
    }

/* Chrome autofill override */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
.rz-input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    box-shadow: 0 0 0 1000px #fff inset !important;
    -webkit-text-fill-color: #212529 !important;
}
/* Final override: completely remove blue focus glow/fill for Radzen/Bootstrap inputs */
.form-floating .form-control:focus,
.form-floating .form-control:focus-visible,
.form-floating .rz-input:focus,
.form-floating .rz-input:focus-visible,
.rz-textbox .rz-input:focus,
.rz-textbox .rz-input:focus-visible,
.rz-input:focus,
.rz-input:focus-visible,
.rz-input.rz-state-focused,
.rz-input.rz-state-focused:focus,
input.rz-input:focus,
textarea.rz-input:focus {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    outline: none !important;
    background-color: #fff !important;
    border-color: #ced4da !important;
    -webkit-text-fill-color: #212529 !important;
}

/* Scope styles to RadzenLogin only */
.rz-login {
    max-width: 400px;
    margin: auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

    .rz-login .rz-button.rz-primary {
        background-color: #1b6ec2 !important; /* blue */
        color: white !important;
        border-radius: 6px;
        font-weight: bold;
        color: #fff;
        border-color: #1861ac;
    }

    /* Register button (secondary) */
    .rz-login .rz-button.rz-secondary {
        background-color: #28a745 !important; /* green */
        color: white !important;
        border-radius: 6px;
        font-weight: bold;
    }

/* Forgot password link */
    .rz-login .rz-link {
        color: #1b6ec2; /* orange */

        cursor: pointer;
    }

/* Input fields */
.rz-login .rz-inputtext {
    border: 1px solid #0078d4;
    border-radius: 4px;
    padding: 6px;
}

/* Labels */
.rz-login .rz-label {
    font-weight: bold;
    color: #333;
}

/* Blue header styling for Radzen dialogs */
.blue-header-dialog .rz-dialog-titlebar {
    background-color: var(--rz-primary-light) !important;
    color: white !important;
    padding-bottom: 1rem !important;
}

.blue-header-dialog .rz-dialog-titlebar .rz-dialog-title {
    color: white !important;
    font-weight: 600 !important;
}

.blue-header-dialog .rz-dialog-titlebar .rz-dialog-titlebar-icon {
    color: white !important;
}

.blue-header-dialog .rz-dialog-titlebar .rz-dialog-titlebar-icon:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.blue-header-dialog .rz-dialog-content {
    padding-top: 1.5rem !important;
}

/* Archive confirmation dialog - light danger button */
.archive-confirm-dialog .rz-button-md.rz-variant-filled.rz-primary,
.archive-confirm-dialog .rz-button.rz-primary {
    background-color: var(--rz-danger-light) !important;
    border-color: var(--rz-danger-light) !important;
    color: var(--rz-text-contrast-color) !important;
}

.archive-confirm-dialog .rz-button-md.rz-variant-filled.rz-primary:hover,
.archive-confirm-dialog .rz-button.rz-primary:hover {
    background-color: var(--rz-danger) !important;
    border-color: var(--rz-danger) !important;
}

/* Restore confirmation dialog - light success button */
.restore-confirm-dialog .rz-button-md.rz-variant-filled.rz-primary,
.restore-confirm-dialog .rz-button.rz-primary {
    background-color: var(--rz-success-light) !important;
    border-color: var(--rz-success-light) !important;
    color: var(--rz-text-contrast-color) !important;
}

.restore-confirm-dialog .rz-button-md.rz-variant-filled.rz-primary:hover,
.restore-confirm-dialog .rz-button.rz-primary:hover {
    background-color: var(--rz-success) !important;
    border-color: var(--rz-success) !important;
}

/* Delete confirmation dialog - light danger button */
.delete-confirm-dialog .rz-button-md.rz-variant-filled.rz-primary,
.delete-confirm-dialog .rz-button.rz-primary {
    background-color: var(--rz-danger-light) !important;
    border-color: var(--rz-danger-light) !important;
    color: var(--rz-text-contrast-color) !important;
}

.delete-confirm-dialog .rz-button-md.rz-variant-filled.rz-primary:hover,
.delete-confirm-dialog .rz-button.rz-primary:hover {
    background-color: var(--rz-danger) !important;
    border-color: var(--rz-danger) !important;
}

/* ===== NAVIGATION MENU STYLING ===== */

/* Top-level navigation items - WHITE text */
.top-nav-menu .rz-navigation-item-link,
.top-nav-menu .rz-navigation-item-text,
.top-nav-menu a {
    transition: background-color 0.2s ease !important;
    color: white !important;
    -webkit-text-fill-color: white !important;
}

.top-nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
}

.top-nav-menu a:active {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

/* Submenu/Dropdown items - BLACK text (these are portaled to body) */
body > div[style*="position: absolute"] ul[role="menu"],
ul[role="menu"].rz-menu-popup {
    background-color: #ffffff !important;
}

body > div[style*="position: absolute"] ul[role="menu"] .rz-navigation-item-text,
body > div[style*="position: absolute"] ul[role="menu"] span,
body > div[style*="position: absolute"] ul[role="menu"] a,
ul[role="menu"].rz-menu-popup .rz-navigation-item-text,
ul[role="menu"].rz-menu-popup span,
ul[role="menu"].rz-menu-popup a {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
}

body > div[style*="position: absolute"] ul[role="menu"] a:hover,
ul[role="menu"].rz-menu-popup a:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
}
:root {
    --rz-primary: #394f8a; /* Your new primary color (example: blue) */
    --rz-primary-light: #5793cd;
    --rz-primary-lighter: #dfe5ec;
}

.rz-background-color-primary-lighter {
    color: #dfe5ec;
}

.rz-col-icon.rz-unselectable-text {
    background-color: #dfe5ec;
}

.rz-column-title-content {
    font-size: 16px;
}

.rz-datatable-thead th:first-child {
    background-color: var(--rz-primary-lighter);
    color: white;
    text-align: center;
}

a, .btn-link {
    text-decoration: none;
    color: #006bb7;
}


.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;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.rz-datatable-thead th:first-child {
    background-color: var(--rz-primary-lighter);
    color: white;
    text-align: center;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA9NC4wODE1IDI5MSA9NC42NzgyIDI5MSA9Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA6IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4MDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDg2NiAxMjguOTAyIDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) 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;
}

/* Strong overrides to remove blue/colored fill for RadzenTextBox / form-floating inputs */

/* Ensure white background and remove inset fill (high specificity + !important) */
.rz-textbox .rz-input,
.form-floating .rz-input,
.form-floating .form-control {
    background-color: #fff !important;
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    box-shadow: 0 0 0 1000px #fff inset !important;
    -webkit-text-fill-color: #212529 !important;
    background-clip: padding-box !important;
}

    /* Keep inputs white when they contain value (placeholder removed) */
    .rz-textbox .rz-input:not(:placeholder-shown),
    .form-floating .form-control:not(:placeholder-shown) {
        background-color: #fff !important;
        -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
        box-shadow: 0 0 0 1000px #fff inset !important;
    }

    /* Remove focus glow / outline */
    .rz-textbox .rz-input:focus,
    .form-floating .rz-input:focus,
    .form-floating .form-control:focus {
        box-shadow: none !important;
        outline: none !important;
    }

/* Chrome autofill override */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
.rz-input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    box-shadow: 0 0 0 1000px #fff inset !important;
    -webkit-text-fill-color: #212529 !important;
}
/* Final override: completely remove blue focus glow/fill for Radzen/Bootstrap inputs */
.form-floating .form-control:focus,
.form-floating .form-control:focus-visible,
.form-floating .rz-input:focus,
.form-floating .rz-input:focus-visible,
.rz-textbox .rz-input:focus,
.rz-textbox .rz-input:focus-visible,
.rz-input:focus,
.rz-input:focus-visible,
.rz-input.rz-state-focused,
.rz-input.rz-state-focused:focus,
input.rz-input:focus,
textarea.rz-input:focus {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    outline: none !important;
    background-color: #fff !important;
    border-color: #ced4da !important;
    -webkit-text-fill-color: #212529 !important;
}

/* Scope styles to RadzenLogin only */
.rz-login {
    max-width: 400px;
    margin: auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

    .rz-login .rz-button.rz-primary {
        background-color: #1b6ec2 !important; /* blue */
        color: white !important;
        border-radius: 6px;
        font-weight: bold;
        color: #fff;
        border-color: #1861ac;
    }

    /* Register button (secondary) */
    .rz-login .rz-button.rz-secondary {
        background-color: #28a745 !important; /* green */
        color: white !important;
        border-radius: 6px;
        font-weight: bold;
    }

/* Forgot password link */
    .rz-login .rz-link {
        color: #1b6ec2; /* orange */

        cursor: pointer;
    }

/* Input fields */
.rz-login .rz-inputtext {
    border: 1px solid #0078d4;
    border-radius: 4px;
    padding: 6px;
}

/* Labels */
.rz-login .rz-label {
    font-weight: bold;
    color: #333;
}

/* Blue header styling for Radzen dialogs */
.blue-header-dialog .rz-dialog-titlebar {
    background-color: var(--rz-primary-light) !important;
    color: white !important;
    padding-bottom: 1rem !important;
}

.blue-header-dialog .rz-dialog-titlebar .rz-dialog-title {
    color: white !important;
    font-weight: 600 !important;
}

.blue-header-dialog .rz-dialog-titlebar .rz-dialog-titlebar-icon {
    color: white !important;
}

.blue-header-dialog .rz-dialog-titlebar .rz-dialog-titlebar-icon:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.blue-header-dialog .rz-dialog-content {
    padding-top: 1.5rem !important;
}

/* Archive confirmation dialog - light danger button */
.archive-confirm-dialog .rz-button-md.rz-variant-filled.rz-primary,
.archive-confirm-dialog .rz-button.rz-primary {
    background-color: var(--rz-danger-light) !important;
    border-color: var(--rz-danger-light) !important;
    color: var(--rz-text-contrast-color) !important;
}

.archive-confirm-dialog .rz-button-md.rz-variant-filled.rz-primary:hover,
.archive-confirm-dialog .rz-button.rz-primary:hover {
    background-color: var(--rz-danger) !important;
    border-color: var(--rz-danger) !important;
}

/* Restore confirmation dialog - light success button */
.restore-confirm-dialog .rz-button-md.rz-variant-filled.rz-primary,
.restore-confirm-dialog .rz-button.rz-primary {
    background-color: var(--rz-success-light) !important;
    border-color: var(--rz-success-light) !important;
    color: var(--rz-text-contrast-color) !important;
}

.restore-confirm-dialog .rz-button-md.rz-variant-filled.rz-primary:hover,
.restore-confirm-dialog .rz-button.rz-primary:hover {
    background-color: var(--rz-success) !important;
    border-color: var(--rz-success) !important;
}

/* Delete confirmation dialog - light danger button */
.delete-confirm-dialog .rz-button-md.rz-variant-filled.rz-primary,
.delete-confirm-dialog .rz-button.rz-primary {
    background-color: var(--rz-danger-light) !important;
    border-color: var(--rz-danger-light) !important;
    color: var(--rz-text-contrast-color) !important;
}

.delete-confirm-dialog .rz-button-md.rz-variant-filled.rz-primary:hover,
.delete-confirm-dialog .rz-button.rz-primary:hover {
    background-color: var(--rz-danger) !important;
    border-color: var(--rz-danger) !important;
}

/* ===== NAVIGATION MENU STYLING ===== */

/* Top-level navigation items ONLY - WHITE text (using child combinator to avoid affecting dropdowns) */
.top-nav-menu > div > .rz-menu > .rz-navigation-item > .rz-navigation-item-wrapper > .rz-navigation-item-link,
.top-nav-menu > div > .rz-menu > .rz-navigation-item > .rz-navigation-item-wrapper > .rz-navigation-item-link > .rz-navigation-item-text {
    color: white !important;
    -webkit-text-fill-color: white !important;
}

.top-nav-menu > div > .rz-menu > .rz-navigation-item > .rz-navigation-item-wrapper > .rz-navigation-item-link:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
}

.top-nav-menu > div > .rz-menu > .rz-navigation-item > .rz-navigation-item-wrapper > .rz-navigation-item-link:active {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

/* Submenu/Dropdown items - BLACK text (these are portaled outside .top-nav-menu) */
body > div[style*="position: absolute"] ul[role="menu"],
ul[role="menu"].rz-menu-popup {
    background-color: #ffffff !important;
}

body > div[style*="position: absolute"] ul[role="menu"] .rz-navigation-item-text,
body > div[style*="position: absolute"] ul[role="menu"] .rz-navigation-item-link,
body > div[style*="position: absolute"] ul[role="menu"] span,
ul[role="menu"].rz-menu-popup .rz-navigation-item-text,
ul[role="menu"].rz-menu-popup .rz-navigation-item-link,
ul[role="menu"].rz-menu-popup span {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
}

body > div[style*="position: absolute"] ul[role="menu"] .rz-navigation-item-wrapper:hover,
ul[role="menu"].rz-menu-popup .rz-navigation-item-wrapper:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
}

/* Container styling */
.custom-tabs {
    border-bottom: 2px solid #e9ecef;
    gap: 1.5rem; /* Space between tabs */
}

    /* Base link styling */
    .custom-tabs .nav-link {
        border: none !important; /* Remove default Bootstrap borders */
        color: #6c757d;
        font-weight: 500;
        padding: 0.75rem 0.25rem;
        background: transparent;
        transition: color 0.2s ease-in-out;
        position: relative;
        font-size: 0.95rem;
    }

        /* Hover effect */
        .custom-tabs .nav-link:hover {
            color: #0d6efd;
            background: transparent;
        }

        /* Active state - The "Professional" look */
        .custom-tabs .nav-link.active {
            color: #0d6efd !important;
            background: transparent !important;
        }

            /* The animated underline for the active tab */
            .custom-tabs .nav-link.active::after {
                content: "";
                position: absolute;
                bottom: -2px; /* Aligns with the container border */
                left: 0;
                width: 100%;
                height: 3px;
                background-color: #0d6efd;
                border-radius: 3px 3px 0 0;
            }

        /* Focus outline cleanup */
        .custom-tabs .nav-link:focus-visible {
            box-shadow: none;
            outline: 2px solid #0d6efd22;
        }

.similar-course-card {
    margin-bottom: 0.5rem;
    padding: 0.75rem;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: transparent;
}

    .similar-course-card:hover {
        background-color: rgba(255, 255, 255, 0.5);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

/* Pathway tags */
.tag-pathway {
    background-color: rgba(40, 167, 69, 0.15); /* 15% opacity green */
    color: #1e7e34; /* darker green text */
    border: 1px solid rgba(40, 167, 69, 0.25); /* 25% opacity border */
}

/* Regular tags */
.tag-regular {
    background-color: rgba(108, 117, 125, 0.15); /* 15% opacity gray */
    color: #5a6268; /* darker gray text */
    border: 1px solid rgba(108, 117, 125, 0.25); /* 25% opacity border */
}

.tag-pathway-red {
    background-color: rgba(220, 53, 69, 0.15); /* 15% opacity red */
    color: #bd2130; /* darker red text */
    border: 1px solid rgba(220, 53, 69, 0.25); /* 25% opacity border */
}