        body {
            background-color: var(--fundo) !important;
            font-family: 'Nunito Sans', sans-serif !important;
            margin: 0;
            padding: 0;
        }

        .card-container {
            background-color: var(--primaria);
            border-radius: 15px;
            padding: 20px;
            margin-right: 30px;
            margin-left: 30px;
            margin-bottom: 10px;
            color: white;
            margin-top: 75px;
        }

        .tertiary-background {
            background-color: var(--terciaria) !important;
            padding: 15px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }

        .profile-pic {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            margin-right: 15px;
            background-color: #ccc;
        }

        .action-button {
            margin-top: 15px;
            background-color: var(--secundaria)
            ;
            padding: 10px;
            border-radius: 10px;
            text-align: center;
            color: white;
            font-size: 14px;
            cursor: pointer;
        }

        .action-button:hover {
            background-color: #3a3a3a;
        }

        .header {
            width: calc(100% - 20px);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px;
            margin-top: 20px;
            background-color: transparent;
            position: absolute;
            top: 0;
            left: 20px;
            right: 20px;
        }

        .header img {
            width: 300px;
        }

        .main-buttons {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            padding-left: 30px;
            padding-right: 30px;
            margin-top: 195px;
        }

        .button-item {
            width: 37%;
            min-height: 220px;
            background-color: var(--secundaria) ;
            border-radius: 15px;
            text-align: center;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            margin: 10px 3px;
        }

        .button-item img {
            width: 40px;
            margin-bottom: 10px;
            display: block;
            margin-left: auto;
            margin-right: auto;
            filter: invert(1);
        }

        .button-item span {
            font-size: 16px;
            font-weight: bold;
            color: white;
        }

        .button-item a {
            text-decoration: none;
            color: white;
        }

        .orange {
            background-color: var(--primaria);
        }

        .hidden {
            display: none;
        }

        .support-button img {
            width: 20px;
            margin-right: 10px;
            filter: invert(1);
        }

        .wave-bottom {
            width: 100%;
            height: 50px;
            background: var(--primaria);
            position: fixed;
            bottom: 0;
        }

        #invalid {
            display: none;
        }

        #loading-screen {
            display: none;
            justify-content: center;
            align-items: center;
            position: fixed;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            background-color: rgba(255, 255, 255, 0.9);
            z-index: 9999;
        }

        .register-button {
            background-color: var(--secundaria);
            color: #ffffff;
            padding: 10px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        .form-container {
            display: none;
            padding: 20px;
            border-radius: 10px;
            max-width: 400px;
            margin-left: auto;
            margin-right: auto;
        }

        .cpf-form label {
            font-size: 16px;
            font-weight: bold;
            display: block;
            margin-bottom: 10px;
            color: #333;
        }

        .cpf-form input[type="text"],
        select {
            width: 100%;
            padding: 10px;
            font-size: 16px;
            border: 1px solid #ccc;
            border-radius: 5px;
            box-sizing: border-box;
            transition: border-color 0.3s ease;
        }

        .dynamic-form input[type="text"],
        select {
            width: 100%;
            max-width: 300px;
            padding: 10px;
            font-size: 16px;
            border: 1px solid #ccc;
            border-radius: 5px;
            box-sizing: border-box;
            transition: border-color 0.3s ease;
        }

        .cpf-form button {
            width: 100%;
            padding: 10px 15px;
            font-size: 16px;
            margin-top: 15px;
            background-color: var(--primaria);
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .cpf-form button:hover {
            background-color: var(--terciaria);
        }

        .cpf-form button:active {
            background-color: var(--terciaria);
        }

        .cpf-form button:disabled {
            background-color: #ccc;
            cursor: not-allowed;
        }

        .form-container h3 {
            font-size: 18px;
            text-align: center;
            margin-bottom: 20px;
            color: white;
        }

        .spinner {
            border: 8px solid #f3f3f3;
            border-top: 8px solid var(--primaria);
            border-radius: 50%;
            width: 60px;
            height: 60px;
            animation: spin 1s linear infinite;
        }

        .dynamic-container {
            display: none;
            width: 95%;
            max-width: 900px;
            margin: 0 auto;
            padding: 20px;
            box-sizing: border-box;
        }

        .dynamic-form {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .field-pair {
            display: flex;
            width: 100%;
            justify-content: space-between;
            align-items: center;
            gap: 10px;
        }

        .field-pair h3 {
            font-size: 16px;
            color: white;
            margin: 0;
            flex-shrink: 0;
        }

        .field-pair input {
            flex-grow: 1;
            padding: 10px;
            font-size: 14px;
            border: 1px solid #ccc;
            border-radius: 5px;
            box-sizing: border-box;
        }

        .check-buttons {
            display: flex;
            justify-content: space-between;
            gap: 10px;
        }

        .check-buttons button:last-child {
            background: white;
            color: #333;
            border: 2px solid #ddd;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        /* Visual refresh - sem alterar lógica */
        * {
            box-sizing: border-box;
        }

        html,
        body {
            width: 100%;
            overflow-x: hidden;
        }

        body {
            min-height: 100vh;
            color: #253041;
            display: flex;
            flex-direction: column;
        }

        .header {
            position: static;
            left: auto;
            right: auto;
            top: auto;
            margin-top: 0;
            padding: 20px 20px 10px;
            width: 100%;
        }

        .header img {
            width: auto;
            max-width: min(260px, 68vw);
            max-height: 74px;
            object-fit: contain;
            opacity: 0;
            transform: translateY(8px);
            transition: opacity .30s ease, transform .30s ease;
        }

        .header img.is-ready {
            opacity: 1;
            transform: translateY(0);
        }

        .main-buttons {
            display: grid;
            grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
            gap: 34px;
            align-items: stretch;
            width: min(1280px, 100%);
            margin: 0 auto;
            padding: 8px 18px 42px;
            min-height: calc(100vh - 120px);
            align-content: center;
        }

        .button-item {
            width: 100%;
            min-height: 680px;
            min-width: 0;
            margin: 0;
            background: transparent;
            border-radius: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transform: translateY(8px);
            transition: opacity .25s ease, transform .25s ease;
        }

        .button-item.is-ready {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .register-button {
            width: min(420px, 100%);
            min-height: 210px;
            display: inline-flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 10px;
            background: linear-gradient(135deg, color-mix(in srgb, var(--primaria) 90%, white 10%), color-mix(in srgb, var(--primaria) 66%, var(--terciaria) 34%));
            color: #fff;
            border: none;
            border-radius: 16px;
            font-size: 24px;
            line-height: 1.15;
            font-weight: 900;
            padding: 18px 22px;
            box-shadow: 0 14px 28px rgba(15, 23, 42, .14);
            animation: pulseCabine 1.1s ease-in-out infinite;
            transform-origin: center center;
        }

        .register-button img {
            width: 52px;
            height: 52px;
            margin: 0;
            filter: brightness(0) invert(1);
        }

        .register-button span {
            font-size: inherit;
            color: #fff;
            font-weight: inherit;
        }

        .form-container,
        .dynamic-container,
        #aferition {
            max-width: none;
            width: 100%;
            margin: 0;
            padding: 14px 2px;
            background: transparent;
            border-radius: 0;
        }

        .form-container h3,
        .field-pair h3 {
            text-align: left;
            color: #1f2937;
            margin: 0 0 12px;
            font-size: 18px;
            font-weight: 800;
        }

        .field-pair {
            display: grid;
            grid-template-columns: 1fr;
            gap: 8px;
            align-items: start;
        }

        .cpf-form input[type="text"],
        .dynamic-form input[type="text"],
        .cpf-form select,
        .dynamic-form select,
        select {
            max-width: none;
            min-height: 52px;
            border-radius: 14px;
            border: 1px solid rgba(15, 23, 42, .10);
            background: var(--campo);
            color: #1d232e;
            padding: 12px 14px;
        }

        .cpf-form button,
        .check-buttons button {
            width: 100%;
            min-height: 50px;
            border-radius: 14px;
            margin-top: 10px;
            font-size: 16px;
            font-weight: 800;
            border: none;
            color: #fff;
            background: linear-gradient(135deg, color-mix(in srgb, var(--primaria) 92%, white 8%), color-mix(in srgb, var(--primaria) 74%, var(--secundaria) 26%));
        }

        .check-buttons {
            display: grid;
            grid-template-columns: 1fr;
            gap: 10px;
        }

        .check-buttons button:last-child {
            background: rgba(17, 24, 39, .10);
            color: #1f2937;
            border: 1px solid rgba(15, 23, 42, .10);
        }

        .desktop-banner {
            position: relative;
            min-height: 560px;
            height: 560px;
            min-width: 0;
            width: min(760px, 100%);
            margin: 0 auto;
            opacity: 0;
            transform: translateY(12px);
            transition: opacity .35s ease, transform .35s ease;
        }

        .desktop-banner.is-ready {
            opacity: 1;
            transform: translateY(0);
        }

        .desktop-banner img {
            width: 100%;
            height: 100%;
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            object-position: center;
            display: block;
        }

        @keyframes pulseCabine {
            0% {
                transform: scale(1);
                box-shadow: 0 14px 28px rgba(15, 23, 42, .14);
            }
            50% {
                transform: scale(1.06);
                box-shadow: 0 18px 36px rgba(15, 23, 42, .22);
            }
            100% {
                transform: scale(1);
                box-shadow: 0 14px 28px rgba(15, 23, 42, .14);
            }
        }

        #console,
        #healthcheck,
        .wave-bottom {
            display: none !important;
        }

        @media (max-width: 1040px) {
            .main-buttons {
                grid-template-columns: 1fr;
                gap: 12px;
                min-height: auto;
            }

            .desktop-banner {
                min-height: 300px;
                height: 300px;
                order: 2;
            }

            .button-item {
                min-height: unset;
                order: 1;
            }
        }

        @media (max-width: 720px) {
            .main-buttons {
                padding: 8px 12px 28px;
            }

            .register-button {
                font-size: 26px;
                min-height: 160px;
            }

            .register-button img {
                width: 38px;
                height: 38px;
            }
        }
