.installer-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--accent);
    color: var(--accent-950);
    border-radius: 0.5rem;
    font-weight: 600;
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);

    svg {
        width: 1.25rem;
        height: 1.25rem;
    }

    &:hover {
        transform: translateY(-2px);

        &::before {
            left: 100%;
        }
    }

    &:active {
        transform: translateY(0);
    }

    &:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    &--primary {
        background-color: var(--primary);
        color: var(--primary-950);
    }

    &--secondary {
        background-color: var(--secondary);
        color: var(--text);
    }

    &--loading {
        pointer-events: none;

        .installer-button__spinner {
            display: inline-block;
            margin-right: 0.5rem;
            animation: spin 1s linear infinite;
        }
    }

    &__spinner {
        display: none;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-top-color: #fff;
    }
}