/* Mantiene el header original y solo reduce sus margenes laterales. */
.layout-top-nav .main-header.navbar > .container {
    width: calc(100% - 24px);
    max-width: none !important;
}

/* Escritorio: marca a la izquierda, navegacion al centro y sesion a la derecha. */
@media (min-width: 768px) {
    .layout-top-nav .main-header.navbar > .container {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
    }

    .layout-top-nav .main-header.navbar .navbar-brand {
        grid-column: 1;
        justify-self: start;
        margin-right: 0;
    }

    .layout-top-nav .main-header.navbar #navbarCollapse {
        grid-column: 2;
        justify-self: stretch;
        min-width: 0;
    }

    .layout-top-nav .main-header.navbar #navbarCollapse > .navbar-nav {
        width: 100%;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .layout-top-nav .main-header.navbar #navbarCollapse .nav-link {
        white-space: nowrap;
    }

    .layout-top-nav .main-header.navbar .navbar-no-expand {
        grid-column: 3;
        justify-self: end;
        margin-left: 0 !important;
    }
}
.afac-confirmation-message {
    white-space: pre-line;
}

#afacConfirmationModal .modal-content {
    border-radius: 14px;
    overflow: hidden;
}

#afacConfirmationModal .btn {
    border-radius: 999px;
    font-weight: 800;
}
