
.custom-button {
    display: flex;
    margin-bottom: var(--space-2);
}

.custom-button.align-left {
    justify-content: flex-start;
}

.custom-button.align-center,
.custom-button.float-right {
    justify-content: center;
}

.custom-button.align-right {
    justify-content: flex-end;
}

.custom-button-mobile .custom-button .button-link {
    font-size: var(--text-xs);
    padding: var(--space-1) var(--space-2);
}

.custom-button-mobile .custom-button {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

header.panel-header.default .secondary-nav-container {
    align-items: center;
    margin-right: 50px;
}

.panel-header .secondary-nav-container .custom-button .button-link {
    font-size: 15px;
}

@media (min-width: 768px) {
    .custom-button-mobile .custom-button {
        margin: 0;
    }
    
    .custom-button-mobile .custom-button .button-link {
        font-size: var(--text-sm);
        padding: var(--space-3) var(--space-5);
    }
}
@media (min-width: 1024px) {
    header.panel-header.default .secondary-nav-container {
        justify-content: center;
        margin-right: 0;
    }

    header.panel-header.default .secondary-nav-container div {
        margin: 0;
    }

    header.panel-header.default .secondary-nav-container .contentRender_name_plugins_common_header_button {
        margin: auto 0;  
    }

    .panel-header .secondary-nav-container .custom-button .button-link {
        padding: 7px 15px;
        white-space: nowrap;
    }
}
@media (min-width: 1281px) {
    .custom-button.float-right {
        position: absolute;
        top: 0;
        right: -15%;
        max-width: 100px;
        text-align: center;
    }
}

.custom-button .button-link {
    display: inline-block;
    padding: var(--space-3) var(--space-8);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--sw-button-secondary-color);
    text-decoration: none;
    border-radius: var(--rounded-full);
    background-color: var(--sw-button-secondary-bg);
}

.pre-nav-container .custom-button .button-link {
    font-size: var(--text-sm);
    padding: var(--space-1) var(--space-2);
    text-align: center;
    margin-right: var(--space-2);
}

.custom-button .button-link:focus {
    outline: var(--sw-focus-color) solid 1px;
    outline-offset: 2px;
}
