html, body {
    height: 100%;
}

/* Wrapper geral da página da integração */
.agency-page-wrapper {
    height: calc(100vh - 0px);
    margin: 0 !important;
    padding: 0 !important;
}

/* Layout principal: lado esquerdo + lado direito */
.agency-layout {
    display: flex;
    height: 100%; /* ocupa toda a área do wrapper */
    min-height: 100%; /* impede corte */
    border-radius: 0;
    box-shadow: none;
}

/* Painel esquerdo (laranja) */
.agency-left-pane {
    flex: 0 0 50%;
    background-color: var(--agency-left-bg, #cf6a22);
    color: #ffffff;
    display: flex;
    justify-content: center; /* centraliza verticalmente */
    align-items: center; /* centraliza horizontalmente */

    padding: 32px 36px;
}

.agency-left-content {
    max-width: 480px; /* controla a largura do texto */
    width: 100%;
    text-align: center; /* centraliza tudo dentro */
}

.agency-left-header {
    margin-bottom: 32px;
}

.agency-left-title {
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.agency-left-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Logos da integração */
.agency-left-logos {
    margin-top: 16px;
}

.agency-logos-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.9;
    margin-top: 32px;
    margin-bottom: 10px;
    text-align: center;
}

.agency-logos-row {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.agency-logo {
    max-height: 60px;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 8px 14px;
}

.agency-plus {
    font-size: 1.4rem;
    font-weight: 600;
}

/* Painel direito (formulário) */
.agency-right-pane {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.agency-right-inner {
    width: 100%;
    max-width: 560px;
}

.agency-layout,
.agency-container,
.agency-page-wrapper,
.agency-left-pane,
.agency-right-pane {
    margin-bottom: 0 !important;
}

.success-check-icon {
    width: 32px;
    height: 32px;
    background-color: #28a745; 
    color: #fff;
    font-size: 18px;
}

/* Responsivo */
@media (max-width: 992px) {
    .agency-layout {
        flex-direction: column;
    }

    .agency-left-pane {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .agency-left-pane {
        padding: 24px;
    }

    .agency-right-inner {
        padding: 24px;
    }

    .agency-left-title {
        font-size: 1.4rem;
    }
}
