* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #e8f0f8 100%);
            min-height: 100vh;
            padding: 20px;
            transition: all 0.3s ease;
        }

        body.high-contrast {
            background: #000;
            color: #fff;
        }

        body.large-text {
            font-size: 120%;
        }

        .container {
            max-width: 900px;
            margin: 0 auto;
            background: white;
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }

        body.high-contrast .container {
            background: #1a1a1a;
            border: 2px solid #fff;
        }

        .header {
			background: linear-gradient(135deg, #3485d3 0%, #2e59c4 100%);
            color: white;
			padding: 15px 30px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }
		
		.logo-container {
			flex-direction: column;
			gap: 0px;
		}

		.logo-left {
			justify-content: flex-start;  /* Alinha à ESQUERDA */
		}

		.logo-center {
			justify-content: center;      /* Alinha ao CENTRO */
		}

		.logo-right {
			justify-content: flex-end;    /* Alinha à DIREITA */
		}

        .logo-contratante {
            max-width: 200px;
            max-height: 50px;
            height: auto;
        }
		.logo-sistema {
            max-width: 80px;
            max-height: 40px;
            height: auto;
            position: absolute;
            left: 30px;
        }

        .header h1 {
            font-size: 2.5em;
            margin-bottom: 10px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
        }

        .header p {
            font-size: 1.1em;
            opacity: 0.95;
        }
	       .accessibility-bar {
            position: fixed !important;
            top: 40% !important;
            transform: translateY(-50%) !important;
            right: -2px;
            z-index: 2000;
            display: flex;
            gap: 10px;
            align-items: flex-start;
        }

        .accessibility-toggle {
            background: transparent;
            color: #64748b;
            border: none;
            padding: 0;
            width: 64px;
            height: 64px;
            cursor: pointer;
            font-weight: 600;
            font-size: 2.5em;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .accessibility-toggle:hover {
            transform: scale(1.1);
            color: #f97316;
        }

        /* Criar uma área invisível que conecta o botão ao menu */
        .accessibility-bar::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 64px;
            height: 140px;
            pointer-events: auto;
        }

        .accessibility-menu {
            position: absolute;
            top: 75px;
            right: 0;
            background: white;
            border-radius: 15px;
            padding: 15px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            gap: 10px;
            min-width: 220px;
            pointer-events: none;
        }

        .accessibility-bar:hover .accessibility-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            pointer-events: auto;
        }

        body.high-contrast .accessibility-menu {
            background: #1a1a1a;
            border: 2px solid #fff;
        }

        .accessibility-btn {
            background: #f5f5f5;
            color: #333;
            border: none;
            padding: 12px 16px;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            font-size: 0.9em;
            text-align: left;
            width: 100%;
        }

        .accessibility-btn:hover {
            background: #f97316;
            color: white;
            transform: translateX(5px);
        }

        body.high-contrast .accessibility-btn {
            background: #2a2a2a;
            color: #fff;
            border: 1px solid #fff;
        }

        body.high-contrast .accessibility-btn:hover {
            background: #f97316;
        }



        .content {
            padding: 40px 30px;
        }
        .medicine-info-card {
            background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
            border-radius: 20px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
            border: 2px solid #e2e8f0;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        body.high-contrast .medicine-info-card {
            background: #2a2a2a;
            border: 2px solid #fff;
        }

        .medicine-header {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 25px;
            padding-bottom: 20px;
            border-bottom: 2px solid #e2e8f0;
        }

        body.high-contrast .medicine-header {
            border-bottom-color: #555;
        }

        .medicine-icon {
            font-size: 3.5em;
            background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
            width: 80px;
            height: 80px;
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
        }

        .medicine-title h2 {
            color: #1e40af;
            font-size: 1.8em;
            margin: 0 0 5px 0;
            font-weight: 700;
        }

        body.high-contrast .medicine-title h2 {
            color: #fff;
        }

        .medicine-subtitle {
            color: #64748b;
            font-size: 1.1em;
            margin: 0;
            font-weight: 500;
        }

        body.high-contrast .medicine-subtitle {
            color: #ccc;
        }

        .medicine-details {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 20px;
        }

        .detail-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 15px;
            background: white;
            border-radius: 10px;
            border-left: 4px solid #2563eb;
        }

        body.high-contrast .detail-item {
            background: #1a1a1a;
            border-left-color: #fff;
        }

        .detail-label {
            font-weight: 600;
            color: #475569;
            font-size: 0.95em;
        }

        body.high-contrast .detail-label {
            color: #ccc;
        }

        .detail-value {
            color: #1e293b;
            font-weight: 500;
            text-align: right;
        }

        body.high-contrast .detail-value {
            color: #fff;
        }

        .medicine-warning {
            background: #fef3c7;
            border-left: 4px solid #f59e0b;
            padding: 15px;
            border-radius: 10px;
            color: #92400e;
            font-size: 0.9em;
            line-height: 1.5;
        }
		.medicine-info {
            background: #96cdf2;
            border-left: 4px solid #004ce3;
            padding: 15px;
            border-radius: 10px;
            color: #000000;
            font-size: 0.9em;
            line-height: 1.5;
        }
		.medicine-success {
            background: #5cb85c;
            border-left: 4px solid #3a8001;
            padding: 15px;
            border-radius: 10px;
            color: #000000;
            font-size: 0.9em;
            line-height: 1.5;
        }

        body.high-contrast .medicine-warning {
            background: #3a3a00;
            border-left-color: #fbbf24;
            color: #fef3c7;
        }

        .menu-grid {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-bottom: 40px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .menu-card {
            background: white;
            border: none;
            border-radius: 15px;
            padding: 20px 30px;
            display: flex;
            align-items: center;
            gap: 20px;
            text-align: left;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        body.high-contrast .menu-card {
            background: #2a2a2a;
            border: 2px solid #fff;
        }

        .menu-card:hover {
            transform: translateX(10px);
            box-shadow: 0 6px 20px rgba(37, 99, 235, 0.2);
        }

        .menu-card.orange:hover {
            box-shadow: 0 6px 20px rgba(249, 115, 22, 0.2);
        }

        .icon {
            font-size: 2.5em;
            min-width: 60px;
            text-align: center;
            flex-shrink: 0;
        }

        .icon img {
            width: 50px;
            height: 50px;
            object-fit: contain;
        }
		
		.icon-80 img {
            width: 60px;
            height: 60px;
            object-fit: contain;
        }

		.icon-100 img {
            width: 100px;
            height: 100px;
            object-fit: contain;
			font-size: 2.5em;
            min-width: 60px;
            text-align: center;
            flex-shrink: 0;
        }
		
        .menu-card-content {
            flex: 1;
        }

        .menu-card h3 {
            color: #1e40af;
            margin-bottom: 5px;
            font-size: 1.1em;
            font-weight: 700;
        }

        body.high-contrast .menu-card h3 {
            color: #fff;
        }

        .menu-card.orange h3 {
            color: #f97316;
        }

        .menu-card p {
            color: #64748b;
            font-size: 0.85em;
            line-height: 1.4;
            margin: 0;
        }
        .menu-card-split {
            display: flex;
            gap: 0;
            padding: 0;
        }
        .menu-card-half {
            flex: 1;
            padding: 2px 25px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            border-radius: 50px;
        }

        .menu-card-half:first-child {
            border-right: 2px solid #e2e8f0;
            border-radius: 50px 0 0 50px;
        }

        .menu-card-half:last-child {
            border-radius: 0 50px 50px 0;
        }

        .menu-card-half:hover {
            background: #f8fafc;
            transform: scale(1.02);
        }
        body.high-contrast .menu-card p {
            color: #ccc;
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 1000;
            justify-content: center;
            align-items: center;
            padding: 5px;
        }

        .modal.active {
            display: flex;
        }

        .modal-content {
            background: white;
            border-radius: 15px;
            padding: 40px;
            max-width: 800px;
            width: 100%;
            max-height: 95vh;
            overflow-y: auto;
            position: relative;
        }

        body.high-contrast .modal-content {
            background: #1a1a1a;
            border: 2px solid #fff;
        }

        .close-btn {
            position: absolute;
            top: 12px;
            right: 12px;
            background: #f97316;
            color: white;
            border: none;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.7em;
            font-weight: bold;
            transition: all 0.3s ease;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            padding-top: -2px;
            line-height: 1;
            text-align: center;
        }

        .close-btn:hover {
            background: #ea580c;
            transform: rotate(90deg);
        }
		
        .modal-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 25px;
            border-bottom: 2px solid #e2e8f0;
        }

        .tab-btn {
            background: none;
            border: none;
            padding: 12px 24px;
            cursor: pointer;
            font-weight: 600;
            font-size: 1em;
            color: #64748b;
            border-bottom: 3px solid transparent;
            transition: all 0.3s ease;
        }

        .tab-btn:hover {
            color: #2563eb;
        }

        .tab-btn.active {
            color: #2563eb;
            border-bottom-color: #2563eb;
        }
        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }

        .footer {
            background: #2d58c5;
            color: white;
            text-align: center;
            padding: 25px 30px;
            font-size: 0.9em;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 15px;
            position: relative;
        }

        .footer-logos {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            position: relative;
            min-height: 50px;
        }

        .footer-logo-left {
            max-width: 120px;
            max-height: 50px;
            height: auto;
            position: absolute;
            left: 0;
        }

        .footer-logo-center {
            max-width: 150px;
            max-height: 60px;
            height: auto;
        }

        .footer-logo-right {
            max-width: 120px;
            max-height: 50px;
            height: auto;
            position: absolute;
            right: 0;
        }

        .footer-text {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        body.high-contrast .footer {
            background: #000;
            border-top: 2px solid #fff;
        }

        @media (max-width: 768px) {
            .accessibility-bar {
                top: 45% !important;
                transform: translateY(-50%) !important;
                right: -2px;
                flex-direction: column;
                gap: 10px;
            }

            .accessibility-toggle {
                width: 56px;
                height: 56px;
                font-size: 2.2em;
            }

            .accessibility-menu {
                right: 0;
                min-width: 200px;
                top: auto;
                bottom: calc(100% + 10px);
            }

            .header h1 {
                font-size: 1.8em;
            }

            .menu-grid {
                max-width: 100%;
            }

            .menu-card {
                padding: 15px 20px;
            }

            .icon {
                font-size: 2em;
                min-width: 50px;
            }

            .menu-card h3 {
                font-size: 1em;
            }

            .content {
                padding: 30px 20px;
            }

            .footer {
                padding: 20px 15px;
            }

            .footer-logos {
                flex-direction: column;
                gap: 10px;
                position: static;
            }

            .footer-logo-left,
            .footer-logo-center,
            .footer-logo-right {
                position: static;
                max-width: 100px;
                max-height: 40px;
            }
			
            .medicine-info-card {
                padding: 20px;
                margin-bottom: 25px;
            }

            .medicine-header {
                flex-direction: column;
                text-align: center;
                gap: 15px;
            }

            .medicine-icon {
                width: 70px;
                height: 70px;
                font-size: 3em;
            }

            .medicine-title h2 {
                font-size: 1.4em;
            }

            .medicine-subtitle {
                font-size: 1em;
            }

            .detail-item {
                flex-direction: column;
                gap: 5px;
                text-align: center;
                padding: 12px;
            }

            .detail-label,
            .detail-value {
                text-align: center;
            }

            .medicine-warning {
                font-size: 0.85em;
                padding: 12px;
            }
        }
		
		@media (max-width: 430px) {
            .accessibility-bar {
                top: 40% !important;
                transform: translateY(-50%) !important;
                right: -2px;
                flex-direction: column;
                gap: 10px;
            }

            .accessibility-toggle {
                width: 56px;
                height: 56px;
                font-size: 2.2em;
            }

            .accessibility-menu {
                right: 0;
                min-width: 200px;
                top: auto;
                bottom: calc(100% + 10px);
            }

            .header h1 {
                font-size: 1.8em;
            }

            .menu-grid {
                max-width: 100%;
            }

            .menu-card {
                padding: 15px 20px;
            }

            .icon {
                font-size: 2em;
                min-width: 50px;
            }

            .menu-card h3 {
                font-size: 1em;
            }

            .content {
                padding: 30px 20px;
            }

            .footer {
                padding: 20px 15px;
            }

            .footer-logos {
                flex-direction: column;
                gap: 10px;
                position: static;
            }

            .footer-logo-left,
            .footer-logo-center,
            .footer-logo-right {
                position: static;
                max-width: 100px;
                max-height: 40px;
            }
			
            .medicine-info-card {
                padding: 20px;
                margin-bottom: 25px;
            }

            .medicine-header {
                flex-direction: column;
                text-align: center;
                gap: 15px;
            }

            .medicine-icon {
                width: 70px;
                height: 70px;
                font-size: 3em;
            }

            .medicine-title h2 {
                font-size: 1.4em;
            }

            .medicine-subtitle {
                font-size: 1em;
            }

            .detail-item {
                flex-direction: column;
                gap: 5px;
                text-align: center;
                padding: 12px;
            }

            .detail-label,
            .detail-value {
                text-align: center;
            }

            .medicine-warning {
                font-size: 0.85em;
                padding: 12px;
            }
        }