        :root {
            --black: #030304;
            --red: #ED151D;
            --gray-dark: #333334;
            --white: #FFFFFF;
            --gray-light: #f5f5f5;
            --border-radius: 16px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        body {
            background-color: var(--gray-light);
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            padding: 20px;
        }

        .login-card {
            display: flex;
            width: 100%;
            max-width: 1000px;
            background-color: var(--white);
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
            padding: 10px;
        }

        .info-panel {
            flex: 1.2;
            position: relative;
            background-color: var(--black);
            border-radius: var(--border-radius) 0 0 var(--border-radius);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 30px;
            text-align: center;
            overflow: hidden;
            background-image: url('../Static/images/registerbackgroud.jpg');
            background-size: cover;
            background-position: center;
        }

        .info-card {
            position: absolute;
            width: calc(100% - 60px);
            height: calc(100% - 60px);
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            color: var(--white);
            opacity: 0;
            transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
            transform: translateY(20px);
            padding: 20px;
            box-sizing: border-box;
            text-align: left;
            z-index: 2;
        }

        .info-card.active {
            opacity: 1;
            position: relative;
            transform: translateY(0);
        }

        .info-card h3 {
            font-size: 38px;
            font-weight: 700;
            margin-bottom: 10px;
            line-height: 1.1;
            color: var(--white);
        }

        .info-card .highlight {
            color: var(--red);
        }

        .info-card .highlight2 {
            font-weight: 600;
        }

        .info-card p {
            font-size: 18px;
            margin-bottom: 25px;
            line-height: 1.5;
            max-width: 90%;
            color: #ccc;
            font-weight: 300;
        }

        .info-card ul {
            list-style: none;
            padding: 0;
            margin: 0;
            text-align: left;
            max-width: 300px;
        }

        .info-card ul li {
            font-size: 16px;
            margin-bottom: 12px;
            display: flex;
            align-items: flex-start;
            gap: 10px;
            color: #e0e0e0;
            font-weight: 400;
        }

        .info-card ul li:last-child {
            margin-bottom: 0;
        }

        .info-card ul li i {
            color: var(--red);
            font-size: 18px;
            margin-top: 2px;
        }

        .form-panel {
            flex: 1;
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .brand {
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 15px;
            text-align: center;
        }

        .brand img {
            height: 45px;
            width: auto;
        }

        .welcome-title {
            color: var(--black);
            font-size: 28px;
            font-weight: 600;
            margin-bottom: 8px;
            text-align: center;
        }

        .welcome-subtitle {
            color: var(--gray-dark);
            font-size: 14px;
            margin-bottom: 30px;
            text-align: center;
        }

        .step-indicator {
            text-align: center;
            font-size: 12px;
            color: var(--gray-dark);
            margin-bottom: 15px;
            font-weight: 500;
        }

        .form-group {
            margin-bottom: 20px;
            position: relative;
        }

        .form-input {
            width: 100%;
            padding: 15px;
            border: 1px solid #e1e1e1;
            border-radius: 8px;
            font-size: 14px;
            transition: all 0.3s ease;
        }

        .form-input:focus {
            border-color: var(--red);
            outline: none;
            box-shadow: 0 0 0 2px rgba(237, 21, 29, 0.1);
        }

        .action-button {
            width: 100%;
            padding: 15px;
            background-color: var(--red);
            color: var(--white);
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .action-button:hover {
            background-color: #d0121a;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(237, 21, 29, 0.3);
        }

        .action-button:disabled {
            background-color: #ccc;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        .login-text {
            text-align: center;
            color: var(--gray-dark);
            font-size: 14px;
            margin-top: 25px;
        }

        .login-text a {
            color: var(--red);
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .login-text a:hover {
            text-decoration: underline;
        }

        .error-message {
            color: var(--red);
            font-size: 12px;
            margin-top: 5px;
            display: none;
        }

        /* Modal for messages */
        .modal {
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            display: none;
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            background-color: #fff;
            padding: 30px;
            border-radius: var(--border-radius);
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            max-width: 400px;
            width: 90%;
            transform: scale(0.95);
            opacity: 0;
            transition: all 0.3s ease-in-out;
        }

        .modal.active .modal-content {
            transform: scale(1);
            opacity: 1;
        }

        .modal-content h4 {
            font-size: 24px;
            margin-bottom: 10px;
            color: var(--black);
        }

        .modal-content p {
            font-size: 16px;
            color: var(--gray-dark);
            margin-bottom: 20px;
        }

        .modal-button {
            padding: 10px 20px;
            background-color: var(--red);
            color: var(--white);
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-size: 14px;
        }

        .user-type-selection {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 15px;
            margin-bottom: 30px;
        }

        .user-type-button {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 20px 10px;
            border: 2px solid #e1e1e1;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            background-color: var(--white);
            color: var(--gray-dark);
        }

        .user-type-button i {
            font-size: 24px;
            margin-bottom: 10px;
        }

        .user-type-button span {
            font-weight: 600;
        }

        .user-type-button:hover {
            border-color: var(--red);
            color: var(--red);
        }

        .user-type-button.selected {
            border-color: var(--red);
            background-color: rgba(237, 21, 29, 0.05);
            color: var(--red);
            box-shadow: 0 0 0 2px rgba(237, 21, 29, 0.1);
        }

        .form-step {
            display: none;
        }

        .form-step.active {
            display: block;
        }

        .button-group {
            display: flex;
            gap: 15px;
        }

        .secondary-button {
            width: auto;
            padding: 15px 25px;
            background-color: #e1e1e1;
            color: var(--gray-dark);
        }

        .secondary-button:hover {
            background-color: #d1d1d1;
            box-shadow: none;
            transform: none;
        }

        /* Responsividade */
        @media (max-width: 900px) {
            .login-card {
                flex-direction: column;
                max-width: 500px;
            }

            .info-panel {
                min-height: 250px;
                border-radius: var(--border-radius) var(--border-radius) 0 0;
            }

            .info-panel::after {
                bottom: -20px;
                width: 150px;
                height: 60px;
                background-size: 50px 50px;
            }

            .info-card {
                padding: 15px;
                width: calc(100% - 30px);
                height: calc(100% - 30px);
                align-items: center;
                text-align: center;
            }

            .info-card h3 {
                font-size: 26px;
            }

            .info-card p {
                font-size: 14px;
                margin-bottom: 15px;
                max-width: 100%;
            }

            .info-card ul {
                max-width: 100%;
                font-size: 13px;
                text-align: center;
            }

            .info-card ul li {
                justify-content: center;
            }
        }

        @media (max-width: 480px) {
            .form-panel {
                padding: 30px 20px;
            }

            .welcome-title {
                font-size: 24px;
            }

            .user-type-selection {
                grid-template-columns: 1fr;
            }
        }

        /* Estilos para o ícone do Modal */
        .modal-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            margin: 0 auto 20px auto;
            position: relative;
            box-sizing: border-box;
            display: none;
            /* O ícone só aparece quando o modal tem a classe 'success' ou 'error' */
        }

        .modal.success .modal-icon,
        .modal.error .modal-icon {
            display: block;
            animation: draw-circle 0.7s ease-in-out forwards;
        }

        /* --- Ícone de Sucesso (Checkmark) --- */
        .modal.success .modal-icon {
            border: 4px solid #4CAF50;
        }

        .modal.success .modal-icon::before,
        .modal.success .modal-icon::after {
            content: '';
            position: absolute;
            background-color: #4CAF50;
            border-radius: 2px;
            opacity: 0;
        }

        .modal.success .modal-icon::before {
            width: 25px;
            height: 5px;
            top: 45px;
            left: 15px;
            transform: rotate(45deg);
            animation: draw-check-short 0.3s ease-out 0.7s forwards;
        }

        .modal.success .modal-icon::after {
            width: 47px;
            height: 5px;
            top: 38px;
            left: 30px;
            transform: rotate(-45deg);
            animation: draw-check-long 0.5s ease-out 0.7s forwards;
        }

        /* --- Ícone de Erro (X) --- */
        .modal.error .modal-icon {
            border: 4px solid var(--red);
        }

        .modal.error .modal-icon::before,
        .modal.error .modal-icon::after {
            content: '';
            position: absolute;
            background-color: var(--red);
            border-radius: 2px;
            top: 36px;
            left: 18px;
            width: 40px;
            height: 5px;
            opacity: 0;
        }

        .modal.error .modal-icon::before {
            transform: rotate(45deg);
            animation: draw-cross 0.4s ease-out 0.7s forwards;
        }

        .modal.error .modal-icon::after {
            transform: rotate(-45deg);
            animation: draw-cross 0.4s ease-out 0.7s forwards;
        }


        /* --- Animações --- */
        @keyframes draw-circle {
            0% {
                transform: scale(0.8);
                opacity: 0;
            }

            100% {
                transform: scale(1);
                opacity: 1;
            }
        }

        @keyframes draw-check-short {
            0% {
                width: 0;
            }

            100% {
                width: 25px;
                opacity: 1;
            }
        }

        @keyframes draw-check-long {
            0% {
                width: 0;
            }

            100% {
                width: 47px;
                opacity: 1;
            }
        }

        @keyframes draw-cross {
            0% {
                transform: scaleX(0);
            }

            100% {
                transform: scaleX(1);
                opacity: 1;
            }
        }
