/* ====================================
   Theme Dark Red
   ==================================== */

body.theme-dark-red {
    /* Fonds - Rouge bordeaux/noir avec dégradé */
    --theme-bg-primary: #1a0a0e;
    --theme-bg-secondary: rgba(42, 20, 25, 0.6);

    /* Textes */
    --theme-text-primary: #ffffff;
    --theme-text-secondary: #c8b0b8;

    /* Elements UI */
    --theme-border-color: rgba(211, 95, 141, 0.3);
    --theme-card-bg: rgba(42, 20, 25, 0.6);

    /* Sidebar */
    --theme-sidebar-bg: #0f0507;
    --theme-sidebar-text: #ffffff;
    --theme-sidebar-hover: rgba(255, 255, 255, 0.1);

    /* Accent - Rouge/rose pour contraste */
    --theme-accent: #d35f8d;
    --theme-accent-hover: #b84a73;

    /* Permissions */
    --theme-permission-active: #d35f8d;
    --theme-permission-disabled: rgba(255, 255, 255, 0.3);

    /* Ombres */
    --theme-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    --theme-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.6);

    background: linear-gradient(135deg, #1a0a0e 0%, #2a1419 50%, #3d1f27 100%);
    color: var(--theme-text-primary);
    position: relative;
}

/* Réseau géométrique de l'ancienne version - exactement comme dans la v1 */
body.theme-dark-red::after {
    content: '';
    position: fixed;
    bottom: 0;
    right: 0;
    width: 466.094px;
    height: 346.397px;
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='466.094' height='346.397' viewBox='0 0 466.094 346.397'>    <defs>        <clipPath id='clip-path'>            <rect width='466.094' height='346.397' fill='none'/>        </clipPath>        <clipPath id='clip-path-2'>            <rect id='Rectangle_555' width='473.094' height='400.397' fill='none'/>        </clipPath>    </defs>    <g id='Groupe_défilant_1' clip-path='url(%23clip-path)' style='isolation: isolate'>        <g id='Groupe_82'>            <path id='Tracé_435' d='M406.054,276.984l-24.172,3.682-8.654,19.326' transform='translate(59.213 43.944)' fill='none' stroke='%23d35f8d' stroke-linecap='round' stroke-miterlimit='10' stroke-width='1'/>            <g id='Groupe_79'>                <g id='Groupe_78' clip-path='url(%23clip-path-2)'>                    <path id='Tracé_436' d='M.5,343.589,25.662,329.06l-7.68-11.519L73.72,304.794l21.7-56.949,21.385,12.541,48.53-53.629,29.8,13-5.224-84.346,49.492-17.371L249.821,87.1l33.573-2.923,17.564-27.13,52.351,9.39L377.363,41.4l32.2-1.007L432.313,2.723l33.093,3.1' transform='translate(0.079 0.432)' fill='none' stroke='%23d35f8d' stroke-linecap='round' stroke-miterlimit='10' stroke-width='1'/>                </g>            </g>            <path id='Tracé_437' d='M298.289,310.193l-2.054-16.083,55.565,11.9L341.983,270.1,394.1,290.867l-32.84-78.176,57.011,7.558' transform='translate(46.998 33.743)' fill='none' stroke='%23d35f8d' stroke-linecap='round' stroke-miterlimit='10' stroke-width='1'/>            <path id='Tracé_438' d='M247.342,301.031l12.746-30.592,28.426,30.592' transform='translate(39.241 42.905)' fill='none' stroke='%23d35f8d' stroke-linecap='round' stroke-miterlimit='10' stroke-width='1'/>            <path id='Tracé_439' d='M172.477,302.119l1.39-38.442,56.24,38.427' transform='translate(27.364 41.833)' fill='none' stroke='%23d35f8d' stroke-linecap='round' stroke-miterlimit='10' stroke-width='1'/>            <path id='Tracé_440' d='M64.192,298.82,22.217,284.375l2.221,14.445' transform='translate(3.525 45.116)' fill='none' stroke='%23d35f8d' stroke-linecap='round' stroke-miterlimit='10' stroke-width='1'/>            <path id='Tracé_441' d='M455.161,124.819,399.533,35.236,361.445,85.275l-18.162-24-1.967,80.485L273.368,79.017l-5.106,55.644-38.881-21.78,63.331,63.248L179.889,130.252,237.767,214l-52.654.6L170.6,258.5l-15.3-56.9L122.2,294.317,106.78,255.229l2.8,65.368-45.887-20.96,10.43,38.709' transform='translate(10.105 5.59)' fill='none' stroke='%23d35f8d' stroke-linecap='round' stroke-miterlimit='10' stroke-width='1'/>            <path id='Tracé_442' d='M406.28,43.757,373.186,2.723l33.3,121.365' transform='translate(59.206 0.432)' fill='none' stroke='%23d35f8d' stroke-linecap='round' stroke-miterlimit='10' stroke-width='1'/>            <path id='Tracé_443' d='M417.367,62.655,404.9,72.713,361.52,35.237,375.13,109.4,303.3,141.762l22.254,15,34.579,84.082L417.148,305.3' transform='translate(48.119 5.59)' fill='none' stroke='%23d35f8d' stroke-linecap='round' stroke-miterlimit='10' stroke-width='1'/>            <path id='Tracé_444' d='M405.372,230.728l-27.85,12.066,3.679,45.211' transform='translate(59.894 36.605)' fill='none' stroke='%23d35f8d' stroke-linecap='round' stroke-miterlimit='10' stroke-width='1'/>            <path id='Tracé_445' d='M417.577,122.361,323.431,78.423,303.3,134.91l114.274-10.735' transform='translate(48.119 12.442)' fill='none' stroke='%23d35f8d' stroke-linecap='round' stroke-miterlimit='10' stroke-width='1'/>            <path id='Tracé_446' d='M240.251,121.047l73.054,7.1-48.6,34.367Z' transform='translate(38.116 19.204)' fill='none' stroke='%23d35f8d' stroke-miterlimit='10' stroke-width='1'/>            <path id='Tracé_447' d='M423.8,124.164,366.79,227.632,261.353,162.917l162.45-44.4' transform='translate(41.464 18.802)' fill='none' stroke='%23d35f8d' stroke-linecap='round' stroke-miterlimit='10' stroke-width='1'/>            <path id='Tracé_448' d='M102.576,299.287l4.14-17.764L81.754,299.272' transform='translate(12.97 44.664)' fill='none' stroke='%23d35f8d' stroke-linecap='round' stroke-miterlimit='10' stroke-width='1'/>            <path id='Tracé_449' d='M145.062,302.886,103.3,285.121l12.621-26.279,39.666,44.044' transform='translate(16.388 41.065)' fill='none' stroke='%23d35f8d' stroke-linecap='round' stroke-miterlimit='10' stroke-width='1'/>            <path id='Tracé_450' d='M322.011,189.186l-62.276,33.267,42.291,75.385' transform='translate(41.207 30.015)' fill='none' stroke='%23d35f8d' stroke-miterlimit='10' stroke-width='1'/>            <path id='Tracé_451' d='M447.15,170.332l-20.5-12.388-71.09-17.822-30.442,165.5,65.021-81.42-57.474,35.079-49.838-29.045L227.27,262.161l-44.155,21.118-68.925-5.6,48.4-35.816,20.521,41.417,46.641-85.919,53.07,32.878L249.8,288.606l8.325,33.115' transform='translate(18.116 22.23)' fill='none' stroke='%23d35f8d' stroke-linecap='round' stroke-miterlimit='10' stroke-width='1'/>            <path id='Tracé_452' d='M243.175,280.768l-22.532-26.445,2.485-64.8-67.161,44.5,64.676,20.3' transform='translate(24.744 30.068)' fill='none' stroke='%23d35f8d' stroke-miterlimit='10' stroke-width='1'/>            <path id='Tracé_453' d='M168.488,198.328l17.292-51.764,36.02-8.779' transform='translate(26.731 21.86)' fill='none' stroke='%23d35f8d' stroke-miterlimit='10' stroke-width='1'/>            <path id='Tracé_454' d='M245.575,131.1l47.762-16.255L320.6,57.712l-69.915,17.74-43.987,33.863,9.044,41.174-.658,59.945,54.944-37.87-3.488,131.626,4.869,30.606' transform='translate(32.792 9.156)' fill='none' stroke='%23d35f8d' stroke-linecap='round' stroke-miterlimit='10' stroke-width='1'/>            <path id='Tracé_455' d='M12.8,308.224l10.917-14.445,48.057-24.266,43.086-44.408' transform='translate(2.03 35.713)' fill='none' stroke='%23d35f8d' stroke-linecap='round' stroke-miterlimit='10' stroke-width='1'/>            <path id='Tracé_456' d='M157.185,315.135l19.107-38.428,98.1,7.836,43.9,14.509,45.747-24.012,19.274-57.408,57.013-36.092' transform='translate(24.938 28.801)' fill='none' stroke='%23d35f8d' stroke-linecap='round' stroke-miterlimit='10' stroke-width='1'/>            <g id='Groupe_81'>                <g id='Groupe_80' clip-path='url(%23clip-path-2)'>                    <path id='Tracé_457' d='M303.774,55.223c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(47.932 8.639)' fill='%23d35f8d'/>                    <path id='Tracé_458' d='M279.678,103.014c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(44.109 16.221)' fill='%23d35f8d'/>                    <path id='Tracé_459' d='M243.427,70.68c-4.207,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(38.358 11.091)' fill='%23d35f8d'/>                    <path id='Tracé_460' d='M257.907,46.323c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(40.655 7.227)' fill='%23d35f8d'/>                    <path id='Tracé_461' d='M215.165,72.158c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(33.874 11.325)' fill='%23d35f8d'/>                    <path id='Tracé_462' d='M204.985,98.969c-4.206,3,.45,9.525,4.655,6.522s-.45-9.524-4.655-6.522' transform='translate(32.259 15.579)' fill='%23d35f8d'/>                    <path id='Tracé_463' d='M163.05,114.031c-4.206,3,.45,9.525,4.655,6.522s-.45-9.524-4.655-6.522' transform='translate(25.606 17.969)' fill='%23d35f8d'/>                    <path id='Tracé_464' d='M213.094,133.545c-4.206,3,.45,9.525,4.655,6.522s-.45-9.524-4.655-6.522' transform='translate(33.545 21.065)' fill='%23d35f8d'/>                    <path id='Tracé_465' d='M239.914,116.951c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(37.8 18.432)' fill='%23d35f8d'/>                    <path id='Tracé_466' d='M259.037,153.862c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(40.834 24.288)' fill='%23d35f8d'/>                    <path id='Tracé_467' d='M299.932,124.247c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(47.322 19.589)' fill='%23d35f8d'/>                    <path id='Tracé_468' d='M181.452,143.384c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(28.525 22.625)' fill='%23d35f8d'/>                    <path id='Tracé_469' d='M166.4,185.993c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(26.138 29.385)' fill='%23d35f8d'/>                    <path id='Tracé_470' d='M211.549,187.334c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(33.3 29.598)' fill='%23d35f8d'/>                    <path id='Tracé_471' d='M258.454,216.737c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(40.742 34.263)' fill='%23d35f8d'/>                    <path id='Tracé_472' d='M210.887,241.767c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(33.195 38.234)' fill='%23d35f8d'/>                    <path id='Tracé_473' d='M186.005,234.884c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(29.248 37.142)' fill='%23d35f8d'/>                    <path id='Tracé_474' d='M154.772,224.461c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(24.292 35.488)' fill='%23d35f8d'/>                    <path id='Tracé_475' d='M141.522,176.135c-4.207,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(22.19 27.821)' fill='%23d35f8d'/>                    <path id='Tracé_476' d='M112.952,255.161c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(17.658 40.359)' fill='%23d35f8d'/>                    <path id='Tracé_477' d='M97.888,222.151c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(15.268 35.122)' fill='%23d35f8d'/>                    <path id='Tracé_478' d='M80.645,211.09c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(12.532 33.367)' fill='%23d35f8d'/>                    <path id='Tracé_479' d='M62.458,260.612c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(9.647 41.224)' fill='%23d35f8d'/>                    <path id='Tracé_480' d='M101.366,280c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(15.82 44.3)' fill='%23d35f8d'/>                    <path id='Tracé_481' d='M172.086,261.814c-4.206,3,.45,9.525,4.655,6.522s-.45-9.524-4.655-6.522' transform='translate(27.039 41.414)' fill='%23d35f8d'/>                    <path id='Tracé_482' d='M229.251,266.9c-4.206,3,.45,9.525,4.655,6.522s-.45-9.524-4.655-6.522' transform='translate(36.109 42.221)' fill='%23d35f8d'/>                    <path id='Tracé_483' d='M257.07,269.561c-4.206,3,.45,9.525,4.655,6.522s-.45-9.524-4.655-6.522' transform='translate(40.522 42.644)' fill='%23ba1818'/>                    <path id='Tracé_484' d='M294.9,279.1c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(46.523 44.157)' fill='%23d35f8d'/>                    <path id='Tracé_485' d='M15.016,271.531c-4.206,3,.45,9.525,4.657,6.523s-.451-9.525-4.657-6.523' transform='translate(2.12 42.956)' fill='%23d35f8d'/>                    <path id='Tracé_486' d='M342.409,290.523c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(54.061 45.969)' fill='%23d35f8d'/>                    <path id='Tracé_487' d='M334.863,259.5c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(52.864 41.047)' fill='%23d35f8d'/>                    <path id='Tracé_488' d='M301.9,240.108c-4.206,3,.45,9.525,4.655,6.522s-.45-9.524-4.655-6.522' transform='translate(47.635 37.971)' fill='%23d35f8d'/>                    <path id='Tracé_489' d='M349.994,210.455c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(55.264 33.266)' fill='%23d35f8d'/>                    <path id='Tracé_490' d='M376.92,239.249c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(59.536 37.835)' fill='%23ba1818'/>                    <path id='Tracé_491' d='M379.279,277.079c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(59.911 43.836)' fill='%23d35f8d'/>                    <path id='Tracé_492' d='M311.49,185.679c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(49.156 29.336)' fill='%23ba1818'/>                    <path id='Tracé_493' d='M320.55,138.847c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(50.593 21.906)' fill='%23d35f8d'/>                    <path id='Tracé_494' d='M363.017,95.363c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(57.331 15.007)' fill='%23d35f8d'/>                    <path id='Tracé_495' d='M319.687,75.731c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(50.456 11.892)' fill='%23d35f8d'/>                    <path id='Tracé_496' d='M323.681,32.516c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(51.09 5.036)' fill='%23d35f8d'/>                    <path id='Tracé_497' d='M351.42,32.686c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(55.491 5.063)' fill='%23d35f8d'/>                    <path id='Tracé_498' d='M388.877,63.733c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(61.433 9.989)' fill='%23d35f8d'/>                    <path id='Tracé_499' d='M371.129.772c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(58.618 0)' fill='%23d35f8d'/>                    <path id='Tracé_500' d='M381.933,152.817c-4.206,3,.45,9.525,4.655,6.523s-.45-9.525-4.655-6.523' transform='translate(60.332 24.122)' fill='%23d35f8d'/>                </g>            </g>        </g>    </g></svg>");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom right;
    pointer-events: none;
    z-index: 1;
    opacity: 0.75;
}

body.theme-dark-red .home-main {
    position: relative;
    z-index: 2;
}

body.theme-dark-red .card,
body.theme-dark-red .glass-card {
    background-color: var(--theme-card-bg);
    border-color: var(--theme-border-color);
    box-shadow: var(--theme-shadow);
    backdrop-filter: blur(10px);
}

/* Quick Access Cards - Style pill comme sidebar (fond semi-transparent, bordure) */
body.theme-dark-red .quick-access-card {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px !important;
    transition: all 0.2s ease;
}

body.theme-dark-red .quick-access-card:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

body.theme-dark-red .quick-access-card h3,
body.theme-dark-red .quick-access-card i,
body.theme-dark-red .quick-access-card small {
    color: #ffffff !important;
}

body.theme-dark-red .quick-access-card-compact h3 {
    font-size: 0.75rem !important;
}

body.theme-dark-red .quick-access-card-compact i,
body.theme-dark-red .quick-access-card-compact span {
    font-size: 1.1rem !important;
}

/* État sélectionné pour les radio buttons dans les settings */
body.theme-dark-red input.btn-check:checked + label.quick-access-card,
body.theme-dark-red .btn-check:checked + .quick-access-card {
    border: 3px solid #d35f8d !important;
    background: rgba(211, 95, 141, 0.25) !important;
    box-shadow:
        0 0 0 5px rgba(211, 95, 141, 0.3),
        0 6px 16px rgba(211, 95, 141, 0.4) !important;
    transform: translateY(-3px) !important;
}

body.theme-dark-red input.btn-check:checked + label.quick-access-card h3,
body.theme-dark-red .btn-check:checked + .quick-access-card h3 {
    font-size: 0.75rem !important;
}

body.theme-dark-red input.btn-check:checked + label.quick-access-card i,
body.theme-dark-red input.btn-check:checked + label.quick-access-card span,
body.theme-dark-red .btn-check:checked + .quick-access-card i,
body.theme-dark-red .btn-check:checked + .quick-access-card span {
    font-size: 1.1rem !important;
}

/* Lien Retour vers MyCFi - Style pill comme sidebar (seulement dans le header) */
body.theme-dark-red .home-header .btn-link {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

body.theme-dark-red .home-header .btn-link:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

body.theme-dark-red .sidebar {
    background-color: var(--theme-sidebar-bg);
    color: var(--theme-sidebar-text);
}

body.theme-dark-red .btn-primary {
    background-color: var(--theme-accent);
    border-color: var(--theme-accent);
}

body.theme-dark-red .btn-primary:hover {
    background-color: var(--theme-accent-hover);
}

/* Texte "Bonjour NAME, Comment..." - Blanc sauf le nom (rouge) */
body.theme-dark-red .text-primary {
    color: #ffffff !important;
}

body.theme-dark-red input,
body.theme-dark-red textarea,
body.theme-dark-red select {
    background-color: var(--theme-bg-secondary);
    color: var(--theme-text-primary);
    border-color: var(--theme-border-color);
}

body.theme-dark-red input:focus,
body.theme-dark-red textarea:focus,
body.theme-dark-red select:focus {
    background-color: var(--theme-card-bg);
    border-color: var(--theme-accent);
}

/* ====================================
   Marketing Module - Form Overrides
   ==================================== */

/* Progress Bar */
body.theme-dark-red .progress {
    background-color: rgba(42, 20, 25, 0.4);
    border: 1px solid var(--theme-border-color);
}

body.theme-dark-red .progress-bar {
    background-color: var(--theme-accent);
}

/* Badges */
body.theme-dark-red .badge.bg-primary {
    background-color: var(--theme-accent) !important;
    color: #ffffff;
}

body.theme-dark-red .badge.bg-secondary {
    background-color: var(--theme-bg-secondary) !important;
    color: var(--theme-text-secondary);
    border: 1px solid var(--theme-border-color);
}

body.theme-dark-red .badge.bg-success {
    background-color: #4caf50 !important;
    color: #ffffff;
}

body.theme-dark-red .badge.bg-warning {
    background-color: #ff9800 !important;
    color: #000000;
}

body.theme-dark-red .badge.bg-info {
    background-color: #5fa8d3 !important;
    color: #ffffff;
}

body.theme-dark-red .badge.bg-danger {
    background-color: var(--theme-accent) !important;
    color: #ffffff;
}

/* Alerts and Cards - Contextual Backgrounds */
body.theme-dark-red .alert.alert-success,
body.theme-dark-red .card.bg-success {
    background-color: rgba(76, 175, 80, 0.2) !important;
    border-color: #4caf50;
    color: var(--theme-text-primary);
}

body.theme-dark-red .alert.alert-warning,
body.theme-dark-red .card.bg-warning {
    background-color: rgba(255, 152, 0, 0.2) !important;
    border-color: #ff9800;
    color: var(--theme-text-primary);
}

body.theme-dark-red .alert.alert-info,
body.theme-dark-red .card.bg-info {
    background-color: rgba(95, 168, 211, 0.2) !important;
    border-color: #5fa8d3;
    color: var(--theme-text-primary);
}

body.theme-dark-red .alert.alert-danger,
body.theme-dark-red .card.bg-danger {
    background-color: rgba(211, 95, 141, 0.2) !important;
    border-color: var(--theme-accent);
    color: var(--theme-text-primary);
}

/* Progress Bar Variants */
body.theme-dark-red .progress-bar.bg-success {
    background-color: #4caf50 !important;
}

body.theme-dark-red .progress-bar.bg-warning {
    background-color: #ff9800 !important;
}

body.theme-dark-red .progress-bar.bg-danger {
    background-color: var(--theme-accent) !important;
}

/* Card Header */
body.theme-dark-red .card-header {
    background-color: var(--theme-accent);
    color: #ffffff;
    border-bottom: 1px solid var(--theme-border-color);
}

body.theme-dark-red .card-header.bg-primary {
    background-color: var(--theme-accent) !important;
    color: #ffffff !important;
}

/* Breadcrumb */
body.theme-dark-red .breadcrumb {
    background-color: transparent;
}

body.theme-dark-red .breadcrumb-item a {
    color: var(--theme-accent);
}

body.theme-dark-red .breadcrumb-item.active {
    color: var(--theme-text-primary);
}

body.theme-dark-red .breadcrumb-item + .breadcrumb-item::before {
    color: var(--theme-text-secondary);
}

/* Border Utilities */
body.theme-dark-red .border-bottom {
    border-bottom-color: var(--theme-border-color) !important;
}

/* Step Circles */
body.theme-dark-red .bg-primary.rounded-circle {
    background-color: var(--theme-accent) !important;
    color: #ffffff !important;
}

body.theme-dark-red .bg-secondary.rounded-circle {
    background-color: var(--theme-bg-secondary) !important;
    color: var(--theme-text-secondary) !important;
    border: 1px solid var(--theme-border-color);
}

/* Text Colors for Steps and Headings */
body.theme-dark-red h1,
body.theme-dark-red h2,
body.theme-dark-red h5,
body.theme-dark-red h6 {
    color: var(--theme-text-primary);
}

body.theme-dark-red h6.text-primary,
body.theme-dark-red h5 .text-primary,
body.theme-dark-red h6.fw-bold {
    color: var(--theme-accent) !important;
}

body.theme-dark-red .text-muted,
body.theme-dark-red .small.text-muted,
body.theme-dark-red p.small.text-muted {
    color: var(--theme-text-secondary) !important;
}

body.theme-dark-red .fw-bold {
    color: var(--theme-text-primary);
}

/* Buttons */
body.theme-dark-red .btn-outline-secondary {
    color: var(--theme-text-primary);
    border-color: var(--theme-border-color);
}

body.theme-dark-red .btn-outline-secondary:hover {
    background-color: var(--theme-bg-secondary);
    border-color: var(--theme-accent);
    color: var(--theme-text-primary);
}

/* Icons */
body.theme-dark-red .text-success,
body.theme-dark-red i.text-success,
body.theme-dark-red .bi.text-success {
    color: #4caf50 !important;
}

body.theme-dark-red .text-warning,
body.theme-dark-red i.text-warning,
body.theme-dark-red .bi.text-warning {
    color: #ff9800 !important;
}

body.theme-dark-red .text-danger,
body.theme-dark-red i.text-danger,
body.theme-dark-red .bi.text-danger {
    color: var(--theme-accent) !important;
}

body.theme-dark-red i.text-primary,
body.theme-dark-red .bi.text-primary {
    color: var(--theme-accent) !important;
}

/* Form Elements - Labels and Help Text */
body.theme-dark-red .form-label,
body.theme-dark-red label {
    color: var(--theme-text-primary) !important;
}

body.theme-dark-red .form-text,
body.theme-dark-red .invalid-feedback,
body.theme-dark-red .valid-feedback {
    color: var(--theme-text-secondary) !important;
}

/* Form Controls - Text Input */
body.theme-dark-red .form-control,
body.theme-dark-red .form-select,
body.theme-dark-red input[type='text'],
body.theme-dark-red input[type='number'],
body.theme-dark-red textarea,
body.theme-dark-red select {
    color: var(--theme-text-primary) !important;
}

body.theme-dark-red .form-control::placeholder {
    color: var(--theme-text-secondary) !important;
    opacity: 0.7;
}

/* Small text descriptions */
body.theme-dark-red small {
    color: var(--theme-text-secondary);
}

/* Paragraphs in cards */
body.theme-dark-red .card-body p {
    color: var(--theme-text-secondary);
}
