        :root {
            --text-size: 0.65rem;
            --line-height: 1.5;
            /* --font-family: Arial, sans-serif;
            --bg-color: #ffffff;
            --text-color: #333333;
            --primary-color: #0066cc; */
        }

        
        body {
            font-family: var(--font-family);
            font-size: var(--text-size);
            line-height: var(--line-height);
            /* color: var(--text-color);
            background-color: var(--bg-color);
            margin: 0;
            padding: 20px; */
            transition: all 0.3s ease;
        }
        

        .accesibilitate-btn {
            position: fixed;
            top: 10px;
            right: 20px;
            background: var(--primary-color);
            color: white;
            border: none;
            border-radius: 50%;
            width: 45px;
            height: 45px;

            cursor: pointer;
            z-index: 1000;
        }
        
        /* Dialog Styles */
        .accesibilitate-dialog {
            display: none;
            position: fixed;
            top: 70px;
            right: 20px;
            margin-left:auto;
            width: 300px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.15);
            padding: 20px;
            z-index: 1000;
        }
        
        .accesibilitate-dialog h2 {
            margin-top: 0;
            font-size: 1.2rem;
        }
        
        .accesibilitate-option {
            margin-bottom: 15px;
        }
        
        .accesibilitate-option h3 {
            margin-bottom: 8px;
            font-size: 1rem;
        }
        
        .btn-group {
            display: flex;
            gap: 8px;
        }
        
        button:not(.accesibilitate-btn) {
            padding: 8px 12px;
            border: 1px solid #ddd;
            background: #f5f5f5;
            border-radius: 4px;
            cursor: pointer;

        }

        
        
        /* accesibilitate States */
        .large-text {
            --text-size: 1.2rem;
        }
        
        .high-contrast {
            --bg-color: #000000;
            --text-color: #ffffff;
        }
        
        .dark-mode {
            --bg-color: #222222;
            --text-color: #f0f0f0;
        }
        
        .light-mode {
            --bg-color: #ffffff;
            --text-color: #333333;
        }
        
        .increasedSpacing {
            --line-height: 2;
            letter-spacing: 0.5px;
            word-spacing: 2px;
        }


        body.duo-mode img:not(#header_img, #stanga_img) {
            filter: grayscale(1) contrast(1.5) brightness(1);
            /* mix-blend-mode: multiply; */
        }



    body.duo-mode { 
        background-color: #eaeaea;
    }

    body.dark-mode { 
        background-color: #151515;
        color: #FFFFFF;
    }


    body.dark-mode div#content, body.dark-mode div#left, body.dark-mode div#right, body.dark-mode p, body.dark-mode h4.grey { 
        color: #FFFFFF;
    }

    body.dark-mode h4.home{
        color: #7fc5f3;
    }

    body.dark-mode div#mainContent a {
        color: #3ea1e3;

    }
    

    body.duo-mode #container {
        background: url(img/bkg_container_bw.jpg) repeat-y;
    }

    body.dark-mode #container {
        background: url(img/bkg_container_dk.jpg) repeat-y;
    }

    body.duo-mode #header { 
	    background:url(img/header_ocpitimis_bw.jpg) 0 0 no-repeat;
    }

    body.dark-mode #header { 
	    background:url(img/header_ocpitimis_dk.jpg) 0 0 no-repeat;
    }

    body.duo-mode #stanga { 
	    background:url(img/header_sigla_bw.jpg) 0 0 no-repeat;
    }

    body.dark-mode #stanga { 
	    background:url(img/header_sigla_dk.jpg) 0 0 no-repeat;
    }


    body.duo-mode ul .sub {
        background: url(img/img/bkg_submeniu_bw.jpg) repeat-y;
    }

    body.dark-mode ul .sub {
        background: url(img/img/bkg_submeniu_dk.jpg) repeat-y;
    }

    body.duo-mode #footer {
        background: url(img/bkg_jos_bw.jpg) repeat-y;
    }

    body.dark-mode #footer {
        background: url(img/bkg_jos_dk.jpg) repeat-y;
    }

    body.duo-mode * {
        color: #000000;
    }



    body.duo-mode a:link, body.duo-mode a:visited, body.duo-mode a:hover, body.duo-mode a:active     {
        color: #000000;
    }

    body.dark-mode a:link, body.dark-mode a:visited, body.dark-mode a:hover, body.dark-mode a:active     {
        color: #FFFFFF;
    }


    body.duo-mode div#mainContent div.servicii_online  {
        background: #000000;
        color: #ffffff;
    }


    body.dark-mode div#mainContent div.servicii_online  {
        background: #eaeaea;
    }


    body.duo-mode div#mainContent div.servicii_online img {
        filter:  invert(1);
        mix-blend-mode:normal;
    
    }

    body.duo-mode div#mainContent div.servicii_online strong, 
    body.duo-mode div#mainContent div.servicii_online a {
        color: #ffffff;
    }

    body.duo-mode #meniu h3{
        color:#FF3300;
    }

    body.dark-mode #meniu h3{
        color:#FFD840;
    }


    body.links a:any-link {
        text-decoration: underline;
    }
