:root {
            --primary-blue: #007bff; /* Azul escuro do cabeçalho */
            --light-blue: #007bff; /* Azul do botão */
            --text-color: #333;
            --light-gray: #f8f9fa;
            --border-gray: #ced4da;
            --white: #fff;
        }

        body {
            font-family: 'Roboto', sans-serif;
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            background-color: var(--light-gray);
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        header {
            background-color: var(--primary-blue);
            color: var(--white);
            padding: 15px 0;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .header-content {
            display: flex;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            width: 90%;
            gap: 20px;
        }

        .header-logo {
            display: flex;
            align-items: center;
        }

        .header-logo img {
            height: 35px; /* Ajuste conforme a imagem real */
            margin-right: 10px;
        }

        .header-logo span {
            font-weight: 500;
            font-size: 1.1em;
            color: var(--white);
        }

        header h1 {
            margin: 0;
            font-size: 1.6em;
            font-weight: 500;
            margin-left: auto; /* Para empurrar "Convênios" para a direita */
        }

        main {
            flex-grow: 1;
            display: flex;
            justify-content: center;
            align-items: flex-start; /* Alinha o conteúdo ao topo */
            padding: 20px 0;
        }

        .container {
            display: flex;
            background-color: var(--white);
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            width: 95%;
            max-width: 1200px;
            min-height: 600px; /* Garante altura mínima */
        }

        .image-section {
            flex: 2; /* Ocupa mais espaço */
            position: relative;
            background-color: #f0f0f0; /* Cor de fundo caso a imagem não carregue */            
        }

        .img_page {
            width: 100%;
            height: 100%; /* A imagem preenche a altura definida pelo .image-section */
            object-fit: cover;
            object-position: center top; /* Mostra a parte de cima da imagem */
        }

        .image-section img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* Garante que a imagem cubra a área */
            display: block;
        }

        .form-section {
            flex: 1; /* Ocupa menos espaço */
            padding: 30px;
            display: flex;
            flex-direction: column;
            gap: 20px;
            background-color: var(--white);
            justify-content: space-between; /* Empurra o rodapé para baixo */
        }

        .form-header {
            text-align: center;
            margin-bottom: 25px;
        }

        .form-header h3 {
            margin: 0;
            font-size: 1.1em;
            color: var(--text-color);
            font-weight: 500;
        }

        .form-header p {
            margin: 5px 0 0;
            font-size: 0.85em;
            line-height: 1.4;
            color: #666;
        }

        .form-group {
            margin-bottom: 15px;
        }

        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-size: 0.9em;
            color: var(--text-color);
            font-weight: 500;
        }

        .form-group select {
            width: 100%;
            padding: 10px 15px;
            border: 1px solid var(--border-gray);
            border-radius: 4px;
            background-color: var(--white);
            font-size: 0.9em;
            appearance: none; /* Remove o estilo padrão de seta do select */
            -webkit-appearance: none;
            -moz-appearance: none;
            background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007bff%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13%205.4L146.2%20220.7%2018.8%2074.8a17.6%2017.6%200%200%00-26.4%2023l130.4%20130.4c6.7%206.7%2017.7%206.7%2024.4%200l130.4-130.4c6.7-6.7%206.7-17.7%200-24.4a17.6%2017.6%200%200%200-23%200z%22%2F%3E%3C%2Fsvg%3E');
            background-repeat: no-repeat;
            background-position: right 10px center;
            background-size: 12px;
            cursor: pointer;
        }

        .form-group select:focus {
            border-color: var(--light-blue);
            outline: none;
            box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
        }

        .or-separator {
            text-align: center;
            margin: 15px 0;
            font-size: 0.85em;
            color: #888;
            position: relative;
        }

        .or-separator::before,
        .or-separator::after {
            content: '';
            position: absolute;
            top: 50%;
            width: 40%;
            height: 1px;
            background-color: var(--border-gray);
        }

        .or-separator::before {
            left: 0;
        }

        .or-separator::after {
            right: 0;
        }

        .search-button {
            width: 100%;
            padding: 12px;
            background-color: var(--light-blue);
            color: var(--white);
            border: none;
            border-radius: 4px;
            font-size: 1em;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .search-button:hover {
            background-color: #0056b3;
        }

        .form-footer {
            text-align: center;
            margin-top: auto; /* Empurra para o final da section */
            padding-top: 20px;
        }

        .form-footer .back-link {
            display: block;
            margin-bottom: 15px;
            color: var(--light-blue);
            text-decoration: none;
            font-size: 0.9em;
            transition: color 0.3s ease;
        }

        .form-footer .back-link:hover {
            color: #0056b3;
        }

        .form-footer img {
            height: 30px; /* Ajuste conforme a imagem real */
        }
        
        /* Media Queries para responsividade básica */
        @media (max-width: 992px) {
            .container {
                flex-direction: column;
                min-height: auto;
            }

            .image-section {
                flex: none;
                height: 300px; /* Altura fixa para a imagem em telas menores */
            }

            .form-section {
                padding: 25px;
            }

            .header-content {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
            header h1 {
                margin-left: 0;
            }
        }

        @media (max-width: 576px) {
            .form-section {
                padding: 20px;
            }
            .header-logo img {
                height: 30px;
            }
            header h1 {
                font-size: 1.4em;
            }
        }

        @media (max-width: 992px) {
    .container {
        flex-direction: column;
        min-height: auto;
    }
    .image-section {
        flex: none;
        height: 300px;
    }
    .form-section {
        padding: 25px;
    }
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    header h1 {
        margin-left: 0; /* Corrige o alinhamento em telas menores */
        text-align: left;
    }
}

@media (max-width: 576px) {
    .form-section {
        padding: 20px;
    }
    .header-logo img {
        height: 30px;
    }
    header h1 {
        font-size: 1.4em;
    }
    /* Exemplo: Ajustar espaçamento do corpo em telas muito pequenas */
    body {
        padding-left: 10px;
        padding-right: 10px;
    }
}
        
        
        